summaryrefslogtreecommitdiff
path: root/psutil/tests/test_process.py
diff options
context:
space:
mode:
authorGiampaolo Rodola <g.rodola@gmail.com>2019-04-05 16:26:07 +0200
committerGiampaolo Rodola <g.rodola@gmail.com>2019-04-05 16:26:07 +0200
commit3f67688df6c47eec3427c001ef1f11b14e6fcaf2 (patch)
tree3bbad542cac7d1d6b2aca71084f0aa6b5addce08 /psutil/tests/test_process.py
parent275df44b5798ddf09485d7ad503a212636ddf340 (diff)
downloadpsutil-fix-tests.tar.gz
fix linux testsfix-tests
Diffstat (limited to 'psutil/tests/test_process.py')
-rwxr-xr-xpsutil/tests/test_process.py4
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",