diff options
Diffstat (limited to 'psutil/tests/test_unicode.py')
| -rw-r--r-- | psutil/tests/test_unicode.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/psutil/tests/test_unicode.py b/psutil/tests/test_unicode.py index eecd7dc4..9e459fbe 100644 --- a/psutil/tests/test_unicode.py +++ b/psutil/tests/test_unicode.py @@ -61,6 +61,7 @@ from psutil import BSD from psutil import MACOS from psutil import OPENBSD from psutil import POSIX +from psutil import WINDOWS from psutil._compat import PY3 from psutil._compat import u from psutil.tests import APPVEYOR @@ -194,6 +195,7 @@ class _BaseFSAPIsTests(object): if self.expect_exact_path_match(): self.assertEqual(cwd, dname) + @unittest.skipIf(PYPY and WINDOWS, "fails on PYPY + WINDOWS") def test_proc_open_files(self): p = psutil.Process() start = set(p.open_files()) @@ -261,6 +263,8 @@ class _BaseFSAPIsTests(object): @unittest.skipIf(not HAS_MEMORY_MAPS, "not supported") @unittest.skipIf(not PY3, "ctypes does not support unicode on PY2") + @unittest.skipIf(PYPY and WINDOWS, + "copyload_shared_lib() unsupported on PYPY + WINDOWS") def test_memory_maps(self): # XXX: on Python 2, using ctypes.CDLL with a unicode path # opens a message box which blocks the test run. @@ -323,6 +327,7 @@ class TestNonFSAPIS(unittest.TestCase): reap_children() @unittest.skipIf(not HAS_ENVIRON, "not supported") + @unittest.skipIf(PYPY and WINDOWS, "segfaults on PYPY + WINDOWS") def test_proc_environ(self): # Note: differently from others, this test does not deal # with fs paths. On Python 2 subprocess module is broken as |
