diff options
author | Eric Wieser <wieser.eric@gmail.com> | 2020-05-29 13:02:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-29 13:02:58 +0100 |
commit | 9ee15bc46406da2f828a79bc6c4c74971761fdeb (patch) | |
tree | c1395e9656867de950e4933a42c874eae2d7353f | |
parent | 5a4140d722117afc89869d5772ddd7a67448cfbc (diff) | |
download | numpy-revert-16422-tst_filter_filtered.tar.gz |
Revert "DOC: Update assert_warns parameter list"revert-16422-tst_filter_filtered
-rw-r--r-- | numpy/testing/_private/utils.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/numpy/testing/_private/utils.py b/numpy/testing/_private/utils.py index f8789af90..4097a6738 100644 --- a/numpy/testing/_private/utils.py +++ b/numpy/testing/_private/utils.py @@ -1768,10 +1768,12 @@ def assert_warns(warning_class, *args, **kwargs): ---------- warning_class : class The class defining the warning that `func` is expected to throw. - \\*args : List of function and arguments - `func` and arguments for `func`. + func : callable + The callable to test. + \\*args : Arguments + Arguments passed to `func`. \\*\\*kwargs : Kwargs - Keyword arguments for `func`. + Keyword arguments passed to `func`. Returns ------- |