summaryrefslogtreecommitdiff
path: root/psutil/tests/test_process.py
diff options
context:
space:
mode:
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",