Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Deprecate set_package_path, set_local_path, and restore_path. | Alan McIntyre | 2008-07-03 | 1 | -1/+9 | |
| | ||||||
* | Customize behavior of nose doctests: | Alan McIntyre | 2008-07-01 | 1 | -9/+128 | |
| | | | | | | | | | | | | | | | | - Adding "#random" to an expected output line will skip the comparison with actual output (but the command is still executed). - All doctests have the numpy module available in their execution context as "np". - Whitespace normalization is enabled for all doctests executed via nose. Doctests added to check that the above behaviors are available. Nose version check/message cleanup. Fix typo in doctest for NoseTester (was still referencing scipy.testing). Rewrapped comments/docstrings to 80 columns. | |||||
* | Restored parametric.py | Alan McIntyre | 2008-06-21 | 1 | -0/+305 | |
| | ||||||
* | Restore old test framework classes. | Alan McIntyre | 2008-06-21 | 5 | -31/+630 | |
| | | | | | | | | | | | Added numpy.testing.run_module_suite to simplify "if __name__ == '__main__'" boilerplate code in test modules. Removed numpy/testing/pkgtester.py since it just consisted of an import statement after porting SciPy r4424. Allow numpy.*.test() to accept the old keyword arguments (but issue a deprecation warning when old arguments are seen). numpy.*.test() returns a test result object as before. Fixed typo in distutils doc. | |||||
* | Update README.txt to indicate nose version dependency, and port SciPy r4424 ↵ | Alan McIntyre | 2008-06-17 | 5 | -29/+60 | |
| | | | | | | | | to NumPy (prevent import of nose until actual execution of tests). Restored "raises" function to numpy/testing/utils.py until it can be replaced with the function of the same name from nose.tools after the lazy import. | |||||
* | Switched to use nose to run tests. Added test and bench functions to all ↵ | Alan McIntyre | 2008-06-17 | 10 | -914/+322 | |
| | | | | modules. | |||||
* | added verbose argument to assert_array_equal in assert_equal. Fixes ticket #810. | dhuard | 2008-06-05 | 1 | -1/+1 | |
| | ||||||
* | Make test(all=True) the default. | Charles Harris | 2008-05-21 | 1 | -1/+1 | |
| | ||||||
* | Fix unit test capturing under Python 2.6. | Stefan van der Walt | 2008-05-20 | 1 | -0/+2 | |
| | ||||||
* | ran reindent in preparation for the 1.1 release | Jarrod Millman | 2008-04-20 | 1 | -1/+1 | |
| | ||||||
* | Correct dependency on missing code. | Robert Kern | 2008-04-17 | 2 | -34/+67 | |
| | ||||||
* | Fix test for assert* with nan values + string formatting issue when handling ↵ | David Cournapeau | 2008-04-08 | 2 | -6/+9 | |
| | | | | nan. | |||||
* | Handle nan in assert_array* funcs correctly. All numpy tests pass | David Cournapeau | 2008-04-08 | 1 | -2/+25 | |
| | ||||||
* | Add basic tests for assert_array_almost_equal. | David Cournapeau | 2008-04-08 | 1 | -35/+47 | |
| | ||||||
* | assert* funcs: Add generic test for rank 3 arrays. | David Cournapeau | 2008-04-07 | 1 | -0/+19 | |
| | ||||||
* | assert* funcs test: add generic test for rank1 arrays for all dtype. | David Cournapeau | 2008-04-07 | 1 | -0/+18 | |
| | ||||||
* | Test assert* funcs for arrays with Nan and rec arrays. | David Cournapeau | 2008-04-07 | 1 | -0/+22 | |
| | ||||||
* | Some more tests for assert_* functions. | David Cournapeau | 2008-04-07 | 1 | -1/+28 | |
| | ||||||
* | Add the tests in setup file for testing package. | David Cournapeau | 2008-04-07 | 1 | -0/+2 | |
| | ||||||
* | Start testing test functions. | David Cournapeau | 2008-04-07 | 1 | -0/+30 | |
| | ||||||
* | Revert comparison function; nan handling broken. | David Cournapeau | 2008-04-07 | 1 | -19/+2 | |
| | ||||||
* | Fix broken detection of nan in comparison function. | David Cournapeau | 2008-04-07 | 1 | -2/+2 | |
| | ||||||
* | Handling nan values for assert_ functions. | David Cournapeau | 2008-04-07 | 1 | -2/+19 | |
| | ||||||
* | Add setupscons.py for pure python packages | David Cournapeau | 2008-01-07 | 1 | -0/+16 | |
| | ||||||
* | Removed dependency on nose.tools. Ripped nose.tools.raise and placed it in ↵ | Travis Oliphant | 2008-01-02 | 1 | -1/+35 | |
| | | | | numpy.testing | |||||
* | Replace numpy.distutils.exec_command.splitcmdline with shlex.split instead. | cookedm | 2007-12-26 | 1 | -2/+2 | |
| | | | | | | | | It has the same problems as our old numpy.distutils.ccompiler.split_quoted. splitcmdline still exists, but uses shlex.split, and issues a DeprecationWarning This has the positive side effect of not having numpy.distutils pulled in when numpy is imported -- there was a use of splitcmdline in numpy.testing. | |||||
* | testing/numpytest.py: only handle IgnoreException when we have a test | cookedm | 2007-12-24 | 1 | -1/+2 | |
| | | | | | result that we can actually work with (for instance, not nose's ResultProxy objects) | |||||
* | use 'in' keyword to test dictionary membership | Jarrod Millman | 2007-11-28 | 2 | -4/+5 | |
| | ||||||
* | ran reindent.py to clean up whitespace | Jarrod Millman | 2007-10-29 | 1 | -2/+2 | |
| | ||||||
* | allow TestCase classes to be prefixed with either 'test' or 'Test' | Jarrod Millman | 2007-10-02 | 1 | -1/+1 | |
| | ||||||
* | Added assert_string_equal function to numpy.testing. | Pearu Peterson | 2007-08-31 | 1 | -1/+35 | |
| | ||||||
* | Make test() to return TestResult instance. | Pearu Peterson | 2007-08-30 | 1 | -6/+5 | |
| | ||||||
* | Added testcase pattern feature to testing interface to run only those tests ↵ | Pearu Peterson | 2007-08-30 | 1 | -7/+29 | |
| | | | | that match given pattern. | |||||
* | Replace generator expressions for compatibility with Python 2.3. | Stefan van der Walt | 2007-08-28 | 1 | -5/+5 | |
| | ||||||
* | Fix parametric test names under Python 2.4. | Stefan van der Walt | 2007-08-21 | 1 | -14/+25 | |
| | ||||||
* | Fix parametric testing for Python 2.4. | Stefan van der Walt | 2007-08-20 | 1 | -1/+5 | |
| | ||||||
* | Fix parametric tests for Python 2.4. | Stefan van der Walt | 2007-08-20 | 1 | -4/+5 | |
| | ||||||
* | Add parametric unit tests (contributed by Fernando Perez). | Stefan van der Walt | 2007-08-20 | 2 | -0/+285 | |
| | ||||||
* | Added a new option to NumpyTest.run command line: -s somestring will replace ↵ | Pearu Peterson | 2007-07-20 | 1 | -1/+9 | |
| | | | | sys.argv\[1:\] with splitcmdline(somestring) | |||||
* | Typo fix: expose memusage for nt OS. | Pearu Peterson | 2007-06-08 | 1 | -6/+6 | |
| | ||||||
* | Improve docstring formatting for NumpyTest | edschofield | 2007-05-24 | 1 | -21/+26 | |
| | ||||||
* | Add stacklevel=2 to DeprecationWarning for ScipyTestCase | cookedm | 2007-05-15 | 1 | -1/+1 | |
| | ||||||
* | Clean up setup() calls. | Pearu Peterson | 2007-05-11 | 1 | -1/+1 | |
| | ||||||
* | Better warning when using ScipyTest | cookedm | 2007-05-10 | 1 | -1/+1 | |
| | ||||||
* | assert_approx_equal used significant digit more than requested. | Robert Kern | 2007-05-04 | 1 | -1/+1 | |
| | ||||||
* | NumpyTest.test() takes an extra argument, all, which, if true, makes | cookedm | 2007-04-22 | 1 | -107/+100 | |
| | | | | | it act like NumpyTest.testall(). This comes from some refactoring to remove duplicate code in .test and .testall(). | |||||
* | Sort module names when running tests | cookedm | 2007-04-17 | 1 | -1/+4 | |
| | ||||||
* | scratch that last one. my bad | Tim Leslie | 2007-03-05 | 1 | -1/+1 | |
| | ||||||
* | fix bug with test_suite being called incorrectly | Tim Leslie | 2007-03-05 | 1 | -1/+1 | |
| | ||||||
* | Prepare for doctest-runner. | Stefan van der Walt | 2007-02-10 | 1 | -4/+2 | |
| |