summaryrefslogtreecommitdiff
path: root/numpy/_pytesttester.py
Commit message (Collapse)AuthorAgeFilesLines
* TST: Simplify Hypothesis configZac-HD2020-11-151-12/+0
| | | | All configuration is now done in conftest.py, and detection of dev/user mode is based on the presence of pytest.ini in the repo root. See #17390.
* Configure hypothesis for np.test()Zac-HD2020-07-231-0/+11
|
* ENH: [6/7] enable multi-platform SIMD compiler optimizationsSayed Adel2020-06-161-0/+15
| | | | | | | | | | | | | | - Add new attributes to umath module * __cpu_baseline__ a list contains the minimal set of required optimizations that supported by the compiler and platform according to the specified values to command argument '--cpu-baseline'. * __cpu_dispatch__ a list contains the dispatched set of additional optimizations that supported by the compiler and platform according to the specified values to command argument '--cpu-dispatch' - Print required and additional optimizations during the run of PytestTester
* MAINT: Make if else clause more readableAnirudh Subramanian2020-04-141-2/+5
|
* TST: Add slow_pypy supportAnirudh Subramanian2020-04-131-1/+4
|
* DEP: deprecate importing numpy/matrixlib.pySeth Troisi2020-01-231-0/+1
|
* MAINT: cleanup _pytesttester.pySeth Troisi2020-01-231-17/+0
|
* MAINT: Remove python2 array_getslice and array_setslice (#15263)Seth Troisi2020-01-071-2/+0
| | | These implemented the __getslice__ and __setslice__ methods in Python 2, which no longer exist in Python 3.
* MAINT: Remove references to non-existent sys.exc_clear()Jon Dufresne2020-01-051-1/+0
| | | | | sys.exc_clear() was removed in Python 3. All internal uses can be removed.
* MAINT: Remove implicit inheritance from object class (#15236)Jon Dufresne2020-01-051-1/+1
| | | | | | | Inheriting from object was necessary for Python 2 compatibility to use new-style classes. In Python 3, this is unnecessary as there are no old-style classes. Dropping the object is more idiomatic Python.
* MAINT: Remove unnecessary 'from __future__ import ...' statementsJon Dufresne2020-01-031-2/+0
| | | | | As numpy is Python 3 only, these import statements are now unnecessary and don't alter runtime behavior.
* Fix typos, via a Levenshtein-style correctorBrian Wignall2019-12-191-1/+1
|
* DOC: clarify that PytestTester is non-publicChristopher Whelan2019-08-241-3/+8
|
* DOC: fix example for __call__. See #12451Edgar Giovanni Lepe2018-12-021-11/+5
|
* BUG: Fix matrix PendingDeprecationWarning suppression for pytest 3.8+.Charles Harris2018-09-061-0/+18
| | | | | | | | | | | | | | | Pytest < 3.8 ignored warnings issued during test collection, but that changed in pytest 3.8 and the method NumPy used to suppress the PendingDeprecationWarning for matrices no longer worked, or rather, was exposed as not working. The fix here is to suppress the warning in pytest.ini and pytesttester.py , which should work as long as the tests are the only places left where NumPy uses matrices. An alternate fix is to delay the construction of matrices in the tests until they are actually run, which has the virtue of test localization but is a bit more complicated. See https://github.com/pytest-dev/pytest/issues/3945 for discussion.
* MAINT: Move pytesttester outside of np.testing, to avoid creating ↵Eric Wieser2018-07-021-0/+197
unnecessary import dependencies pytesttester is used by every single subpackage, so making it depend on np.testing just creates cyclic dependencies that can lead to circular imports Relates to #11457