summaryrefslogtreecommitdiff
path: root/psutil/tests
diff options
context:
space:
mode:
authorGiampaolo Rodola <g.rodola@gmail.com>2019-04-05 12:43:23 +0200
committerGiampaolo Rodola <g.rodola@gmail.com>2019-04-05 12:43:23 +0200
commite12bec15829441ced304102d66f3b0db0fb17c72 (patch)
tree5bb45203672b77694f83950a9a778dbf1a81dc13 /psutil/tests
parent511ddb9142df4ada9a3fce6de5c05bd99fac0393 (diff)
downloadpsutil-e12bec15829441ced304102d66f3b0db0fb17c72.tar.gz
remove outdated tests
Diffstat (limited to 'psutil/tests')
-rwxr-xr-xpsutil/tests/test_process.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/psutil/tests/test_process.py b/psutil/tests/test_process.py
index 753bf612..25c70a25 100755
--- a/psutil/tests/test_process.py
+++ b/psutil/tests/test_process.py
@@ -381,10 +381,6 @@ class TestProcess(unittest.TestCase):
with self.assertRaises(ValueError):
p.ionice(psutil.IOPRIO_CLASS_IDLE, value=8)
# errs
- self.assertRaises(ValueError, p.ionice, 2, 10)
- self.assertRaises(ValueError, p.ionice, 2, -1)
- self.assertRaises(ValueError, p.ionice, 4)
- self.assertRaises(TypeError, p.ionice, 2, "foo")
self.assertRaisesRegex(
ValueError, "can't specify value with IOPRIO_CLASS_NONE",
p.ionice, psutil.IOPRIO_CLASS_NONE, 1)