mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Backed out changeset 19a3e0e664af
This commit is contained in:
parent
388b90f28e
commit
adca8464b1
1 changed files with 1 additions and 5 deletions
|
@ -770,11 +770,7 @@ 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):
|
self.sub2_tree = (sub2_path, ["link"], ["broken_link", "tmp3"])
|
||||||
# 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"])
|
|
||||||
else:
|
else:
|
||||||
self.sub2_tree = (sub2_path, [], ["tmp3"])
|
self.sub2_tree = (sub2_path, [], ["tmp3"])
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue