TestNumberedDir: ignore that symlinks arent created on windows
This commit is contained in:
parent
8dca8f3c9f
commit
56dd7bc551
|
@ -197,8 +197,10 @@ class TestNumberedDir(object):
|
||||||
assert d.name.endswith(str(i))
|
assert d.name.endswith(str(i))
|
||||||
|
|
||||||
symlink = tmp_path.joinpath(self.PREFIX + "current")
|
symlink = tmp_path.joinpath(self.PREFIX + "current")
|
||||||
assert symlink.is_symlink()
|
if symlink.exists():
|
||||||
assert symlink.resolve() == d.resolve()
|
# unix
|
||||||
|
assert symlink.is_symlink()
|
||||||
|
assert symlink.resolve() == d.resolve()
|
||||||
|
|
||||||
def test_cleanup_lock_create(self, tmp_path):
|
def test_cleanup_lock_create(self, tmp_path):
|
||||||
d = tmp_path.joinpath("test")
|
d = tmp_path.joinpath("test")
|
||||||
|
|
Loading…
Reference in New Issue