Commit cc157516 authored by Antoine Pitrou's avatar Antoine Pitrou

Issue #19877: fix regression in test_pathlib when Windows has symlink support...

Issue #19877: fix regression in test_pathlib when Windows has symlink support available (i.e. in administrator mode).
Patch by Vajrasky Kok.
parent 85a2be7d
......@@ -1275,8 +1275,8 @@ class _BasePathTest(object):
# See https://bitbucket.org/pitrou/pathlib/issue/9/pathresolve-fails-on-complex-symlinks
p = self.cls(BASE)
self.dirlink('.', join('0'))
self.dirlink('0/0', join('1'))
self.dirlink('1/1', join('2'))
self.dirlink(os.path.join('0', '0'), join('1'))
self.dirlink(os.path.join('1', '1'), join('2'))
q = p / '2'
self.assertEqual(q.resolve(), p)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment