From: Serhiy Storchaka Date: Mon, 18 Feb 2013 11:32:30 +0000 (+0200) Subject: Disable posixpath.realpath() tests on Windows (fix for issue #6975). X-Git-Tag: v3.2.4rc1~95 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1548ed6698a09d77418f6e04756ad092ef8cdc4b;p=thirdparty%2FPython%2Fcpython.git Disable posixpath.realpath() tests on Windows (fix for issue #6975). --- diff --git a/Lib/test/test_posixpath.py b/Lib/test/test_posixpath.py index 80006d96f4dd..5d0f5b74e2ed 100644 --- a/Lib/test/test_posixpath.py +++ b/Lib/test/test_posixpath.py @@ -338,6 +338,7 @@ class PosixPathTest(unittest.TestCase): 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()) @@ -347,6 +348,7 @@ class PosixPathTest(unittest.TestCase): 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())))