| | 10 | {{{ |
| | 11 | >>> import scipy |
| | 12 | >>> scipy.test() |
| | 13 | }}} |
| | 14 | This runs through the set of tests suite for SciPy. If you are only interested in testing a subset of SciPy, for example, the {{{integrate}}} module, use the following: |
| | 15 | {{{ |
| | 16 | >>> scipy.integrate.test() |
| | 17 | Found 10 tests for scipy.integrate.quadpack |
| | 18 | Found 3 tests for scipy.integrate.quadrature |
| | 19 | Found 1 tests for scipy.integrate |
| | 20 | Found 0 tests for __main__ |
| | 21 | ..........Took 13 points. |
| | 22 | ...Residual: 1.05006950608e-07 |
| | 23 | . |
| | 24 | ---------------------------------------------------------------------- |
| | 25 | Ran 14 tests in 0.054s |
| | 26 | |
| | 27 | OK |
| | 28 | <unittest.TextTestRunner object at 0xb79061cc> |
| | 29 | >>> |
| | 30 | }}} |
| | 31 | |