[Python-checkins] cpython (merge 3.3 -> default): Disable posixpath.realpath() tests on Windows (fix for issue #6975).
serhiy.storchaka
python-checkins at python.org
Mon Feb 18 12:36:05 CET 2013
http://hg.python.org/cpython/rev/aa77f7eb2bf1
changeset: 82258:aa77f7eb2bf1
parent: 82254:61993bb9ab0e
parent: 82257:79ea59b394bf
user: Serhiy Storchaka <storchaka at gmail.com>
date: Mon Feb 18 13:33:37 2013 +0200
summary:
Disable posixpath.realpath() tests on Windows (fix for issue #6975).
files:
Lib/test/test_posixpath.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/Lib/test/test_posixpath.py b/Lib/test/test_posixpath.py
--- a/Lib/test/test_posixpath.py
+++ b/Lib/test/test_posixpath.py
@@ -283,6 +283,7 @@
self.assertEqual(posixpath.normpath(b"///..//./foo/.//bar"),
b"/foo/bar")
+ @skip_if_ABSTFN_contains_backslash
def test_realpath_curdir(self):
self.assertEqual(realpath('.'), os.getcwd())
self.assertEqual(realpath('./.'), os.getcwd())
@@ -292,6 +293,7 @@
self.assertEqual(realpath(b'./.'), os.getcwdb())
self.assertEqual(realpath(b'/'.join([b'.'] * 100)), os.getcwdb())
+ @skip_if_ABSTFN_contains_backslash
def test_realpath_pardir(self):
self.assertEqual(realpath('..'), dirname(os.getcwd()))
self.assertEqual(realpath('../..'), dirname(dirname(os.getcwd())))
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list