Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Handle nan and inf in assert_almost_equal. | David Cournapeau | 2009-07-27 | 2 | -1/+69 | |
| | ||||||
* | Fix 2.5-isms for deprecated decorator. | David Cournapeau | 2009-07-21 | 1 | -2/+8 | |
| | ||||||
* | Add versionadded 1.4.0 for deprecated decorator. | David Cournapeau | 2009-07-21 | 1 | -0/+5 | |
| | ||||||
* | Add a deprecated decorator to avoid cluttering test run output while ↵ | David Cournapeau | 2009-07-21 | 1 | -0/+102 | |
| | | | | checking for raised deprecation. | |||||
* | Fixed #1168: more robust NoseTester package name detection (patch by Gaël ↵ | Pauli Virtanen | 2009-07-12 | 1 | -6/+11 | |
| | | | | Varoquaux) | |||||
* | Make testing.rundocs to raise error on failures; otherwise Nose hides them | Pauli Virtanen | 2009-04-24 | 1 | -9/+18 | |
| | | | | Also drop Python < 2.4 compatibility. | |||||
* | Fix spelling. | Charles Harris | 2009-04-09 | 1 | -1/+1 | |
| | ||||||
* | Fix another docstring formatting | Pauli Virtanen | 2009-03-29 | 1 | -1/+1 | |
| | ||||||
* | Fix docstring formatting (blocks doc build) | Pauli Virtanen | 2009-03-29 | 1 | -1/+1 | |
| | ||||||
* | Merge from the doc wiki | Pauli Virtanen | 2009-03-24 | 1 | -9/+300 | |
| | ||||||
* | Give assert_ a default message of ''. | Charles Harris | 2009-03-14 | 1 | -1/+1 | |
| | ||||||
* | Fixed #745: make assert_array_almost_equal work with object arrays | Pauli Virtanen | 2009-03-09 | 2 | -2/+11 | |
| | ||||||
* | Add assert_ as a release safe version of assert for running tests. | Charles Harris | 2009-03-09 | 1 | -1/+8 | |
| | ||||||
* | Allow subclasses of arrays in testing. | Stefan van der Walt | 2009-02-22 | 1 | -3/+3 | |
| | ||||||
* | Issue #957: | Alan McIntyre | 2009-02-05 | 2 | -16/+221 | |
| | | | | | | | - Fix problems with test decorators when used on test generators. - The skip/fail arguments for skipif and knownfailureif can now be either a bool or a callable that returns a bool. - Added tests for the test decorators. | |||||
* | Remove the following deprecated items from numpy.testing: | Alan McIntyre | 2008-12-31 | 5 | -1026/+67 | |
| | | | | | | | | | | | | | | | - ParametricTestCase - The following arguments from numpy.testing.Tester.test(): level, verbosity, all, sys_argv, testcase_pattern - Path manipulation functions: set_package_path, set_local_path, restore_path - NumpyTestCase, NumpyTest Also separated testing parameter setup from NoseTester.test into NoseTester.prepare_test_args for use in a utility script for valgrind testing (see NumPy ticket #784). | |||||
* | ran reindent | Jarrod Millman | 2008-12-31 | 2 | -2/+2 | |
| | ||||||
* | Put measure in numpy.testing namespace. | David Cournapeau | 2008-10-28 | 1 | -1/+1 | |
| | ||||||
* | Removed unused imports. | Alan McIntyre | 2008-09-13 | 1 | -8/+7 | |
| | | | | Fixed undefined reference to "getpackage" (from nose.util). | |||||
* | Removed unused imports. | Alan McIntyre | 2008-09-09 | 1 | -1/+0 | |
| | ||||||
* | Remove debugging code. | Alan McIntyre | 2008-09-05 | 1 | -3/+0 | |
| | ||||||
* | Renamed classes to conform to PEP 8. | Alan McIntyre | 2008-09-04 | 2 | -11/+11 | |
| | ||||||
* | Replaced numpy.testing.decorators.skipknownfailure with knownfailureif, | Alan McIntyre | 2008-09-04 | 3 | -12/+74 | |
| | | | | | which allows flagging tests as known failures rather than skips. Updated test_umath to use knownfailureif. | |||||
* | reindenting prior to release | Jarrod Millman | 2008-09-02 | 2 | -3/+3 | |
| | ||||||
* | Make testing functions work when python is called with the -OO flag. | Charles Harris | 2008-08-29 | 1 | -15/+27 | |
| | ||||||
* | Small cleanup. | Charles Harris | 2008-08-29 | 1 | -3/+1 | |
| | ||||||
* | Bail out of _docmethod earlier if method has no docstring. | Alan McIntyre | 2008-08-27 | 1 | -2/+4 | |
| | ||||||
* | Make _docmethod work correctly when run with -OO | Alan McIntyre | 2008-08-27 | 1 | -1/+2 | |
| | ||||||
* | Added benchmarks directory to lib/setup.py so that numpy.lib benchmarks are | Alan McIntyre | 2008-08-26 | 1 | -15/+24 | |
| | | | | | available in an installed NumPy. Display system configuration information when benchmarks are run. | |||||
* | Added deprecation warning for numpy.testing.ParametricTestCase | Alan McIntyre | 2008-08-25 | 1 | -0/+6 | |
| | ||||||
* | 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). |