We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a80cb3c commit 50abcb3Copy full SHA for 50abcb3
nibabel/tests/test_h5py_compat.py
@@ -40,5 +40,8 @@ def test_disabled_h5py_cases():
40
# Verify that the root cause is present
41
# If any tests fail, they will likely be these, so they may be
42
# ill-advised...
43
- assert_equal(str(np.longdouble), str(np.float64))
+ if LooseVersion(np.__version__) < '1.18':
44
+ assert_equal(str(np.longdouble), str(np.float64))
45
+ else:
46
+ assert_not_equal(str(np.longdouble), str(np.float64))
47
assert_not_equal(np.longdouble, np.float64)
0 commit comments