diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2013-02-18 11:33:37 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2013-02-18 11:33:37 (GMT) |
commit | 789ee0f31f2f7868d5ce7d2dce470932e37b1683 (patch) | |
tree | e631a0ecf92426587486cd89d71830c2aa0301d7 /Lib/test/test_posixpath.py | |
parent | 2cca36ed3c5b190cd40fdab1cb6af04967e2cace (diff) | |
parent | 41d4ebbf43f78d390d33420bbbbfd0cb78be4e76 (diff) | |
download | cpython-789ee0f31f2f7868d5ce7d2dce470932e37b1683.zip cpython-789ee0f31f2f7868d5ce7d2dce470932e37b1683.tar.gz cpython-789ee0f31f2f7868d5ce7d2dce470932e37b1683.tar.bz2 |
Disable posixpath.realpath() tests on Windows (fix for issue #6975).
Diffstat (limited to 'Lib/test/test_posixpath.py')
-rw-r--r-- | 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 index ed56c51..2e67396 100644 --- a/Lib/test/test_posixpath.py +++ b/Lib/test/test_posixpath.py @@ -283,6 +283,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()) @@ -292,6 +293,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()))) |