Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ran reindent | Jarrod Millman | 2008-08-08 | 7 | -38/+37 |
| | |||||
* | Merge from documentation editor. | Stefan van der Walt | 2008-08-05 | 1 | -2/+34 |
| | |||||
* | Delay import from inspect to reduce startup time. | Alan McIntyre | 2008-07-30 | 1 | -1/+4 |
| | |||||
* | Delay import of shlex to reduce startup time. | Alan McIntyre | 2008-07-30 | 1 | -1/+4 |
| | |||||
* | Delay import of difflib to reduce startup time. | Alan McIntyre | 2008-07-30 | 1 | -1/+3 |
| | |||||
* | Removed unused import of glob. | Alan McIntyre | 2008-07-30 | 1 | -1/+0 |
| | |||||
* | Standardize NumPy import as "import numpy as np". | Alan McIntyre | 2008-07-22 | 1 | -19/+19 |
| | |||||
* | Added numpy.testing.verbose, to allow tests to vary output accordingly. | Alan McIntyre | 2008-07-21 | 2 | -2/+36 |
| | | | | | | | Added numpy.testing.print_assert_equal, to allow removing the multiple identical implementations of this function in SciPy tests. Display version info for NumPy, Python, and nose (and SciPy when running SciPy tests), in a manner similar to the original test framework. | ||||
* | Comment out extension option since it is not used at present. | Alan McIntyre | 2008-07-19 | 1 | -1/+1 |
| | |||||
* | Instead of importing nose plugins, use the existing list of classes that | Alan McIntyre | 2008-07-19 | 1 | -7/+16 |
| | | | | | | nose.plugins.builtins imports. If --with-doctest is included in extra_argv, remove it and use the NumPy doctester instead. | ||||
* | Comment cleanup. | Alan McIntyre | 2008-07-18 | 2 | -5/+4 |
| | | | | Fixed __import__ calls for Python 2.4 (__import__ doesn't take keyword args in 2.4). | ||||
* | Use a subclass of the nose doctest plugin instead of monkeypatching the ↵ | Alan McIntyre | 2008-07-18 | 2 | -186/+324 |
| | | | | | | builtin plugin. Removed decorators for NoseTester methods. | ||||
* | Added the measure function to utils.py in support of SciPy tests. | Alan McIntyre | 2008-07-16 | 1 | -0/+19 |
| | |||||
* | Added isfunction and decorate_methods in support of SciPy switching to | Alan McIntyre | 2008-07-15 | 1 | -1/+37 |
| | | | | use numpy.testing. | ||||
* | Reset doctest.master on each test run to avoid messages about "'__main__' in ↵ | Alan McIntyre | 2008-07-15 | 1 | -0/+4 |
| | | | | | | both testers" when test() is run multiple times. | ||||
* | Replaced utils.raises implementation with the nose function. | Alan McIntyre | 2008-07-13 | 2 | -31/+13 |
| | | | | | Added utils.assert_raises (uses the function from nose). Wrapped text for test() deprecation warning. | ||||
* | Updated doctest for NoseTester to reflect actual usage, and added | Alan McIntyre | 2008-07-09 | 1 | -7/+14 |
| | | | | | | | | | __file__ = '__main__' to doctest context to allow the updated test to run correctly. Added setupscons.py and setup.py to the list of files to ignore when looking for doctests. Cleaned up docstrings for readability. | ||||
* | Use the implicit "import numpy as np" made available to all doctests instead | Alan McIntyre | 2008-07-05 | 1 | -0/+1 |
| | | | | | of explicit imports or dependency on the local scope where the doctest is defined.. | ||||
* | Fix setup script. Exclude test that requires building from the main test suite. | Robert Kern | 2008-07-03 | 1 | -0/+1 |
| | |||||
* | Fixed line continuation in doctest for setastest. | Alan McIntyre | 2008-07-03 | 2 | -10/+41 |
| | | | | | | | | | | | Remove unnecessary "import re". Limit doctest execution environment to "import numpy as np". Save and restore print options after each doctest (to clean up after some doctests that change them). Enable ellipsis for all doctests. Remove parameter to NumpyDocTestCase constructor that was specific to nose 0.11. Monkeypatch wantFile of doctest plugin to skip Python files related to the build process (scons_support.py and generate_numpy_api.py). | ||||
* | 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 |
| |