summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2013-03-27 18:02:23 -0700
committerCharles Harris <charlesr.harris@gmail.com>2013-03-27 18:02:23 -0700
commitb1d093ef19ca29c84bfc2fab4812a783599760dd (patch)
tree1708cc477276965389ea25cd4a649669c2a486fb
parent1a816c79f7212102634c28e0896547671d347a60 (diff)
parente58c22b79f13ddc0741228c28f22b1dc5b326bb3 (diff)
downloadnumpy-b1d093ef19ca29c84bfc2fab4812a783599760dd.tar.gz
Merge pull request #3141 from ewmoore/test_fast_power
TST: test_umath: fix wrong indent in test_fast_power
-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) :