You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
python-pywt/SOURCES/python-pywt-almost.patch

13 lines
644 B

diff -up pywt-1.3.0/pywt/tests/test_cwt_wavelets.py.almost pywt-1.3.0/pywt/tests/test_cwt_wavelets.py
--- pywt-1.3.0/pywt/tests/test_cwt_wavelets.py.almost 2022-06-27 20:14:45.917201223 -0600
+++ pywt-1.3.0/pywt/tests/test_cwt_wavelets.py 2022-06-27 20:29:52.535305224 -0600
@@ -419,7 +419,7 @@ def test_cwt_batch(axis, method):
assert_equal(cfs.shape[1 + axis], sst.shape[axis])
# batch result on stacked input is the same as stacked 1d result
- assert_equal(cfs, np.stack((cfs1,) * n_batch, axis=batch_axis + 1))
+ assert_almost_equal(cfs, np.stack((cfs1,) * n_batch, axis=batch_axis + 1))
def test_cwt_small_scales():