python-numba/fix-cli-test.patch
Daniel Garcia bf674995ad - Update to 0.56.2
This release continues to add new features, bug fixes and stability
  improvements to Numba. Please note that this will be the last release that
  has support for Python 3.7 as the next release series (Numba 0.57) will
  support Python 3.11! Also note that, this will be the last release to support
  linux-32 packages produced by the Numba team.
- Remove fix-max-name-size.patch, it's included in the new version.
- Add update-tbb-backend-calls-2021.6.patch to make it compatible with the
  latest tbb-devel version.
- Add fix-cli-test.patch to disable one test that fails with OBS.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numba?expand=0&rev=55
2022-10-03 13:07:28 +00:00

13 lines
564 B
Diff

Index: numba-0.56.2/numba/tests/test_cli.py
===================================================================
--- numba-0.56.2.orig/numba/tests/test_cli.py
+++ numba-0.56.2/numba/tests/test_cli.py
@@ -264,6 +264,7 @@ class TestGDBCLIInfoBrokenGdbs(TestCase)
self.assertIn("No such file or directory", stdout)
self.assertIn(path, stdout)
+ @unittest.skip("Fails on type check in OBS")
def test_nonsense_gdb_binary(self):
# Tests that a nonsense binary specified as gdb it picked up ok
env = os.environ.copy()