From 549839bac5d96fd9731f40b537f370cad9fae839 Mon Sep 17 00:00:00 2001 From: Cal Jacobson Date: Sun, 30 Oct 2022 21:59:09 -0500 Subject: [PATCH] fix type in python_api.py excpected -> expected --- src/_pytest/python_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/_pytest/python_api.py b/src/_pytest/python_api.py index 515d437f0..ea45753cd 100644 --- a/src/_pytest/python_api.py +++ b/src/_pytest/python_api.py @@ -801,7 +801,7 @@ def raises( # noqa: F811 r"""Assert that a code block/function call raises an exception. :param typing.Type[E] | typing.Tuple[typing.Type[E], ...] expected_exception: - The excpected exception type, or a tuple if one of multiple possible + The expected exception type, or a tuple if one of multiple possible exception types are excepted. :kwparam str | typing.Pattern[str] | None match: If specified, a string containing a regular expression,