14
0
Files
python-testresources/testresources-flaky-tests.patch
Matej Cepl 6269b7ebdb - Update to 2.0.2
* Skip testBasicSortTests in general (Kelledin)
  * Add a TestResourceManager.id() API for letting test results
    report about a resource identity (freeekanayaka)
  * Refactor failIf to assertFalse for Python 3.12 Compatibility (cjwatson)
  * Add support for Python >=3.10 (jelmer)
- Drop use-correct-assertions.patch, merged upstream
- Refresh testresources-flaky-tests.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testresources?expand=0&rev=29
2025-05-17 08:59:41 +00:00

12 lines
671 B
Diff

diff -Nru testresources-2.0.2.orig/testresources/tests/test_optimising_test_suite.py testresources-2.0.2/testresources/tests/test_optimising_test_suite.py
--- testresources-2.0.2.orig/testresources/tests/test_optimising_test_suite.py 2025-04-22 12:21:27.000000000 +0200
+++ testresources-2.0.2/testresources/tests/test_optimising_test_suite.py 2025-05-16 08:21:08.834763803 +0200
@@ -537,6 +537,7 @@
permutations.append([case4, case1, case3, case2])
return permutations
+ @unittest.skip("too flaky")
def testBasicSortTests(self):
self.skipTest("flaky, see LP #1645008")
# Test every permutation of inputs, with legacy tests.