Skip to content
New issue

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

FreeBSD erroneous Process.cpu_num() #1069

Closed
giampaolo opened this issue May 14, 2017 · 0 comments
Closed

FreeBSD erroneous Process.cpu_num() #1069

giampaolo opened this issue May 14, 2017 · 0 comments

Comments

@giampaolo
Copy link
Owner

======================================================================
FAIL: psutil.tests.test_contracts.TestFetchAllProcesses.test_fetch_all
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/vagrant/psutil/psutil/tests/test_contracts.py", line 340, in test_fetch_all
    meth(ret, p)
  File "/vagrant/psutil/psutil/tests/test_contracts.py", line 474, in cpu_num
    self.assertIn(ret, list(range(psutil.cpu_count())))
AssertionError: 255 not found in [0, 1]

This happens for [intr] process (with PID 12).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant