mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Use simple call to os.symlink for broken link (intended for previous commit)
This commit is contained in:
parent
3a09286790
commit
b501b565c6
1 changed files with 1 additions and 1 deletions
|
@ -687,7 +687,7 @@ class WalkTests(unittest.TestCase):
|
|||
f.close()
|
||||
if support.can_symlink():
|
||||
os.symlink(os.path.abspath(t2_path), link_path)
|
||||
symlink_to_dir('broken', broken_link_path, True)
|
||||
os.symlink('broken', broken_link_path, True)
|
||||
sub2_tree = (sub2_path, ["link"], ["broken_link", "tmp3"])
|
||||
else:
|
||||
sub2_tree = (sub2_path, [], ["tmp3"])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue