summaryrefslogtreecommitdiff
path: root/scipy/weave/tests/test_standard_array_spec.py
diff options
context:
space:
mode:
authorPearu Peterson <pearu.peterson@gmail.com>2005-12-26 07:49:25 +0000
committerPearu Peterson <pearu.peterson@gmail.com>2005-12-26 07:49:25 +0000
commita1d00598a3a406e965cd3e07a6ebf95e4c50198b (patch)
tree069b66cab8bd31be325de284bbb8603595271a11 /scipy/weave/tests/test_standard_array_spec.py
parent36e55fb0bfd3f55f2ece8cbf68a7b912df6de9e6 (diff)
downloadnumpy-a1d00598a3a406e965cd3e07a6ebf95e4c50198b.tar.gz
Renamed scipy.test module to scipy.testing. Clean up testing.
Diffstat (limited to 'scipy/weave/tests/test_standard_array_spec.py')
-rw-r--r--scipy/weave/tests/test_standard_array_spec.py11
1 files changed, 4 insertions, 7 deletions
diff --git a/scipy/weave/tests/test_standard_array_spec.py b/scipy/weave/tests/test_standard_array_spec.py
index 5ce5667b2..3688857fe 100644
--- a/scipy/weave/tests/test_standard_array_spec.py
+++ b/scipy/weave/tests/test_standard_array_spec.py
@@ -1,9 +1,6 @@
-import unittest
-from scipy_base.numerix import *
-from scipy_base.numerix import RandomArray
-import time
-from scipy_test.testing import *
+from scipy.base import *
+from scipy.testing import *
set_package_path()
from weave import standard_array_spec
restore_path()
@@ -31,7 +28,7 @@ def print_assert_equal(test_string,actual,desired):
pprint.pprint(desired,msg)
raise AssertionError, msg.getvalue()
-class test_array_converter(unittest.TestCase):
+class test_array_converter(ScipyTestCase):
def check_type_match_string(self):
s = standard_array_spec.array_converter()
assert( not s.type_match('string') )
@@ -43,5 +40,5 @@ class test_array_converter(unittest.TestCase):
assert(s.type_match(arange(4)))
if __name__ == "__main__":
- ScipyTest('weave.standard_array_spec').run()
+ ScipyTest().run()