|  | 
| 46 | 46 | from _pytest.warning_types import PytestUnknownMarkWarning | 
| 47 | 47 | from _pytest.warning_types import PytestWarning | 
| 48 | 48 | 
 | 
|  | 49 | +# For mypy Any type checking purposes. | 
|  | 50 | +# This file sets disallow_any_expr to ensure that the public API | 
|  | 51 | +# does not have dynamic typing via Any. Manually using each public API | 
|  | 52 | +# type as an expression to enforce this. | 
|  | 53 | +__version__ = __version__ | 
|  | 54 | +register_assert_rewrite = register_assert_rewrite | 
|  | 55 | +_setup_collect_fakemodule = _setup_collect_fakemodule | 
|  | 56 | +cmdline = cmdline | 
|  | 57 | +ExitCode = ExitCode | 
|  | 58 | +# hookimpl = hookimpl | 
|  | 59 | +# hookspec = hookspec | 
|  | 60 | +main = main | 
|  | 61 | +UsageError = UsageError | 
|  | 62 | +__pytestPDB = __pytestPDB | 
|  | 63 | +_fillfuncargs = _fillfuncargs | 
|  | 64 | +fixture = fixture | 
|  | 65 | +yield_fixture = yield_fixture | 
|  | 66 | +freeze_includes = freeze_includes | 
|  | 67 | +Session = Session | 
|  | 68 | +mark = mark | 
|  | 69 | +param = param | 
|  | 70 | +Collector = Collector | 
|  | 71 | +File = File | 
|  | 72 | +Item = Item | 
|  | 73 | +exit = exit | 
|  | 74 | +fail = fail | 
|  | 75 | +importorskip = importorskip | 
|  | 76 | +skip = skip | 
|  | 77 | +xfail = xfail | 
|  | 78 | +Class = Class | 
|  | 79 | +Function = Function | 
|  | 80 | +Instance = Instance | 
|  | 81 | +Module = Module | 
|  | 82 | +Package = Package | 
|  | 83 | +approx = approx | 
|  | 84 | +raises = raises | 
|  | 85 | +deprecated_call = deprecated_call | 
|  | 86 | +warns = warns | 
|  | 87 | +PytestAssertRewriteWarning = PytestAssertRewriteWarning | 
|  | 88 | +PytestCacheWarning = PytestCacheWarning | 
|  | 89 | +PytestCollectionWarning = PytestCollectionWarning | 
|  | 90 | +PytestConfigWarning = PytestConfigWarning | 
|  | 91 | +PytestDeprecationWarning = PytestDeprecationWarning | 
|  | 92 | +PytestExperimentalApiWarning = PytestExperimentalApiWarning | 
|  | 93 | +PytestUnhandledCoroutineWarning = PytestUnhandledCoroutineWarning | 
|  | 94 | +PytestUnknownMarkWarning = PytestUnknownMarkWarning | 
|  | 95 | +PytestWarning = PytestWarning | 
| 49 | 96 | 
 | 
| 50 |  | -set_trace = __pytestPDB.set_trace | 
|  | 97 | + | 
|  | 98 | +# Allow set_trace() to be typed with None | 
|  | 99 | +set_trace = __pytestPDB.set_trace  # type: ignore | 
| 51 | 100 | 
 | 
| 52 | 101 | __all__ = [ | 
| 53 | 102 |     "__version__", | 
|  | 
0 commit comments