From 523a9186634c88b202a63f6f543f408d863a7122 Mon Sep 17 00:00:00 2001 From: Charalampos Stratakis Date: Fri, 3 Sep 2021 18:20:45 +0200 Subject: [PATCH] Remove redundant patch --- python-psutil-add-delta-to-cputest.patch | 12 ------------ python-psutil.spec | 1 - 2 files changed, 13 deletions(-) delete mode 100644 python-psutil-add-delta-to-cputest.patch diff --git a/python-psutil-add-delta-to-cputest.patch b/python-psutil-add-delta-to-cputest.patch deleted file mode 100644 index c095a2f..0000000 --- a/python-psutil-add-delta-to-cputest.patch +++ /dev/null @@ -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: diff --git a/python-psutil.spec b/python-psutil.spec index df5deb4..65bab45 100644 --- a/python-psutil.spec +++ b/python-psutil.spec @@ -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