summaryrefslogtreecommitdiff
path: root/numpy/lib/tests/test_index_tricks.py
diff options
context:
space:
mode:
authorcookedm <cookedm@localhost>2006-07-17 23:43:21 +0000
committercookedm <cookedm@localhost>2006-07-17 23:43:21 +0000
commit10943b683e107694053221df6b36e5117eb38e13 (patch)
treee2b06349dc59e9f7027b8c2b88ddaaa519f6b9a9 /numpy/lib/tests/test_index_tricks.py
parent2acb0e779d6d0a50288aed3c050fc1fbffaf692c (diff)
downloadnumpy-10943b683e107694053221df6b36e5117eb38e13.tar.gz
Replace ScipyTestCase with NumpyTestCase
Diffstat (limited to 'numpy/lib/tests/test_index_tricks.py')
-rw-r--r--numpy/lib/tests/test_index_tricks.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/numpy/lib/tests/test_index_tricks.py b/numpy/lib/tests/test_index_tricks.py
index cdf20fcf9..e0be41d8a 100644
--- a/numpy/lib/tests/test_index_tricks.py
+++ b/numpy/lib/tests/test_index_tricks.py
@@ -4,7 +4,7 @@ set_package_path()
from numpy import array, ones, r_, mgrid
restore_path()
-class test_grid(ScipyTestCase):
+class test_grid(NumpyTestCase):
def check_basic(self):
a = mgrid[-1:1:10j]
b = mgrid[-1:1:0.1]
@@ -29,7 +29,7 @@ class test_grid(ScipyTestCase):
assert_array_almost_equal(d[0,1,:]-d[0,0,:], 0.1*ones(20,'d'),11)
assert_array_almost_equal(d[1,:,1]-d[1,:,0], 0.2*ones(20,'d'),11)
-class test_concatenator(ScipyTestCase):
+class test_concatenator(NumpyTestCase):
def check_1d(self):
assert_array_equal(r_[1,2,3,4,5,6],array([1,2,3,4,5,6]))
b = ones(5)
@@ -49,4 +49,4 @@ class test_concatenator(ScipyTestCase):
assert_array_equal(d[5:,:],c)
if __name__ == "__main__":
- ScipyTest().run()
+ NumpyTest().run()