summaryrefslogtreecommitdiff
path: root/scipy/testing/info.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/testing/info.py
parent36e55fb0bfd3f55f2ece8cbf68a7b912df6de9e6 (diff)
downloadnumpy-a1d00598a3a406e965cd3e07a6ebf95e4c50198b.tar.gz
Renamed scipy.test module to scipy.testing. Clean up testing.
Diffstat (limited to 'scipy/testing/info.py')
-rw-r--r--scipy/testing/info.py30
1 files changed, 30 insertions, 0 deletions
diff --git a/scipy/testing/info.py b/scipy/testing/info.py
new file mode 100644
index 000000000..9b5caa074
--- /dev/null
+++ b/scipy/testing/info.py
@@ -0,0 +1,30 @@
+"""
+Scipy testing tools
+===================
+
+Scipy-style unit-testing
+------------------------
+
+ ScipyTest -- Scipy tests site manager
+ ScipyTestCase -- unittest.TestCase with measure method
+ IgnoreException -- raise when checking disabled feature, it'll be ignored
+ set_package_path -- prepend package build directory to path
+ set_local_path -- prepend local directory (to tests files) to path
+ restore_path -- restore path after set_package_path
+
+Utility functions
+-----------------
+
+ jiffies -- return 1/100ths of a second that the current process has used
+ memusage -- virtual memory size in bytes of the running python [linux]
+ rand -- array of random numbers from given shape
+ assert_equal -- assert equality
+ assert_almost_equal -- assert equality with decimal tolerance
+ assert_approx_equal -- assert equality with significant digits tolerance
+ assert_array_equal -- assert arrays equality
+ assert_array_almost_equal -- assert arrays equality with decimal tolerance
+ assert_array_less -- assert arrays less-ordering
+
+"""
+
+global_symbols = ['ScipyTest']