Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ENH: testing: add assert_tol_equal for testing array equality with specified ↵ | Pauli Virtanen | 2010-07-28 | 1 | -0/+23 |
| | | | | tolerances | ||||
* | DEP: Fix deprecation warnings in Python 3.1. The warnings come from the unittest | Charles Harris | 2010-02-20 | 1 | -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 Cournapeau | 2010-02-09 | 1 | -0/+13 |
| | |||||
* | BUG: fix 2.5 >= try/except/finally. | David Cournapeau | 2009-11-23 | 1 | -5/+6 |
| | |||||
* | ENH: add an assert_warns testing utility. | David Cournapeau | 2009-11-23 | 1 | -0/+34 |
| | |||||
* | REF: move spacing tests to umath as spacing is now a ufunc. | David Cournapeau | 2009-11-10 | 1 | -39/+0 |
| | |||||
* | ENH: add assert_array_max_ulp comparison function. | David Cournapeau | 2009-10-30 | 1 | -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 Cournapeau | 2009-10-30 | 1 | -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 Cournapeau | 2009-10-30 | 1 | -0/+38 |
| | |||||
* | BUG: handle inf/nan correctly in assert_array_almost_equal. | David Cournapeau | 2009-07-28 | 1 | -0/+1 |
| | |||||
* | BUG: fix nan/inf handling for complex dtypes. | David Cournapeau | 2009-07-28 | 1 | -0/+15 |
| | |||||
* | Handle complex special values and negative zero. | David Cournapeau | 2009-07-27 | 1 | -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 Cournapeau | 2009-07-27 | 1 | -1/+19 |
| | |||||
* | BUG: handle nan/inf in assert_approx_equal. | David Cournapeau | 2009-07-27 | 1 | -0/+56 |
| | |||||
* | BUG: assert_array_compare did not raise an exception when the nan indexes of ↵ | David Cournapeau | 2009-07-27 | 1 | -0/+12 |
| | | | | both arguments did not match. | ||||
* | Handle nan and inf in assert_almost_equal. | David Cournapeau | 2009-07-27 | 1 | -1/+20 |
| | |||||
* | Fixed #745: make assert_array_almost_equal work with object arrays | Pauli Virtanen | 2009-03-09 | 1 | -0/+5 |
| | |||||
* | Small cleanup. | Charles Harris | 2008-08-29 | 1 | -3/+1 |
| | |||||
* | Standardize NumPy import as "import numpy as np". | Alan McIntyre | 2008-07-22 | 1 | -19/+19 |
| | |||||
* | Restore old test framework classes. | Alan McIntyre | 2008-06-21 | 1 | -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 McIntyre | 2008-06-17 | 1 | -4/+3 |
| | | | | modules. | ||||
* | Correct dependency on missing code. | Robert Kern | 2008-04-17 | 1 | -9/+45 |
| | |||||
* | Fix test for assert* with nan values + string formatting issue when handling ↵ | David Cournapeau | 2008-04-08 | 1 | -4/+7 |
| | | | | nan. | ||||
* | 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 |
| | |||||
* | Start testing test functions. | David Cournapeau | 2008-04-07 | 1 | -0/+30 |