summaryrefslogtreecommitdiff
path: root/doc/release
diff options
context:
space:
mode:
authorDavid Cournapeau <cournape@gmail.com>2009-11-23 09:28:02 +0000
committerDavid Cournapeau <cournape@gmail.com>2009-11-23 09:28:02 +0000
commit7277495f0c0bf4b64be4987243e1a08b2f831549 (patch)
tree3615bcacf79a4a61bee56bccb438352c10a7dfd8 /doc/release
parentd9306312fb09e86736717a0b4121794de5a3034d (diff)
downloadnumpy-7277495f0c0bf4b64be4987243e1a08b2f831549.tar.gz
ENH: add an assert_warns testing utility.
Diffstat (limited to 'doc/release')
-rw-r--r--doc/release/1.4.0-notes.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/release/1.4.0-notes.rst b/doc/release/1.4.0-notes.rst
index d561a4f48..e823540ac 100644
--- a/doc/release/1.4.0-notes.rst
+++ b/doc/release/1.4.0-notes.rst
@@ -115,6 +115,8 @@ Testing
values fluctuate a lot.
#. assert_array_max_ulp: raise an assertion if there are more than N
representable numbers between two floating point values.
+ #. assert_warns: raise an AssertionError if a callable does not generate a
+ warning of the appropriate class, without altering the warning state.
Reusing npymath
~~~~~~~~~~~~~~~