summaryrefslogtreecommitdiff
path: root/numpy/testing/tests
Commit message (Collapse)AuthorAgeFilesLines
* ENH: testing: add assert_tol_equal for testing array equality with specified ↵Pauli Virtanen2010-07-281-0/+23
| | | | tolerances
* DEP: Fix deprecation warnings in Python 3.1. The warnings come from the unittestCharles Harris2010-02-201-23/+23
| | | | | | | | | module. The fix should be good for Python >= 2.4 and used the following sed script: s/\<failUnless\>/assertTrue/g s/\<failIf\>/assertFalse/g s/\<failUnlessEqual\>/assertEqual/g s/\<failUnlessRaises\>/assertRaises/g
* TST: add simple test for complex arrays input to assert_array_almost_equal_nulp.David Cournapeau2010-02-091-0/+13
|
* BUG: fix 2.5 >= try/except/finally.David Cournapeau2009-11-231-5/+6
|
* ENH: add an assert_warns testing utility.David Cournapeau2009-11-231-0/+34
|
* REF: move spacing tests to umath as spacing is now a ufunc.David Cournapeau2009-11-101-39/+0
|
* ENH: add assert_array_max_ulp comparison function.David Cournapeau2009-10-301-0/+53
| | | | | This new comparison raises an error if the number of representable numbers between two arrays exceeds a tolerance.
* ENH: add robust comparison function for floating numbers.David Cournapeau2009-10-301-0/+27
| | | | | | assert_array_almost_equal_nulp use spacing so that a single tolerance number can be used independently on the amplitude of the floating point number.
* ENH: add numpy implementation of F90 spacing function.David Cournapeau2009-10-301-0/+38
|
* BUG: handle inf/nan correctly in assert_array_almost_equal.David Cournapeau2009-07-281-0/+1
|
* BUG: fix nan/inf handling for complex dtypes.David Cournapeau2009-07-281-0/+15
|
* Handle complex special values and negative zero.David Cournapeau2009-07-271-0/+16
| | | | | 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/+19
|
* BUG: handle nan/inf in assert_approx_equal.David Cournapeau2009-07-271-0/+56
|
* BUG: assert_array_compare did not raise an exception when the nan indexes of ↵David Cournapeau2009-07-271-0/+12
| | | | both arguments did not match.
* Handle nan and inf in assert_almost_equal.David Cournapeau2009-07-271-1/+20
|
* Fixed #745: make assert_array_almost_equal work with object arraysPauli Virtanen2009-03-091-0/+5
|
* Issue #957:Alan McIntyre2009-02-051-0/+156
| | | | | | | - 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.
* Small cleanup.Charles Harris2008-08-291-3/+1
|
* Standardize NumPy import as "import numpy as np".Alan McIntyre2008-07-221-19/+19
|
* Restore old test framework classes.Alan McIntyre2008-06-211-1/+1
| | | | | | | | | | | 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.
* Switched to use nose to run tests. Added test and bench functions to all ↵Alan McIntyre2008-06-171-4/+3
| | | | modules.
* Correct dependency on missing code.Robert Kern2008-04-171-9/+45
|
* Fix test for assert* with nan values + string formatting issue when handling ↵David Cournapeau2008-04-081-4/+7
| | | | nan.
* Add basic tests for assert_array_almost_equal.David Cournapeau2008-04-081-35/+47
|
* assert* funcs: Add generic test for rank 3 arrays.David Cournapeau2008-04-071-0/+19
|
* assert* funcs test: add generic test for rank1 arrays for all dtype.David Cournapeau2008-04-071-0/+18
|
* Test assert* funcs for arrays with Nan and rec arrays.David Cournapeau2008-04-071-0/+22
|
* Some more tests for assert_* functions.David Cournapeau2008-04-071-1/+28
|
* Start testing test functions.David Cournapeau2008-04-071-0/+30