#14 Remove redundant patch
Merged 2 years ago by kevin. Opened 2 years ago by cstratak.
rpms/ cstratak/python-psutil rawhide  into  f35

@@ -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:

file modified
-1
@@ -16,7 +16,6 @@ 

  

  # 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

no initial comment

Pull-Request has been merged by kevin

2 years ago