From: Jason R. Coombs Date: Tue, 28 May 2013 03:52:43 +0000 (-0400) Subject: Use simple call to os.symlink for broken link (intended for previous commit) X-Git-Tag: v3.4.0a1~624^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b501b565c6b5eaf5db9a6edf0258ac8b6ba9a532;p=thirdparty%2FPython%2Fcpython.git Use simple call to os.symlink for broken link (intended for previous commit) --- diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py index 9d65277312f4..19457ec1dbea 100644 --- a/Lib/test/test_os.py +++ b/Lib/test/test_os.py @@ -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"])