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.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/numpy/testing/utils.py b/numpy/testing/utils.py
index cf35802ae..1b69d0ed2 100644
--- a/numpy/testing/utils.py
+++ b/numpy/testing/utils.py
@@ -531,7 +531,8 @@ def assert_approx_equal(actual,desired,significant=7,err_msg='',verbose=True):
"""
import numpy as np
- actual, desired = map(float, (actual, desired))
+
+ (actual, desired) = map(float, (actual, desired))
if desired==actual:
return
# Normalized the numbers to be in range (-10.0,10.0)