summaryrefslogtreecommitdiff
path: root/numpy/testing/utils.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Try another fix for BSD problem. This one uses numpy functions, which isCharles Harris2009-08-031-4/+3
| | | | probably not the best...
* Test fix for BSD buildbot error.Charles Harris2009-08-031-1/+4
|
* Fix small bug in assert_almost_equal.Charles Harris2009-08-031-2/+2
| | | | | | | The comparison of complex numbers is still not quite right because errors can propagate between the real and imaginary parts. They can't be checked separately in general. However, this fix gets rid of the test errors currently showing.
* BUG: handle inf/nan correctly in assert_array_almost_equal.David Cournapeau2009-07-281-1/+31
|
* BUG: fix nan/inf handling for complex dtypes.David Cournapeau2009-07-281-0/+31
|
* Handle complex special values and negative zero.David Cournapeau2009-07-271-4/+43
| | | | | Complex with nan/inf are correctly handled in assert_equal, as well as negative zero.
* Handle nan and inf in assert_equal.David Cournapeau2009-07-271-1/+24
|
* Fix header for assert_array_almost_equal.David Cournapeau2009-07-271-2/+2
|
* BUG: handle nan/inf in assert_approx_equal.David Cournapeau2009-07-271-0/+14
|
* BUG: assert_array_compare did not raise an exception when the nan indexes of ↵David Cournapeau2009-07-271-0/+1
| | | | both arguments did not match.
* Handle nan and inf in assert_almost_equal.David Cournapeau2009-07-271-0/+49
|
* 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
|
* 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-091-2/+6
|
* 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
|
* Put measure in numpy.testing namespace.David Cournapeau2008-10-281-1/+1
|
* Removed unused imports.Alan McIntyre2008-09-091-1/+0
|
* Make testing functions work when python is called with the -OO flag.Charles Harris2008-08-291-15/+27
|
* ran reindentJarrod Millman2008-08-081-1/+1
|
* 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 difflib to reduce startup time.Alan McIntyre2008-07-301-1/+3
|
* Added numpy.testing.verbose, to allow tests to vary output accordingly.Alan McIntyre2008-07-211-2/+18
| | | | | | | 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.
* 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.
* Replaced utils.raises implementation with the nose function.Alan McIntyre2008-07-131-30/+9
| | | | | Added utils.assert_raises (uses the function from nose). Wrapped text for test() deprecation warning.
* Update README.txt to indicate nose version dependency, and port SciPy r4424 ↵Alan McIntyre2008-06-171-1/+32
| | | | | | | | 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 McIntyre2008-06-171-30/+23
| | | | modules.
* added verbose argument to assert_array_equal in assert_equal. Fixes ticket #810.dhuard2008-06-051-1/+1
|
* ran reindent in preparation for the 1.1 releaseJarrod Millman2008-04-201-1/+1
|
* Correct dependency on missing code.Robert Kern2008-04-171-25/+22
|
* Fix test for assert* with nan values + string formatting issue when handling ↵David Cournapeau2008-04-081-2/+2
| | | | nan.
* Handle nan in assert_array* funcs correctly. All numpy tests passDavid Cournapeau2008-04-081-2/+25
|
* Revert comparison function; nan handling broken.David Cournapeau2008-04-071-19/+2
|
* Fix broken detection of nan in comparison function.David Cournapeau2008-04-071-2/+2
|
* Handling nan values for assert_ functions.David Cournapeau2008-04-071-2/+19
|
* Removed dependency on nose.tools. Ripped nose.tools.raise and placed it in ↵Travis Oliphant2008-01-021-1/+35
| | | | numpy.testing
* use 'in' keyword to test dictionary membershipJarrod Millman2007-11-281-1/+1
|
* Added assert_string_equal function to numpy.testing.Pearu Peterson2007-08-311-1/+35
|
* Typo fix: expose memusage for nt OS.Pearu Peterson2007-06-081-6/+6
|
* assert_approx_equal used significant digit more than requested.Robert Kern2007-05-041-1/+1
|
* make printed errors from approx_array_* bettercookedm2006-07-141-1/+3
|
* `` -> repr in numpy.testingcookedm2006-07-141-2/+2
|
* Fix assert_array_compare to handle boolean return from equality testing ↵Travis Oliphant2006-07-061-4/+10
| | | | (which can happen)
* Make 'assert_equal' handle tuples (not only lists). Closes #163.Stefan van der Walt2006-06-301-1/+1
|
* Rework numpy.testing.utils.cookedm2006-06-141-86/+52
| | | | This tightens up equality tests a bit; some tests in numpy an scipy fail.
* Apply patch #137Travis Oliphant2006-06-121-6/+6
|