diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2013-05-28 03:52:43 (GMT) |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2013-05-28 03:52:43 (GMT) |
commit | b501b565c6b5eaf5db9a6edf0258ac8b6ba9a532 (patch) | |
tree | a9b17648c31f3ddb7741d1d71ff7f10b25711f0e /Lib/test/test_os.py | |
parent | 3a09286790c58522195eadc3eaa4a21e8da89ea1 (diff) | |
download | cpython-b501b565c6b5eaf5db9a6edf0258ac8b6ba9a532.zip cpython-b501b565c6b5eaf5db9a6edf0258ac8b6ba9a532.tar.gz cpython-b501b565c6b5eaf5db9a6edf0258ac8b6ba9a532.tar.bz2 |
Use simple call to os.symlink for broken link (intended for previous commit)
Diffstat (limited to 'Lib/test/test_os.py')
-rw-r--r-- | Lib/test/test_os.py | 2 |
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"]) |