fix #4680 - ensure tmpdir and tmp_path are the same

This commit is contained in:
Ronny Pfannschmidt
2019-01-27 13:05:34 +01:00
parent 9905a73ae0
commit f7d7555521
3 changed files with 7 additions and 2 deletions
+4
View File
@@ -337,3 +337,7 @@ def attempt_symlink_to(path, to_path):
Path(path).symlink_to(Path(to_path))
except OSError:
pytest.skip("could not create symbolic link")
def test_tmpdir_equals_tmp_path(tmpdir, tmp_path):
assert Path(tmpdir) == tmp_path