mirror of
https://github.com/python/cpython.git
synced 2025-08-31 22:18:28 +00:00
bpo-31904: Skip os.path.expanduser() tests on VxWorks (GH-23776)
This commit is contained in:
parent
9a0dea6137
commit
b230409f21
2 changed files with 5 additions and 0 deletions
|
@ -2467,6 +2467,8 @@ class PosixPathTest(_BasePathTest, unittest.TestCase):
|
|||
|
||||
@unittest.skipUnless(hasattr(pwd, 'getpwall'),
|
||||
'pwd module does not expose getpwall()')
|
||||
@unittest.skipIf(sys.platform == "vxworks",
|
||||
"no home directory on VxWorks")
|
||||
def test_expanduser(self):
|
||||
P = self.cls
|
||||
import_helper.import_module('pwd')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue