Commit adca8464 authored by Serhiy Storchaka's avatar Serhiy Storchaka

Backed out changeset 19a3e0e664af

parent 388b90f2
...@@ -770,10 +770,6 @@ class WalkTests(unittest.TestCase): ...@@ -770,10 +770,6 @@ class WalkTests(unittest.TestCase):
if support.can_symlink(): if support.can_symlink():
os.symlink(os.path.abspath(t2_path), self.link_path) os.symlink(os.path.abspath(t2_path), self.link_path)
os.symlink('broken', broken_link_path, True) os.symlink('broken', broken_link_path, True)
if os.path.isdir(broken_link_path):
# On Windows a symlink can has the FILE_ATTRIBUTE_DIRECTORY flag.
self.sub2_tree = (sub2_path, ["broken_link", "link"], ["tmp3"])
else:
self.sub2_tree = (sub2_path, ["link"], ["broken_link", "tmp3"]) self.sub2_tree = (sub2_path, ["link"], ["broken_link", "tmp3"])
else: else:
self.sub2_tree = (sub2_path, [], ["tmp3"]) self.sub2_tree = (sub2_path, [], ["tmp3"])
......
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