summaryrefslogtreecommitdiff
path: root/numpy/testing
Commit message (Collapse)AuthorAgeFilesLines
...
* Handle nan and inf in assert_almost_equal.David Cournapeau2009-07-272-1/+69
|
* Fix 2.5-isms for deprecated decorator.David Cournapeau2009-07-211-2/+8
|
* Add versionadded 1.4.0 for deprecated decorator.David Cournapeau2009-07-211-0/+5
|
* Add a deprecated decorator to avoid cluttering test run output while ↵David Cournapeau2009-07-211-0/+102
| | | | checking for raised deprecation.
* Fixed #1168: more robust NoseTester package name detection (patch by Gaël ↵Pauli Virtanen2009-07-121-6/+11
| | | | Varoquaux)
* Make testing.rundocs to raise error on failures; otherwise Nose hides themPauli Virtanen2009-04-241-9/+18
| | | | Also drop Python < 2.4 compatibility.
* Fix spelling.Charles Harris2009-04-091-1/+1
|
* Fix another docstring formattingPauli Virtanen2009-03-291-1/+1
|
* Fix docstring formatting (blocks doc build)Pauli Virtanen2009-03-291-1/+1
|
* Merge from the doc wikiPauli Virtanen2009-03-241-9/+300
|
* Give assert_ a default message of ''.Charles Harris2009-03-141-1/+1
|
* Fixed #745: make assert_array_almost_equal work with object arraysPauli Virtanen2009-03-092-2/+11
|
* Add assert_ as a release safe version of assert for running tests.Charles Harris2009-03-091-1/+8
|
* Allow subclasses of arrays in testing.Stefan van der Walt2009-02-221-3/+3
|
* Issue #957:Alan McIntyre2009-02-052-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 McIntyre2008-12-315-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 reindentJarrod Millman2008-12-312-2/+2
|
* Put measure in numpy.testing namespace.David Cournapeau2008-10-281-1/+1
|
* Removed unused imports.Alan McIntyre2008-09-131-8/+7
| | | | Fixed undefined reference to "getpackage" (from nose.util).
* Removed unused imports.Alan McIntyre2008-09-091-1/+0
|
* Remove debugging code.Alan McIntyre2008-09-051-3/+0
|
* Renamed classes to conform to PEP 8.Alan McIntyre2008-09-042-11/+11
|
* Replaced numpy.testing.decorators.skipknownfailure with knownfailureif, Alan McIntyre2008-09-043-12/+74
| | | | | which allows flagging tests as known failures rather than skips. Updated test_umath to use knownfailureif.
* reindenting prior to releaseJarrod Millman2008-09-022-3/+3
|
* Make testing functions work when python is called with the -OO flag.Charles Harris2008-08-291-15/+27
|
* Small cleanup.Charles Harris2008-08-291-3/+1
|
* Bail out of _docmethod earlier if method has no docstring.Alan McIntyre2008-08-271-2/+4
|
* Make _docmethod work correctly when run with -OOAlan McIntyre2008-08-271-1/+2
|
* Added benchmarks directory to lib/setup.py so that numpy.lib benchmarks are Alan McIntyre2008-08-261-15/+24
| | | | | available in an installed NumPy. Display system configuration information when benchmarks are run.
* Added deprecation warning for numpy.testing.ParametricTestCaseAlan McIntyre2008-08-251-0/+6
|
* ran reindentJarrod Millman2008-08-087-38/+37
|
* Merge from documentation editor.Stefan van der Walt2008-08-051-2/+34
|
* Delay import from inspect to reduce startup time.Alan McIntyre2008-07-301-1/+4
|
* Delay import of shlex to reduce startup time.Alan McIntyre2008-07-301-1/+4
|
* Delay import of difflib to reduce startup time.Alan McIntyre2008-07-301-1/+3
|
* Removed unused import of glob.Alan McIntyre2008-07-301-1/+0
|
* Standardize NumPy import as "import numpy as np".Alan McIntyre2008-07-221-19/+19
|
* Added numpy.testing.verbose, to allow tests to vary output accordingly.Alan McIntyre2008-07-212-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 McIntyre2008-07-191-1/+1
|
* Instead of importing nose plugins, use the existing list of classes that Alan McIntyre2008-07-191-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 McIntyre2008-07-182-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 McIntyre2008-07-182-186/+324
| | | | | | builtin plugin. Removed decorators for NoseTester methods.
* Added the measure function to utils.py in support of SciPy tests.Alan McIntyre2008-07-161-0/+19
|
* Added isfunction and decorate_methods in support of SciPy switching to Alan McIntyre2008-07-151-1/+37
| | | | use numpy.testing.
* Reset doctest.master on each test run to avoid messages about "'__main__' in ↵Alan McIntyre2008-07-151-0/+4
| | | | | | both testers" when test() is run multiple times.
* Replaced utils.raises implementation with the nose function.Alan McIntyre2008-07-132-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 McIntyre2008-07-091-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 McIntyre2008-07-051-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 Kern2008-07-031-0/+1
|
* Fixed line continuation in doctest for setastest.Alan McIntyre2008-07-032-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).