diff options
author | Giampaolo Rodola <g.rodola@gmail.com> | 2020-02-11 11:58:28 -0800 |
---|---|---|
committer | Giampaolo Rodola <g.rodola@gmail.com> | 2020-02-11 11:58:28 -0800 |
commit | bff08ec2f7c5d2b76b97434c9e6b7cee7c18a837 (patch) | |
tree | 5b8d4ae6dd1af9f7cdb112d51b756bbe4c0f1233 | |
parent | 2daa33cdcdee0d9ab78c0a4940453b350e863bf0 (diff) | |
download | psutil-bff08ec2f7c5d2b76b97434c9e6b7cee7c18a837.tar.gz |
skip some tests for PYPY
-rw-r--r-- | psutil/tests/test_unicode.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/psutil/tests/test_unicode.py b/psutil/tests/test_unicode.py index eecd7dc4..1a32b465 100644 --- a/psutil/tests/test_unicode.py +++ b/psutil/tests/test_unicode.py @@ -194,6 +194,8 @@ class _BaseFSAPIsTests(object): if self.expect_exact_path_match(): self.assertEqual(cwd, dname) + # For some reason on PyPy we get an empty list (PYPY bug) + @unittest.skipIf(PYPY, "unsupported on PYPY") def test_proc_open_files(self): p = psutil.Process() start = set(p.open_files()) @@ -261,6 +263,7 @@ 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, "copyload_shared_lib() unsupported on PYPY") 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. |