summaryrefslogtreecommitdiff
path: root/numpy/testing/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/testing/utils.py')
-rw-r--r--numpy/testing/utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/testing/utils.py b/numpy/testing/utils.py
index 654d55738..ab8d77b76 100644
--- a/numpy/testing/utils.py
+++ b/numpy/testing/utils.py
@@ -216,8 +216,8 @@ def assert_array_compare(comparison, x, y, err_msg='', verbose=True,
except AssertionError:
msg = build_err_msg([x, y],
err_msg
- + '\n(x and y nan location mismatch %s, '
- + '%s mismatch)' % (xnanid, ynanid),
+ + '\n(x and y nan location mismatch %s, ' \
+ '%s mismatch)' % (xnanid, ynanid),
verbose=verbose, header=header,
names=('x', 'y'))
val = comparison(x[~xnanid], y[~ynanid])