Skip to content

Commit

Permalink
TST: add a test
Browse files Browse the repository at this point in the history
  • Loading branch information
mattip committed Nov 9, 2023
1 parent dbdb8d5 commit 1d9a6f4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions numpy/_core/tests/test_umath.py
Original file line number Diff line number Diff line change
Expand Up @@ -1712,6 +1712,9 @@ def test_arctanh(self):
assert_raises(FloatingPointError, np.arctanh,
np.array(value, dtype=dt))

# Make sure glibc < 2.18 atanh is not used, issue 25087
assert np.signbit(np.arctanh(-1j).real)

# See: https://github.com/numpy/numpy/issues/20448
@pytest.mark.xfail(
_glibc_older_than("2.17"),
Expand Down

0 comments on commit 1d9a6f4

Please sign in to comment.