-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update python-psutil to version 5.9.0 / rev 64 via SR 950795
https://build.opensuse.org/request/show/950795 by user mcepl + dimstar_suse - Fix name of Patch4, it is skip-partitions-erros.patch - Add skip-partitions-erros.patch skipping tests failing on Linux (gh#giampaolo/psutil#2043).
- Loading branch information
1 parent
9d9c6b0
commit 8063c42
Showing
7 changed files
with
75 additions
and
12 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
--- | ||
psutil/tests/test_linux.py | 2 ++ | ||
psutil/tests/test_misc.py | 1 + | ||
2 files changed, 3 insertions(+) | ||
|
||
--- a/psutil/tests/test_linux.py | ||
+++ b/psutil/tests/test_linux.py | ||
@@ -1288,6 +1288,7 @@ class TestRootFsDeviceFinder(PsutilTestC | ||
self.assertRaises(FileNotFoundError, finder.ask_sys_dev_block) | ||
finder.ask_sys_class_block() | ||
|
||
+ @unittest.skip("Test doesn't work on Linux.") | ||
@unittest.skipIf(GITHUB_ACTIONS, "unsupported on GITHUB_ACTIONS") | ||
def test_comparisons(self): | ||
finder = RootFsDeviceFinder() | ||
@@ -1316,6 +1317,7 @@ class TestRootFsDeviceFinder(PsutilTestC | ||
findmnt_value = sh("findmnt -o SOURCE -rn /") | ||
self.assertEqual(psutil_value, findmnt_value) | ||
|
||
+ @unittest.skip("Test doesn't work on Linux.") | ||
def test_disk_partitions_mocked(self): | ||
with mock.patch( | ||
'psutil._pslinux.cext.disk_partitions', | ||
--- a/psutil/tests/test_misc.py | ||
+++ b/psutil/tests/test_misc.py | ||
@@ -402,6 +402,7 @@ class TestMisc(PsutilTestCase): | ||
reload_module(psutil) | ||
self.assertIn("version conflict", str(cm.exception).lower()) | ||
|
||
+ @unittest.skip("Test doesn't work on Linux.") | ||
def test_debug(self): | ||
if PY3: | ||
from io import StringIO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters