Merge pull request #9766 from Rowin/pytest-warns-typo

Typo correction
This commit is contained in:
Ran Benita 2022-03-16 21:31:39 +02:00 committed by GitHub
commit a854ab97b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ def warns(
r"""Assert that code raises a particular class of warning.
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.
This helper produces a list of :class:`warnings.WarningMessage` objects,