use Path.resolve in test to sort out osx temporary folder being a symlink
This commit is contained in:
parent
f1fe9e41ac
commit
5f1d692072
|
@ -65,7 +65,7 @@ class TestTempdirHandler(object):
|
||||||
monkeypatch.chdir(tmp_path)
|
monkeypatch.chdir(tmp_path)
|
||||||
config = FakeConfig("hello")
|
config = FakeConfig("hello")
|
||||||
t = TempPathFactory.from_config(config)
|
t = TempPathFactory.from_config(config)
|
||||||
assert t.getbasetemp() == (tmp_path / "hello")
|
assert t.getbasetemp().resolve() == (tmp_path / "hello").resolve()
|
||||||
|
|
||||||
|
|
||||||
class TestConfigTmpdir(object):
|
class TestConfigTmpdir(object):
|
||||||
|
|
Loading…
Reference in New Issue