[Python-checkins] cpython (3.4): Backed out changeset 19a3e0e664af

serhiy.storchaka python-checkins at python.org
Tue Mar 8 14:17:34 EST 2016


https://hg.python.org/cpython/rev/5ceaf06bbf13
changeset: 100463:5ceaf06bbf13
branch: 3.4
parent: 100454:19a3e0e664af
user: Serhiy Storchaka <storchaka at gmail.com>
date: Tue Mar 08 21:13:35 2016 +0200
summary:
 Backed out changeset 19a3e0e664af
files:
 Lib/test/test_os.py | 6 +-----
 1 files changed, 1 insertions(+), 5 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
@@ -770,11 +770,7 @@
 if support.can_symlink():
 os.symlink(os.path.abspath(t2_path), self.link_path)
 os.symlink('broken', broken_link_path, True)
- if os.path.isdir(broken_link_path):
- # On Windows a symlink can has the FILE_ATTRIBUTE_DIRECTORY flag.
- self.sub2_tree = (sub2_path, ["broken_link", "link"], ["tmp3"])
- else:
- self.sub2_tree = (sub2_path, ["link"], ["broken_link", "tmp3"])
+ self.sub2_tree = (sub2_path, ["link"], ["broken_link", "tmp3"])
 else:
 self.sub2_tree = (sub2_path, [], ["tmp3"])
 
-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /