Skip to content

Commit 7e54422

Browse files
committed
doctest: export pytest.DoctestItem for typing purposes
Fixes #10312
1 parent 51d4215 commit 7e54422

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/pytest/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
from _pytest.config.argparsing import OptionGroup
1919
from _pytest.config.argparsing import Parser
2020
from _pytest.debugging import pytestPDB as __pytestPDB
21+
from _pytest.doctest import DoctestItem
2122
from _pytest.fixtures import fixture
2223
from _pytest.fixtures import FixtureLookupError
2324
from _pytest.fixtures import FixtureRequest
@@ -92,6 +93,7 @@
9293
"Config",
9394
"console_main",
9495
"deprecated_call",
96+
"DoctestItem",
9597
"exit",
9698
"ExceptionInfo",
9799
"ExitCode",

0 commit comments

Comments
 (0)