Skip to content

Commit 9e38a9e

Browse files
committed
fix another import
1 parent 4d2c709 commit 9e38a9e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/_pytest/raises_group.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -312,8 +312,8 @@ class RaisesGroup(AbstractRaises[BaseExceptionGroup[BaseExcT_co]]):
312312
313313
#. It will only catch exceptions wrapped in an exceptiongroup by default.
314314
315-
* With ``allow_unwrapped=True`` you can specify a single expected exception (or :class:`RaisesExc`) and it will match
316-
the exception even if it is not inside an :exc:`ExceptionGroup`.
315+
* With ``allow_unwrapped=True`` you can specify a single expected exception (or :class:`RaisesExc`) and it will
316+
match the exception even if it is not inside an :exc:`ExceptionGroup`.
317317
If you expect one of several different exception types you need to use a :class:`RaisesExc` object.
318318
319319
#. By default it cares about the full structure with nested :exc:`ExceptionGroup`'s. You can specify nested

testing/typing_raises_group.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66

77
from typing_extensions import assert_type
88

9-
from _pytest._raises_group import RaisesExc
10-
from _pytest._raises_group import RaisesGroup
9+
from _pytest.raises_group import RaisesExc
10+
from _pytest.raises_group import RaisesGroup
1111

1212

1313
if sys.version_info < (3, 11):

0 commit comments

Comments
 (0)