summaryrefslogtreecommitdiff
path: root/numpy/testing/nose_tools/noseclasses.py
Commit message (Collapse)AuthorAgeFilesLines
* MAINT: Rearrange numpy/testing files.Charles Harris2018-03-291-366/+0
| | | | | | | | | This is to prepare for the switch to pytest. * Rename `numpy/testing/nose_tools` to `numpy/testing/_private`. * Redirect imports as needed. * Copy `_testutils.py` from scipy to `numpy/testing/_private`. * Rename `_testutils.py` to `_pytester.py` and remove unneeded bits.
* TST: Rename some compiled c test modulesCharles Harris2018-03-241-1/+1
| | | | | | The renamed C modules provide low level functions for testing. The rename marks them as private functions and makes them invisible to pytest by default.
* ENH: check for FPU mode changes in the test suitePauli Virtanen2017-08-161-0/+26
| | | | | Emit a test failure if the FPU mode changes when running a test case, allowing to pinpoint what test caused the mode change.
* MAINT: Rearrange files in numpy/testing module.Charles Harris2017-07-041-0/+340
The aim here is to separate out the nose dependent files prior to adding pytest support. This could be done by adding new files to the general numpy/testing directory, but I felt that it was to have the relevant files separated out as it makes it easier to completely remove nose dependencies when needed. Many places were accessing submodules in numpy/testing directly, and in some cases incorrectly. That presented a backwards compatibility problem. The solution adapted here is to have "dummy" files whose contents will depend on whether of not pytest is active. That way the module looks the same as before from the outside. In the case of numpy itself, direct accesses have been fixed. Having proper `__all__` lists in the submodules helped in that.