From 1548ed6698a09d77418f6e04756ad092ef8cdc4b Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Mon, 18 Feb 2013 13:32:30 +0200 Subject: Disable posixpath.realpath() tests on Windows (fix for issue #6975). --- Lib/test/test_posixpath.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Lib/test/test_posixpath.py b/Lib/test/test_posixpath.py index 80006d9..5d0f5b7 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()))) -- cgit v0.12