We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c737f28 commit 7240ca4Copy full SHA for 7240ca4
tests/test_pickle.py
@@ -1,6 +1,6 @@
1
import pytest
2
import numpy as np
3
-from numpy.testing import assert_array_equal
+from numpy.testing import assert_array_equal, assert_almost_equal
4
5
import ctypes
6
@@ -222,7 +222,7 @@ def test_pickle_transforms(mod, copy_fn):
222
223
assert ax1 == ax2
224
assert_array_equal(ax1.centers, ax2.centers)
225
- assert_array_equal(ax2.centers, ax3.centers)
+ assert_almost_equal(ax2.centers, ax3.centers, decimal=10)
226
227
228
@pytest.mark.parametrize("copy_fn", copy_fns)
0 commit comments