Skip to content

Commit 8bbc858

Browse files
mattipmbargull
authored andcommitted
TST: add a test
1 parent 8463bc9 commit 8bbc858

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

numpy/core/tests/test_umath.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1712,6 +1712,9 @@ def test_arctanh(self):
17121712
assert_raises(FloatingPointError, np.arctanh,
17131713
np.array(value, dtype=dt))
17141714

1715+
# Make sure glibc < 2.18 atanh is not used, issue 25087
1716+
assert np.signbit(np.arctanh(-1j).real)
1717+
17151718
# See: https://github.com/numpy/numpy/issues/20448
17161719
@pytest.mark.xfail(
17171720
_glibc_older_than("2.17"),

0 commit comments

Comments
 (0)