[Python-checkins] cpython (3.3): Use simple call to os.symlink for broken link (intended for previous commit)

jason.coombs python-checkins at python.org
Tue May 28 05:53:15 CEST 2013


http://hg.python.org/cpython/rev/8cebe8d537a4
changeset:   83945:8cebe8d537a4
branch:      3.3
parent:      83943:29a2557d693e
user:        Jason R. Coombs <jaraco at jaraco.com>
date:        Mon May 27 23:52:43 2013 -0400
summary:
  Use simple call to os.symlink for broken link (intended for previous commit)

files:
  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
--- a/Lib/test/test_os.py
+++ b/Lib/test/test_os.py
@@ -687,7 +687,7 @@
             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"])

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list