Typo correction
A word was missing in the docstring of the warns function.
This commit is contained in:
parent
f0bf4c9681
commit
e75cdae2bc
|
@ -110,7 +110,7 @@ def warns(
|
||||||
r"""Assert that code raises a particular class of warning.
|
r"""Assert that code raises a particular class of warning.
|
||||||
|
|
||||||
Specifically, the parameter ``expected_warning`` can be a warning class or
|
Specifically, the parameter ``expected_warning`` can be a warning class or
|
||||||
sequence of warning classes, and the inside the ``with`` block must issue a warning of that class or
|
sequence of warning classes, and the code inside the ``with`` block must issue a warning of that class or
|
||||||
classes.
|
classes.
|
||||||
|
|
||||||
This helper produces a list of :class:`warnings.WarningMessage` objects,
|
This helper produces a list of :class:`warnings.WarningMessage` objects,
|
||||||
|
|
Loading…
Reference in New Issue