summaryrefslogtreecommitdiff
path: root/numpy/core
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/core')
-rw-r--r--numpy/core/tests/test_umath.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/numpy/core/tests/test_umath.py b/numpy/core/tests/test_umath.py
index 0090d0412..83dbc84cb 100644
--- a/numpy/core/tests/test_umath.py
+++ b/numpy/core/tests/test_umath.py
@@ -439,16 +439,16 @@ class TestComplexFunctions(object):
def check(x, rtol):
d = np.absolute(np.arcsinh(x)/np.arcsinh(x+0j).real - 1)
- assert np.all(d < rtol), (x[np.argmax(d)], d.max())
+ assert np.all(d < rtol), (np.argmax(d), x[np.argmax(d)], d.max())
d = np.absolute(np.arcsinh(x)/np.arcsin(1j*x).imag - 1)
- assert np.all(d < rtol), (x[np.argmax(d)], d.max())
+ assert np.all(d < rtol), (np.argmax(d), x[np.argmax(d)], d.max())
d = np.absolute(np.arctanh(x)/np.arctanh(x+0j).real - 1)
- assert np.all(d < rtol), (x[np.argmax(d)], d.max())
+ assert np.all(d < rtol), (np.argmax(d), x[np.argmax(d)], d.max())
d = np.absolute(np.arctanh(x)/np.arctan(1j*x).imag - 1)
- assert np.all(d < rtol), (x[np.argmax(d)], d.max())
+ assert np.all(d < rtol), (np.argmax(d), x[np.argmax(d)], d.max())
# The switchover was chosen as 1e-3; hence there can be up to
# ~eps/1e-3 of relative cancellation error before it