bpo-31904: Skip os.path.expanduser() tests on VxWorks (GH-23776)
diff --git a/Lib/test/test_pathlib.py b/Lib/test/test_pathlib.py
index 7f7f72c..9be7294 100644
--- a/Lib/test/test_pathlib.py
+++ b/Lib/test/test_pathlib.py
@@ -2467,6 +2467,8 @@ def test_rglob(self):
@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')