diff --git a/python-psutil-skip-tests-in-mock.patch b/python-psutil-skip-tests-in-mock.patch index 81420e0..d082c54 100644 --- a/python-psutil-skip-tests-in-mock.patch +++ b/python-psutil-skip-tests-in-mock.patch @@ -144,3 +144,15 @@ diff --color -Nur psutil-release-5.8.0.orig/psutil/tests/test_testutils.py psuti + @unittest.skip("Unreliable in mock") def test_leak_mem(self): ls = [] + +diff -uNr psutil-release-5.9.1.orig/psutil/tests/test_contracts.py psutil-release-5.9.1/psutil/tests/test_contracts.py +--- psutil-release-5.9.1.orig/psutil/tests/test_contracts.py 2022-07-31 00:44:02.758574274 -0500 ++++ psutil-release-5.9.1/psutil/tests/test_contracts.py 2022-08-01 18:13:07.225928037 -0500 +@@ -409,6 +409,7 @@ + from psutil.tests.test_contracts import proc_info + return self.pool.imap_unordered(proc_info, psutil.pids()) + ++ @unittest.skip("Unreliable in mock") + def test_all(self): + failures = [] + for info in self.iter_proc_info():