From 5f1d69207260297738ff4dd96687fe049d2963a3 Mon Sep 17 00:00:00 2001 From: Ronny Pfannschmidt Date: Thu, 22 Nov 2018 16:10:12 +0100 Subject: [PATCH] use Path.resolve in test to sort out osx temporary folder being a symlink --- testing/test_tmpdir.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/test_tmpdir.py b/testing/test_tmpdir.py index fddece2cf..6040d9444 100644 --- a/testing/test_tmpdir.py +++ b/testing/test_tmpdir.py @@ -65,7 +65,7 @@ class TestTempdirHandler(object): 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):