summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
Diffstat (limited to 'numpy')
-rw-r--r--numpy/core/tests/test_umath.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/numpy/core/tests/test_umath.py b/numpy/core/tests/test_umath.py
index 78aa32234..244ba59a5 100644
--- a/numpy/core/tests/test_umath.py
+++ b/numpy/core/tests/test_umath.py
@@ -158,9 +158,9 @@ class TestPower(TestCase):
assert_complex_equal(np.power(zero, -p), cnan)
assert_complex_equal(np.power(zero, -1+0.2j), cnan)
- def test_fast_power(self):
- x=np.array([1,2,3], np.int16)
- assert (x**2.00001).dtype is (x**2.0).dtype
+ def test_fast_power(self):
+ x = np.array([1,2,3], np.int16)
+ assert_((x**2.00001).dtype is (x**2.0).dtype)
class TestLog2(TestCase):
def test_log2_values(self) :