Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b501b56

Browse files
committed
Use simple call to os.symlink for broken link (intended for previous commit)
1 parent 3a09286 commit b501b56

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/test/test_os.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -687,7 +687,7 @@ def setUp(self):
687687
f.close()
688688
if support.can_symlink():
689689
os.symlink(os.path.abspath(t2_path), link_path)
690-
symlink_to_dir('broken', broken_link_path, True)
690+
os.symlink('broken', broken_link_path, True)
691691
sub2_tree = (sub2_path, ["link"], ["broken_link", "tmp3"])
692692
else:
693693
sub2_tree = (sub2_path, [], ["tmp3"])

0 commit comments

Comments
 (0)