diff options
| author | Ralf Gommers <ralf.gommers@gmail.com> | 2020-05-29 08:52:59 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-29 08:52:59 +0200 |
| commit | 5a4140d722117afc89869d5772ddd7a67448cfbc (patch) | |
| tree | 936aa41a63ab93b03e5fa93408666c8c4c9767ab /numpy | |
| parent | 2d102b7d5c01789845eaf427775eda8a0fc05ee7 (diff) | |
| parent | 4f09c90b8297b765e71ff816856aca7ee2405c6b (diff) | |
| download | numpy-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.py | 8 |
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 ------- |
