diff options
| author | Giampaolo Rodola <g.rodola@gmail.com> | 2019-04-05 12:43:23 +0200 |
|---|---|---|
| committer | Giampaolo Rodola <g.rodola@gmail.com> | 2019-04-05 12:43:23 +0200 |
| commit | e12bec15829441ced304102d66f3b0db0fb17c72 (patch) | |
| tree | 5bb45203672b77694f83950a9a778dbf1a81dc13 /psutil/tests | |
| parent | 511ddb9142df4ada9a3fce6de5c05bd99fac0393 (diff) | |
| download | psutil-e12bec15829441ced304102d66f3b0db0fb17c72.tar.gz | |
remove outdated tests
Diffstat (limited to 'psutil/tests')
| -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 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) |
