diff options
author | Evgeni Burovski <evgeni@burovski.me> | 2015-11-15 07:48:20 +0000 |
---|---|---|
committer | Evgeni Burovski <evgeni@burovski.me> | 2015-11-16 15:59:19 +0000 |
commit | 70c5052a9f07025c236033cf629506bb38eb6d97 (patch) | |
tree | 0fcffcf204b9ad1f0c2c351e7ad74d5bce83286d /doc | |
parent | cf66c68c6a560c934f4a767934573c7f85dcb4ae (diff) | |
download | numpy-70c5052a9f07025c236033cf629506bb38eb6d97.tar.gz |
ENH: testing: add SkipTest and KnownFailureException
* use SkipTest in numpy tests instead of importing it from nose
* add a KnownFailureException as an alias for KnownFailureTest
(the former is preferred, but the latter is kept for backcompat)
* rename the KnownFailure nose plugin into KnownFailurePlugin,
and keep the old name for backcompat
Diffstat (limited to 'doc')
-rw-r--r-- | doc/release/1.11.0-notes.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/release/1.11.0-notes.rst b/doc/release/1.11.0-notes.rst index f8d3d4dbf..580c0c952 100644 --- a/doc/release/1.11.0-notes.rst +++ b/doc/release/1.11.0-notes.rst @@ -71,6 +71,10 @@ via ``python runtests.py --bench``. For more details, see ``benchmarks/README.rs arrays have memory overlap is added. ``np.may_share_memory`` also now has an option to spend more effort to reduce false positives. +* ``SkipTest`` and ``KnownFailureException`` exception classes are exposed in the +``numpy.testing`` namespace. Raise them in a test function to mark the test to +be skipped or mark it as a known failure, respectively. + Improvements ============ |