]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Use simple call to os.symlink for broken link (intended for previous commit)
authorJason R. Coombs <jaraco@jaraco.com>
Tue, 28 May 2013 03:52:43 +0000 (23:52 -0400)
committerJason R. Coombs <jaraco@jaraco.com>
Tue, 28 May 2013 03:52:43 +0000 (23:52 -0400)
Lib/test/test_os.py

index 9d65277312f41c0eb0177b1c8c4dd3065411dc17..19457ec1dbea7c2d527b0abb2a9591bb9d109f0d 100644 (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"])