Skip to content

Commit 309030c

Browse files
committed
fix import loop
1 parent edfcc86 commit 309030c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/_pytest/python_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
from typing import TYPE_CHECKING
1818
from typing import TypeVar
1919

20+
from _pytest._code import ExceptionInfo
2021
from _pytest.outcomes import fail
2122
from _pytest.raises_group import RaisesExc
22-
from pytest import ExceptionInfo
2323

2424

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

src/_pytest/raises_group.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@
1717
from typing import TYPE_CHECKING
1818
import warnings
1919

20+
from _pytest._code import ExceptionInfo
2021
from _pytest._code.code import stringify_exception
2122
from _pytest.outcomes import fail
2223
from _pytest.warning_types import PytestWarning
23-
from pytest import ExceptionInfo
2424

2525

2626
if TYPE_CHECKING:

0 commit comments

Comments
 (0)