Back to Numerical Arrays (NumPy)
np.testing.assert_no_warnings
Assert that a function emits no warnings.
Syntax
np.testing.assert_no_warnings(func, args)
Description
Assert that a function emits no warnings.
Parameters
| Name | Description |
|---|---|
| func | - Function to call |
| args | - Arguments to pass to function |
Returns
unknown