diff options
author | Giampaolo Rodola <g.rodola@gmail.com> | 2019-04-05 16:26:07 +0200 |
---|---|---|
committer | Giampaolo Rodola <g.rodola@gmail.com> | 2019-04-05 16:26:07 +0200 |
commit | 3f67688df6c47eec3427c001ef1f11b14e6fcaf2 (patch) | |
tree | 3bbad542cac7d1d6b2aca71084f0aa6b5addce08 /psutil/tests/test_process.py | |
parent | 275df44b5798ddf09485d7ad503a212636ddf340 (diff) | |
download | psutil-fix-tests.tar.gz |
fix linux testsfix-tests
Diffstat (limited to 'psutil/tests/test_process.py')
-rwxr-xr-x | psutil/tests/test_process.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/psutil/tests/test_process.py b/psutil/tests/test_process.py index 25c70a25..a4b738ee 100755 --- a/psutil/tests/test_process.py +++ b/psutil/tests/test_process.py @@ -382,10 +382,10 @@ class TestProcess(unittest.TestCase): p.ionice(psutil.IOPRIO_CLASS_IDLE, value=8) # errs self.assertRaisesRegex( - ValueError, "can't specify value with IOPRIO_CLASS_NONE", + ValueError, "ioclass accepts no value", p.ionice, psutil.IOPRIO_CLASS_NONE, 1) self.assertRaisesRegex( - ValueError, "can't specify value with IOPRIO_CLASS_IDLE", + ValueError, "ioclass accepts no value", p.ionice, psutil.IOPRIO_CLASS_IDLE, 1) self.assertRaisesRegex( ValueError, "'ioclass' argument must be specified", |