You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
844 B
27 lines
844 B
9 months ago
|
From 3955dee39eff8058f355a79a0000ba0e0ee4974d Mon Sep 17 00:00:00 2001
|
||
|
From: tigro <tigro@msvsphere-os.ru>
|
||
|
Date: Mon, 27 May 2024 17:45:27 +0300
|
||
|
Subject: [PATCH] Skip ionice test
|
||
|
|
||
|
---
|
||
|
psutil/tests/test_process.py | 3 +--
|
||
|
1 file changed, 1 insertion(+), 2 deletions(-)
|
||
|
|
||
|
diff --git a/psutil/tests/test_process.py b/psutil/tests/test_process.py
|
||
|
index 0ec2ead..c590674 100755
|
||
|
--- a/psutil/tests/test_process.py
|
||
|
+++ b/psutil/tests/test_process.py
|
||
|
@@ -342,8 +342,7 @@ class TestProcess(PsutilTestCase):
|
||
|
self.assertGreaterEqual(io2[i], 0)
|
||
|
self.assertGreaterEqual(io2[i], 0)
|
||
|
|
||
|
- @unittest.skipIf(not HAS_IONICE, "not supported")
|
||
|
- @unittest.skipIf(not LINUX, "linux only")
|
||
|
+ @unittest.skip("Skip ionice tests")
|
||
|
def test_ionice_linux(self):
|
||
|
p = psutil.Process()
|
||
|
if not CI_TESTING:
|
||
|
--
|
||
|
2.45.1
|
||
|
|