Remove redundant patch

This commit is contained in:
Charalampos Stratakis 2021-09-03 18:20:45 +02:00
parent b87ad1ed94
commit 523a918663
2 changed files with 0 additions and 13 deletions

View File

@ -1,12 +0,0 @@
diff --color -Nur psutil-release-5.8.0.orig/psutil/tests/test_system.py psutil-release-5.8.0/psutil/tests/test_system.py
--- psutil-release-5.8.0.orig/psutil/tests/test_system.py 2021-08-07 12:29:17.466043213 -0700
+++ psutil-release-5.8.0/psutil/tests/test_system.py 2021-08-07 12:27:52.273801318 -0700
@@ -433,7 +433,7 @@
summed_values = base._make([sum(num) for num in zip(*per_cpu)])
for field in base._fields:
self.assertAlmostEqual(
- getattr(base, field), getattr(summed_values, field), delta=1)
+ getattr(base, field), getattr(summed_values, field), delta=2)
def _test_cpu_percent(self, percent, last_ret, new_ret):
try:

View File

@ -16,7 +16,6 @@ Patch0: python-psutil-skip-tests-in-mock.patch
# Add tolerance to psutil.tests.test_linux.TestSystemVirtualMemory.test_total
Patch1: https://github.com/giampaolo/psutil/pull/1935.patch#/python-psutil-add-tolerance.patch
Patch2: python-psutil-add-delta-to-cputest.patch
BuildRequires: gcc
BuildRequires: grep