diff options
author | Giampaolo Rodola <g.rodola@gmail.com> | 2018-04-12 10:51:44 +0200 |
---|---|---|
committer | Giampaolo Rodola <g.rodola@gmail.com> | 2018-04-12 10:51:44 +0200 |
commit | b2bbd272f6b183ddc7c119d39ed5c969b399239f (patch) | |
tree | 79445ec367ac81df5902e8ea05d877fa69ef4678 | |
parent | 8a5ad9adaa758598156d1a0c701969dfd3814d36 (diff) | |
download | psutil-b2bbd272f6b183ddc7c119d39ed5c969b399239f.tar.gz |
remove incorrect test assumption that proc cpu percent on windows is supposed to be <= 100, see https://ci.appveyor.com/project/giampaolo/psutil/build/1477/job/w1e0u92xrgg91ye3
-rwxr-xr-x | psutil/tests/test_process.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/psutil/tests/test_process.py b/psutil/tests/test_process.py index 3411114a..6f58be6d 100755 --- a/psutil/tests/test_process.py +++ b/psutil/tests/test_process.py @@ -238,10 +238,6 @@ class TestProcess(unittest.TestCase): percent = p.cpu_percent(interval=None) self.assertIsInstance(percent, float) self.assertGreaterEqual(percent, 0.0) - if not POSIX: - self.assertLessEqual(percent, 100.0) - else: - self.assertGreaterEqual(percent, 0.0) with self.assertRaises(ValueError): p.cpu_percent(interval=-1) |