We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Platform
Bug description Two tests fail when run on my system:
====================================================================== FAIL: psutil.tests.test_linux.TestProcessAgainstStatus.test_cpu_affinity ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/portage/dev-python/psutil-5.6.6/work/psutil-5.6.6-python2_7/lib/psutil/tests/test_linux.py", line 2101, in test_cpu_affinity self.proc.cpu_affinity(), list(range(min_, max_ + 1))) AssertionError: Lists differ: [0, 1] != [0, 1, 2, 3] Second list contains 2 additional elements. First extra element 2: 2 - [0, 1] + [0, 1, 2, 3] ====================================================================== FAIL: psutil.tests.test_process.TestProcess.test_ionice_linux ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/portage/dev-python/psutil-5.6.6/work/psutil-5.6.6-python2_7/lib/psutil/tests/test_process.py", line 358, in test_ionice_linux self.assertEqual(p.ionice()[0], psutil.IOPRIO_CLASS_NONE) AssertionError: 3 != 0 ---------------------------------------------------------------------- Ran 542 tests in 12.857s FAILED (failures=2, skipped=204)
I don't know about the first one but the second one seems to assume tests will always be run with 'none' ionice.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Platform
Bug description
Two tests fail when run on my system:
I don't know about the first one but the second one seems to assume tests will always be run with 'none' ionice.
The text was updated successfully, but these errors were encountered: