Skip to content

Commit 8cb1cf6

Browse files
committed
Remove tan/tanh test skip
1 parent a1af757 commit 8cb1cf6

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

tests/ndarray/test_elementwise_funcs.py

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
SHAPES_CHUNKS_HEAVY = [((10, 13, 13), (3, 5, 2))]
3737

3838

39-
def _test_unary_func_impl(np_func, blosc_func, dtype, shape, chunkshape): # noqa: C901
39+
def _test_unary_func_impl(np_func, blosc_func, dtype, shape, chunkshape):
4040
"""Helper function containing the actual test logic for unary functions."""
4141
if np_func.__name__ in ("arccos", "arcsin", "arctanh"):
4242
a_blosc = blosc2.linspace(
@@ -94,18 +94,6 @@ def _test_unary_func_impl(np_func, blosc_func, dtype, shape, chunkshape): # noq
9494
assert True
9595
else:
9696
raise e
97-
except AssertionError as e:
98-
if np_func.__name__ in ("tan", "tanh") and dtype == blosc2.complex128:
99-
warnings.showwarning(
100-
"tan and tanh do not give correct NaN location",
101-
UserWarning,
102-
__file__,
103-
0,
104-
file=sys.stderr,
105-
)
106-
pytest.skip("tan and tanh do not give correct NaN location")
107-
else:
108-
raise e
10997

11098

11199
def _test_binary_func_impl(np_func, blosc_func, dtype, shape, chunkshape): # noqa: C901

0 commit comments

Comments
 (0)