mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +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
|
@ -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')
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue