summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/test/test_os.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py
index 9d65277..19457ec 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"])