diff options
Diffstat (limited to 'numpy/testing/_private/utils.py')
-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 ------- |