From 5f36d5db0efd685c4e3b46b9dcabfd7e54df93d596aa3c049812ee6fe479d091 Mon Sep 17 00:00:00 2001 From: Todd R Date: Wed, 23 Oct 2019 18:23:50 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numba?expand=0&rev=25 --- skip-failing-tests.patch | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/skip-failing-tests.patch b/skip-failing-tests.patch index fd7993d..6599101 100644 --- a/skip-failing-tests.patch +++ b/skip-failing-tests.patch @@ -1,4 +1,4 @@ -Index: numba-0.46.0/numba/tests/test_runtests.py +Index: numba-0.45.1/numba/tests/test_runtests.py =================================================================== --- numba-0.45.1.orig/numba/tests/test_runtests.py +++ numba-0.45.1/numba/tests/test_runtests.py @@ -12,3 +12,28 @@ Index: numba-0.46.0/numba/tests/test_runtests.py def test_random(self): self.check_testsuite_size( ['--random', '0.1', 'numba.tests.npyufunc'], 5) +Index: numba-0.45.1/numba/tests/test_jitclasses.py +=================================================================== +--- numba-0.45.1.orig/numba/tests/test_jitclasses.py ++++ numba-0.45.1/numba/tests/test_jitclasses.py +@@ -869,6 +869,7 @@ class TestJitClass(TestCase, MemoryLeakM + self.assertEqual(t[2:2:1], 2) + self.assertEqual(t[6:6:1], 3) + ++ @unittest.skip("This will fail with system llvm and LTO") + def test_jitclass_longlabel_not_truncated(self): + # See issue #3872, llvm 7 introduced a max label length of 1024 chars + # Numba ships patched llvm 7.1 (ppc64le) and patched llvm 8 to undo this +Index: numba-0.45.1/numba/tests/test_parfors.py +=================================================================== +--- numba-0.45.1.orig/numba/tests/test_parfors.py ++++ numba-0.45.1/numba/tests/test_parfors.py +@@ -520,7 +520,7 @@ class TestParfors(TestParforsBase): + self.check(test_impl) + self.assertTrue(countParfors(test_impl, ()) == 1) + +- @skip_unsupported ++ @unittest.skip("This will fail with system llvm and LTO") + @tag('important') + def test_pi(self): + def test_impl(n):