Use simple call to os.symlink for broken link (intended for previous commit)

This commit is contained in:
Jason R. Coombs 2013-05-27 23:52:43 -04:00
parent 3a09286790
commit b501b565c6

View file

@ -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"])