diff options
author | Giampaolo Rodola <g.rodola@gmail.com> | 2017-10-06 16:15:08 +0200 |
---|---|---|
committer | Giampaolo Rodola <g.rodola@gmail.com> | 2017-10-06 16:15:08 +0200 |
commit | 5e33068e2a515efe5a434a7771b316b61519cc2d (patch) | |
tree | dddd3053bd2f617606ed7323ccac01a7784daebf | |
parent | 241109c51a02709612ba275e410532ac06ea3b65 (diff) | |
download | psutil-5e33068e2a515efe5a434a7771b316b61519cc2d.tar.gz |
investigat travis failure
-rwxr-xr-x | psutil/tests/test_process.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/psutil/tests/test_process.py b/psutil/tests/test_process.py index bf0ca6ec..86c7760a 100755 --- a/psutil/tests/test_process.py +++ b/psutil/tests/test_process.py @@ -869,8 +869,11 @@ class TestProcess(unittest.TestCase): # setting on travis doesn't seem to work (always return all # CPUs on get): # AssertionError: Lists differ: [0, 1, 2, 3, 4, 5, 6, ... != [0] + # XXX + print("cpu_count = %s" % psutil.cpu_count()) + print("all_cpus = %s" % all_cpus) for n in all_cpus: - # XXX + print(n) if hasattr(os, "sched_setaffinity"): os.sched_setaffinity(os.getpid(), [n]) try: |