diff options
| author | Giampaolo Rodola <g.rodola@gmail.com> | 2020-02-16 03:39:56 +0100 |
|---|---|---|
| committer | Giampaolo Rodola <g.rodola@gmail.com> | 2020-02-16 03:39:56 +0100 |
| commit | 6547e9bbbbe3cdaa0e12e43a6a311fa7195c4139 (patch) | |
| tree | d59dcfe6c3a282a5f21d0a3946a8da5a3b93c834 | |
| parent | 517208dcefd9c526576b13a06fb24c451a55d079 (diff) | |
| download | psutil-6547e9bbbbe3cdaa0e12e43a6a311fa7195c4139.tar.gz | |
skip more tests
| -rw-r--r-- | psutil/tests/__init__.py | 2 | ||||
| -rwxr-xr-x | psutil/tests/test_unicode.py | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/psutil/tests/__init__.py b/psutil/tests/__init__.py index b810156a..01dbbdae 100644 --- a/psutil/tests/__init__.py +++ b/psutil/tests/__init__.py @@ -813,7 +813,7 @@ def unittest_serial_run(klass): """A decorator to mark a TestCase class. When running parallel tests, class' unit tests will be run serially (1 process). """ - assert issubclass(klass, unittest.TestCase), klass + # assert issubclass(klass, unittest.TestCase), klass klass._unittest_serial_run = True return klass diff --git a/psutil/tests/test_unicode.py b/psutil/tests/test_unicode.py index e2ac70d4..9d4a9f0f 100755 --- a/psutil/tests/test_unicode.py +++ b/psutil/tests/test_unicode.py @@ -107,6 +107,7 @@ from psutil.tests import TESTFN_UNICODE from psutil.tests import TRAVIS from psutil.tests import unittest from psutil.tests import unix_socket_path +from psutil.tests import unittest_serial_run import psutil @@ -161,6 +162,7 @@ else: # =================================================================== +@unittest_serial_run class _BaseFSAPIsTests(object): funky_name = None |
