diff options
author | Giampaolo Rodola <g.rodola@gmail.com> | 2017-10-06 16:31:00 +0200 |
---|---|---|
committer | Giampaolo Rodola <g.rodola@gmail.com> | 2017-10-06 16:31:00 +0200 |
commit | ad4b22f51b064c4dcc07f3f3c019a46c63e35119 (patch) | |
tree | c7d2d1d9cc1bfc7e9be5d27f0ed1d15ad3cc84b5 | |
parent | 5e33068e2a515efe5a434a7771b316b61519cc2d (diff) | |
download | psutil-ad4b22f51b064c4dcc07f3f3c019a46c63e35119.tar.gz |
investigat travis failure
-rwxr-xr-x | psutil/tests/test_process.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/psutil/tests/test_process.py b/psutil/tests/test_process.py index 86c7760a..9f9ff17b 100755 --- a/psutil/tests/test_process.py +++ b/psutil/tests/test_process.py @@ -872,7 +872,8 @@ class TestProcess(unittest.TestCase): # XXX print("cpu_count = %s" % psutil.cpu_count()) print("all_cpus = %s" % all_cpus) - for n in all_cpus: + print("initial affinity = %s" % initial) + for n in all_cpus if not TRAVIS else initial: print(n) if hasattr(os, "sched_setaffinity"): os.sched_setaffinity(os.getpid(), [n]) |