Skip to content

Commit

Permalink
use Path.resolve in test to sort out osx temporary folder being a sym…
Browse files Browse the repository at this point in the history
…link
  • Loading branch information
RonnyPfannschmidt committed Nov 22, 2018
1 parent f1fe9e4 commit 5f1d692
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testing/test_tmpdir.py
Expand Up @@ -65,7 +65,7 @@ def test_tmppath_relative_basetemp_absolute(self, tmp_path, monkeypatch):
monkeypatch.chdir(tmp_path)
config = FakeConfig("hello")
t = TempPathFactory.from_config(config)
assert t.getbasetemp() == (tmp_path / "hello")
assert t.getbasetemp().resolve() == (tmp_path / "hello").resolve()


class TestConfigTmpdir(object):
Expand Down

0 comments on commit 5f1d692

Please sign in to comment.