diff options
author | pxinwr <peixing.xin@windriver.com> | 2020-12-15 21:24:00 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-15 21:24:00 (GMT) |
commit | b230409f21f5e5b42de6ec10147cd95ae3bdd095 (patch) | |
tree | 433184f5ecac220607f796f4a34317b9fd19013f /Lib/test/test_posixpath.py | |
parent | 9a0dea6137a9fe295c8b03aaa08a74c8572ecc4e (diff) | |
download | cpython-b230409f21f5e5b42de6ec10147cd95ae3bdd095.zip cpython-b230409f21f5e5b42de6ec10147cd95ae3bdd095.tar.gz cpython-b230409f21f5e5b42de6ec10147cd95ae3bdd095.tar.bz2 |
bpo-31904: Skip os.path.expanduser() tests on VxWorks (GH-23776)
Diffstat (limited to 'Lib/test/test_posixpath.py')
-rw-r--r-- | Lib/test/test_posixpath.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_posixpath.py b/Lib/test/test_posixpath.py index 42fd8ef..e18d01f 100644 --- a/Lib/test/test_posixpath.py +++ b/Lib/test/test_posixpath.py @@ -1,5 +1,6 @@ import os import posixpath +import sys import unittest from posixpath import realpath, abspath, dirname, basename from test import test_genericpath @@ -262,6 +263,8 @@ class PosixPathTest(unittest.TestCase): self.assertEqual(posixpath.expanduser("~/"), "/") self.assertEqual(posixpath.expanduser("~/foo"), "/foo") + @unittest.skipIf(sys.platform == "vxworks", + "no home directory on VxWorks") def test_expanduser_pwd(self): pwd = import_helper.import_module('pwd') |