Skip to content

Commit 549839b

Browse files
authored
fix type in python_api.py
excpected -> expected
1 parent 646a46e commit 549839b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/_pytest/python_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -801,7 +801,7 @@ def raises( # noqa: F811
801801
r"""Assert that a code block/function call raises an exception.
802802
803803
:param typing.Type[E] | typing.Tuple[typing.Type[E], ...] expected_exception:
804-
The excpected exception type, or a tuple if one of multiple possible
804+
The expected exception type, or a tuple if one of multiple possible
805805
exception types are excepted.
806806
:kwparam str | typing.Pattern[str] | None match:
807807
If specified, a string containing a regular expression,

0 commit comments

Comments
 (0)