[Python-checkins] cpython (merge 3.2 -> 3.3): Disable posixpath.realpath() tests on Windows (fix for issue #6975).
serhiy.storchaka
python-checkins at python.org
Mon Feb 18 12:36:03 CET 2013
http://hg.python.org/cpython/rev/79ea59b394bf
changeset: 82257:79ea59b394bf
branch: 3.3
parent: 82253:38bb2a46692e
parent: 82256:0bbf7cdea551
user: Serhiy Storchaka <storchaka at gmail.com>
date: Mon Feb 18 13:33:13 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
@@ -340,6 +340,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())
@@ -349,6 +350,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