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.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/testing/utils.py b/numpy/testing/utils.py
index d0bfd11db..4489881eb 100644
--- a/numpy/testing/utils.py
+++ b/numpy/testing/utils.py
@@ -17,7 +17,7 @@ __all__ = ['assert_equal', 'assert_almost_equal','assert_approx_equal',
verbose = 0
-def assert_(val, msg) :
+def assert_(val, msg='') :
"""Assert that works in release mode."""
if not val :
raise AssertionError(msg)