diff options
author | Travis Oliphant <oliphant@enthought.com> | 2006-09-20 19:01:00 +0000 |
---|---|---|
committer | Travis Oliphant <oliphant@enthought.com> | 2006-09-20 19:01:00 +0000 |
commit | 7a8ebd261c37307176bbad175ca60e99aa53fabf (patch) | |
tree | ba6b0b33f467e7363e9befaa01184caa88f41816 /numpy/__init__.py | |
parent | 289b1c6c44704de514659452ddb66c3d2e1656ce (diff) | |
download | numpy-7a8ebd261c37307176bbad175ca60e99aa53fabf.tar.gz |
Remove sorted from unique1d. Add testall to test if level > 10. Remove compiler warning.
Diffstat (limited to 'numpy/__init__.py')
-rw-r--r-- | numpy/__init__.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/numpy/__init__.py b/numpy/__init__.py index b84972815..a1b7c8006 100644 --- a/numpy/__init__.py +++ b/numpy/__init__.py @@ -82,7 +82,10 @@ testing --> ScipyTest, NumpyTest """ def test(level=1, verbosity=1): - return NumpyTest().test(level, verbosity) + if level <= 10: + return NumpyTest().test(level, verbosity) + else: + return NumpyTest().testall(level, verbosity) test.__doc__ = NumpyTest.test.__doc__ import add_newdocs |