From b501b565c6b5eaf5db9a6edf0258ac8b6ba9a532 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Mon, 27 May 2013 23:52:43 -0400 Subject: [PATCH] Use simple call to os.symlink for broken link (intended for previous commit) --- Lib/test/test_os.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py index 9d65277312..19457ec1db 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"]) -- 2.40.0