summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorRalf Gommers <ralf.gommers@gmail.com>2020-05-29 08:52:59 +0200
committerGitHub <noreply@github.com>2020-05-29 08:52:59 +0200
commit5a4140d722117afc89869d5772ddd7a67448cfbc (patch)
tree936aa41a63ab93b03e5fa93408666c8c4c9767ab /numpy
parent2d102b7d5c01789845eaf427775eda8a0fc05ee7 (diff)
parent4f09c90b8297b765e71ff816856aca7ee2405c6b (diff)
downloadnumpy-5a4140d722117afc89869d5772ddd7a67448cfbc.tar.gz
Merge pull request #16422 from sethtroisi/tst_filter_filtered
DOC: Update assert_warns parameter list
Diffstat (limited to 'numpy')
-rw-r--r--numpy/testing/_private/utils.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/numpy/testing/_private/utils.py b/numpy/testing/_private/utils.py
index 4097a6738..f8789af90 100644
--- a/numpy/testing/_private/utils.py
+++ b/numpy/testing/_private/utils.py
@@ -1768,12 +1768,10 @@ def assert_warns(warning_class, *args, **kwargs):
----------
warning_class : class
The class defining the warning that `func` is expected to throw.
- func : callable
- The callable to test.
- \\*args : Arguments
- Arguments passed to `func`.
+ \\*args : List of function and arguments
+ `func` and arguments for `func`.
\\*\\*kwargs : Kwargs
- Keyword arguments passed to `func`.
+ Keyword arguments for `func`.
Returns
-------