python-psutil/skip-flaky-i586.patch
Tomáš Chvátal 4ea1b506ee Accepting request 686918 from home:jayvdb:pyexcel
- Active test suite, using skip-test-missing-warnings.patch to
  explicitly skip 2 tests regarding warnings, skip-flaky-i586.patch
  to skip a flaky i586 test, and setting TRAVIS to skip tests which
  upstream doesnt run in their CI
- Add upstream pr_1364.patch to fix reading /sys/blocks on Linux 4.18+
- Remove tests from installed package
- Use URL https://github.com/giampaolo/psutil
- Use LANG=en_US.UTF-8 in %check to avoid failure in test_pmap
- update to version 5.6.1
  * No changes effecting Linux
  * Many checks added to tests to skip tests for missing features

OBS-URL: https://build.opensuse.org/request/show/686918
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psutil?expand=0&rev=105
2019-03-21 09:43:00 +00:00

12 lines
374 B
Diff

--- psutil-5.6.1-orig/psutil/tests/test_contracts.py 2019-03-18 09:42:48.474895363 +0700
+++ psutil-5.6.1/psutil/tests/test_contracts.py 2019-03-20 18:25:02.356923046 +0700
@@ -330,7 +330,7 @@
else:
return attr
- def test_fetch_all(self):
+ def _test_fetch_all(self):
valid_procs = 0
default = object()
failures = []