Skip to content

Commit 08ae1d3

Browse files
committed
fix issue where os.path.realpath resolves hardlink (occurs on OSX)
1 parent 4b39272 commit 08ae1d3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/conftest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import importlib
22
import json
3+
import os
34
import random
45
import tempfile
56
import warnings
@@ -60,7 +61,7 @@ def tmp_cache(monkeypatch):
6061
monkeypatch.setenv("MARBLE_CACHE_DIR", tmp_dir)
6162
importlib.reload(marble_client.constants)
6263
importlib.reload(marble_client.client)
63-
yield tmp_dir
64+
yield os.path.realpath(tmp_dir)
6465

6566

6667
@pytest.fixture

0 commit comments

Comments
 (0)