- Enhance fix-setup.patch
* no upper pin for numpy
* no upper pin for Python 3.10 -- Contrary to the commit message
in https://github.com/acoular/acoular/commit/218d90c9a0a8
all the deps are available
* no deprecated setup_requires
* no setuptools runtime requirement
* gh#acoular/acoular#59
- Remove skip_python310
- Add relax-tests.patch -- array comparisons were too tight for
our architectures / system libraries
- Exclude i586 build/test because of unknown numba/llvmlite error
* gh#numba/numba#6012
OBS-URL: https://build.opensuse.org/request/show/988493
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-acoular?expand=0&rev=17
23 lines
1.1 KiB
Diff
23 lines
1.1 KiB
Diff
Index: acoular-22.3/acoular/tests/test_traj_beamformer_results.py
|
|
===================================================================
|
|
--- acoular-22.3.orig/acoular/tests/test_traj_beamformer_results.py
|
|
+++ acoular-22.3/acoular/tests/test_traj_beamformer_results.py
|
|
@@ -145,7 +145,7 @@ class BeamformerTimeTest(unittest.TestCa
|
|
if WRITE_NEW_REFERENCE_DATA:
|
|
np.save(name,actual_data)
|
|
ref_data = np.load(name)
|
|
- np.testing.assert_allclose(actual_data, ref_data, rtol=1e-5, atol=1e-8)
|
|
+ np.testing.assert_allclose(actual_data, ref_data, rtol=1e-4, atol=1e-6)
|
|
|
|
def test_beamformer_time_result(self):
|
|
"""compare results of time beamformers with fixed focus against previous
|
|
@@ -157,7 +157,7 @@ class BeamformerTimeTest(unittest.TestCa
|
|
if WRITE_NEW_REFERENCE_DATA:
|
|
np.save(name,actual_data)
|
|
ref_data = np.load(name)
|
|
- np.testing.assert_allclose(actual_data, ref_data, rtol=1e-5, atol=1e-8)
|
|
+ np.testing.assert_allclose(actual_data, ref_data, rtol=1e-4, atol=1e-6)
|
|
|
|
|
|
if __name__ == '__main__':
|