SYMBOL INDEX (5916 symbols across 236 files) FILE: bench/manyparam.py function foo (line 7) | def foo(request): function test_it (line 11) | def test_it(foo): function test_it2 (line 15) | def test_it2(foo): FILE: bench/skip.py function test_foo (line 10) | def test_foo(x): FILE: doc/en/conf.py function setup (line 276) | def setup(app: sphinx.application.Sphinx) -> None: FILE: doc/en/example/assertion/failure_demo.py function otherfunc (line 7) | def otherfunc(a, b): function somefunc (line 11) | def somefunc(x, y): function otherfunc_multi (line 15) | def otherfunc_multi(a, b): function test_generative (line 20) | def test_generative(param1, param2): class TestFailing (line 24) | class TestFailing: method test_simple (line 25) | def test_simple(self): method test_simple_multiline (line 34) | def test_simple_multiline(self): method test_not (line 37) | def test_not(self): class TestSpecialisedExplanations (line 44) | class TestSpecialisedExplanations: method test_eq_text (line 45) | def test_eq_text(self): method test_eq_similar_text (line 48) | def test_eq_similar_text(self): method test_eq_multiline_text (line 51) | def test_eq_multiline_text(self): method test_eq_long_text (line 54) | def test_eq_long_text(self): method test_eq_long_text_multiline (line 59) | def test_eq_long_text_multiline(self): method test_eq_list (line 64) | def test_eq_list(self): method test_eq_list_long (line 67) | def test_eq_list_long(self): method test_eq_dict (line 72) | def test_eq_dict(self): method test_eq_set (line 75) | def test_eq_set(self): method test_eq_longer_list (line 78) | def test_eq_longer_list(self): method test_in_list (line 81) | def test_in_list(self): method test_not_in_text_multiline (line 84) | def test_not_in_text_multiline(self): method test_not_in_text_single (line 88) | def test_not_in_text_single(self): method test_not_in_text_single_long (line 92) | def test_not_in_text_single_long(self): method test_not_in_text_single_long_term (line 96) | def test_not_in_text_single_long_term(self): method test_eq_dataclass (line 100) | def test_eq_dataclass(self): method test_eq_attrs (line 112) | def test_eq_attrs(self): function test_attribute (line 125) | def test_attribute(): function test_attribute_instance (line 133) | def test_attribute_instance(): function test_attribute_failure (line 140) | def test_attribute_failure(): function test_attribute_multiple (line 151) | def test_attribute_multiple(): function globf (line 161) | def globf(x): class TestRaises (line 165) | class TestRaises: method test_raises (line 166) | def test_raises(self): method test_raises_doesnt (line 170) | def test_raises_doesnt(self): method test_raise (line 173) | def test_raise(self): method test_tupleerror (line 176) | def test_tupleerror(self): method test_reinterpret_fails_with_print_for_the_fun_of_it (line 179) | def test_reinterpret_fails_with_print_for_the_fun_of_it(self): method test_some_error (line 184) | def test_some_error(self): method func1 (line 188) | def func1(self): function test_dynamic_compile_shows_nicely (line 193) | def test_dynamic_compile_shows_nicely(): class TestMoreErrors (line 207) | class TestMoreErrors: method test_complex_error (line 208) | def test_complex_error(self): method test_z1_unpack_error (line 217) | def test_z1_unpack_error(self): method test_z2_type_error (line 221) | def test_z2_type_error(self): method test_startswith (line 225) | def test_startswith(self): method test_startswith_nested (line 230) | def test_startswith_nested(self): method test_global_func (line 239) | def test_global_func(self): method test_instance (line 242) | def test_instance(self): method test_compare (line 246) | def test_compare(self): method test_try_finally (line 249) | def test_try_finally(self): class TestCustomAssertMsg (line 257) | class TestCustomAssertMsg: method test_single_line (line 258) | def test_single_line(self): method test_multiline (line 265) | def test_multiline(self): method test_custom_repr (line 274) | def test_custom_repr(self): FILE: doc/en/example/assertion/global_testmodule_config/conftest.py function pytest_runtest_setup (line 11) | def pytest_runtest_setup(item): FILE: doc/en/example/assertion/global_testmodule_config/test_hello_world.py function test_func (line 7) | def test_func(): FILE: doc/en/example/assertion/test_failures.py function test_failure_demo_fails_properly (line 11) | def test_failure_demo_fails_properly(pytester): FILE: doc/en/example/assertion/test_setup_flow_example.py function setup_module (line 4) | def setup_module(module): class TestStateFullThing (line 8) | class TestStateFullThing: method setup_class (line 9) | def setup_class(cls): method teardown_class (line 12) | def teardown_class(cls): method setup_method (line 15) | def setup_method(self, method): method test_42 (line 18) | def test_42(self): method test_23 (line 22) | def test_23(self): function teardown_module (line 27) | def teardown_module(module): FILE: doc/en/example/customdirectory/conftest.py class ManifestDirectory (line 9) | class ManifestDirectory(pytest.Directory): method collect (line 10) | def collect(self): function pytest_collect_directory (line 25) | def pytest_collect_directory(path, parent): FILE: doc/en/example/customdirectory/tests/test_first.py function test_1 (line 5) | def test_1(): FILE: doc/en/example/customdirectory/tests/test_second.py function test_2 (line 5) | def test_2(): FILE: doc/en/example/customdirectory/tests/test_third.py function test_3 (line 5) | def test_3(): FILE: doc/en/example/fixtures/test_fixtures_order_autouse.py function order (line 7) | def order(): function a (line 12) | def a(order): function b (line 17) | def b(a, order): function c (line 22) | def c(b, order): function d (line 27) | def d(b, order): function e (line 32) | def e(d, order): function f (line 37) | def f(e, order): function g (line 42) | def g(f, c, order): function test_order_and_g (line 46) | def test_order_and_g(g, order): FILE: doc/en/example/fixtures/test_fixtures_order_autouse_multiple_scopes.py function order (line 7) | def order(): function c1 (line 12) | def c1(order): function c2 (line 17) | def c2(order): function c3 (line 22) | def c3(order, c1): class TestClassWithC1Request (line 26) | class TestClassWithC1Request: method test_order (line 27) | def test_order(self, order, c1, c3): class TestClassWithoutC1Request (line 31) | class TestClassWithoutC1Request: method test_order (line 32) | def test_order(self, order, c2): FILE: doc/en/example/fixtures/test_fixtures_order_autouse_temp_effects.py function order (line 7) | def order(): function c1 (line 12) | def c1(order): function c2 (line 17) | def c2(order): class TestClassWithAutouse (line 21) | class TestClassWithAutouse: method c3 (line 23) | def c3(self, order, c2): method test_req (line 26) | def test_req(self, order, c1): method test_no_req (line 29) | def test_no_req(self, order): class TestClassWithoutAutouse (line 33) | class TestClassWithoutAutouse: method test_req (line 34) | def test_req(self, order, c1): method test_no_req (line 37) | def test_no_req(self, order): FILE: doc/en/example/fixtures/test_fixtures_order_dependencies.py function order (line 7) | def order(): function a (line 12) | def a(order): function b (line 17) | def b(a, order): function c (line 22) | def c(b, order): function d (line 27) | def d(c, b, order): function e (line 32) | def e(d, b, order): function f (line 37) | def f(e, order): function g (line 42) | def g(f, c, order): function test_order (line 46) | def test_order(g, order): FILE: doc/en/example/fixtures/test_fixtures_order_scope.py function order (line 7) | def order(): function func (line 12) | def func(order): function cls (line 17) | def cls(order): function mod (line 22) | def mod(order): function pack (line 27) | def pack(order): function sess (line 32) | def sess(order): class TestClass (line 36) | class TestClass: method test_order (line 37) | def test_order(self, func, cls, mod, pack, sess, order): FILE: doc/en/example/fixtures/test_fixtures_request_different_scope.py function order (line 7) | def order(): function outer (line 12) | def outer(order, inner): class TestOne (line 16) | class TestOne: method inner (line 18) | def inner(self, order): method test_order (line 21) | def test_order(self, order, outer): class TestTwo (line 25) | class TestTwo: method inner (line 27) | def inner(self, order): method test_order (line 30) | def test_order(self, order, outer): FILE: doc/en/example/multipython.py function python1 (line 17) | def python1(request, tmp_path): function python2 (line 23) | def python2(request, python1): class Python (line 27) | class Python: method __init__ (line 28) | def __init__(self, version, picklefile): method dumps (line 34) | def dumps(self, obj): method load_and_is_true (line 48) | def load_and_is_true(self, expression): function test_basic_objects (line 68) | def test_basic_objects(python1, python2, obj): FILE: doc/en/example/nonpython/conftest.py function pytest_collect_file (line 7) | def pytest_collect_file(parent, file_path): class YamlFile (line 12) | class YamlFile(pytest.File): method collect (line 13) | def collect(self): class YamlItem (line 22) | class YamlItem(pytest.Item): method __init__ (line 23) | def __init__(self, *, spec, **kwargs): method runtest (line 27) | def runtest(self): method repr_failure (line 33) | def repr_failure(self, excinfo): method reportinfo (line 45) | def reportinfo(self): class YamlException (line 49) | class YamlException(Exception): FILE: doc/en/example/pythoncollection.py function test_function (line 6) | def test_function(): class TestClass (line 10) | class TestClass: method test_method (line 11) | def test_method(self): method test_anothermethod (line 14) | def test_anothermethod(self): FILE: doc/en/example/xfail_demo.py function test_hello (line 10) | def test_hello(): function test_hello2 (line 15) | def test_hello2(): function test_hello3 (line 20) | def test_hello3(): function test_hello4 (line 25) | def test_hello4(): function test_hello5 (line 30) | def test_hello5(): function test_hello6 (line 34) | def test_hello6(): function test_hello7 (line 39) | def test_hello7(): FILE: extra/get_issues.py function get_issues (line 13) | def get_issues(): function main (line 37) | def main(args): function _get_kind (line 51) | def _get_kind(issue): function report (line 59) | def report(issues): FILE: scripts/generate-gh-release-notes.py function extract_changelog_entries_for (line 22) | def extract_changelog_entries_for(version: str) -> str: function convert_rst_to_md (line 44) | def convert_rst_to_md(text: str) -> str: function main (line 52) | def main(argv: Sequence[str]) -> int: FILE: scripts/prepare-release-pr.py class InvalidFeatureRelease (line 29) | class InvalidFeatureRelease(Exception): function prepare_release_pr (line 55) | def prepare_release_pr(base_branch: str, is_major: bool, prerelease: str... function find_next_version (line 144) | def find_next_version( function main (line 165) | def main() -> None: FILE: scripts/release.py function announce (line 18) | def announce(version: str, template_name: str, doc_version: str) -> None: function regen (line 79) | def regen(version: str) -> None: function fix_formatting (line 88) | def fix_formatting() -> None: function check_links (line 96) | def check_links() -> None: function pre_release (line 102) | def pre_release( function changelog (line 122) | def changelog(version: str, write_out: bool = False) -> None: function main (line 127) | def main() -> None: FILE: scripts/update-plugin-list.py function escape_rst (line 74) | def escape_rst(text: str) -> str: function project_response_with_refresh (line 87) | def project_response_with_refresh( function get_session (line 100) | def get_session() -> CachedSession: function pytest_plugin_projects_from_pypi (line 108) | def pytest_plugin_projects_from_pypi(session: CachedSession) -> dict[str... class PluginInfo (line 124) | class PluginInfo(TypedDict): function iter_plugins (line 134) | def iter_plugins() -> Iterator[PluginInfo]: function plugin_definitions (line 193) | def plugin_definitions(plugins: Iterable[PluginInfo]) -> Iterator[str]: function main (line 208) | def main() -> None: FILE: src/_pytest/_argcomplete.py class FastFilesCompleter (line 74) | class FastFilesCompleter: method __init__ (line 77) | def __init__(self, directories: bool = True) -> None: method __call__ (line 80) | def __call__(self, prefix: str, **kwargs: Any) -> list[str]: function try_argcomplete (line 109) | def try_argcomplete(parser: argparse.ArgumentParser) -> None: function try_argcomplete (line 114) | def try_argcomplete(parser: argparse.ArgumentParser) -> None: FILE: src/_pytest/_code/code.py class Code (line 60) | class Code: method __init__ (line 65) | def __init__(self, obj: CodeType) -> None: method from_function (line 69) | def from_function(cls, obj: object) -> Code: method __eq__ (line 72) | def __eq__(self, other): method firstlineno (line 79) | def firstlineno(self) -> int: method name (line 83) | def name(self) -> str: method path (line 87) | def path(self) -> Path | str: method fullsource (line 104) | def fullsource(self) -> Source | None: method source (line 109) | def source(self) -> Source: method getargs (line 114) | def getargs(self, var: bool = False) -> tuple[str, ...]: class Frame (line 129) | class Frame: method __init__ (line 135) | def __init__(self, frame: FrameType) -> None: method lineno (line 139) | def lineno(self) -> int: method f_globals (line 143) | def f_globals(self) -> dict[str, Any]: method f_locals (line 147) | def f_locals(self) -> dict[str, Any]: method code (line 151) | def code(self) -> Code: method statement (line 155) | def statement(self) -> Source: method eval (line 161) | def eval(self, code, **vars): method repr (line 172) | def repr(self, object: object) -> str: method getargs (line 176) | def getargs(self, var: bool = False): class TracebackEntry (line 191) | class TracebackEntry: method __init__ (line 196) | def __init__( method with_repr_style (line 204) | def with_repr_style( method lineno (line 210) | def lineno(self) -> int: method get_python_framesummary (line 213) | def get_python_framesummary(self) -> FrameSummary: method end_lineno_relative (line 223) | def end_lineno_relative(self) -> int | None: method colno (line 227) | def colno(self) -> int | None: method end_colno (line 231) | def end_colno(self) -> int | None: method end_lineno_relative (line 236) | def end_lineno_relative(self) -> int | None: method colno (line 243) | def colno(self) -> int | None: method end_colno (line 248) | def end_colno(self) -> int | None: method frame (line 253) | def frame(self) -> Frame: method relline (line 257) | def relline(self) -> int: method __repr__ (line 260) | def __repr__(self) -> str: method statement (line 264) | def statement(self) -> Source: method path (line 271) | def path(self) -> Path | str: method locals (line 276) | def locals(self) -> dict[str, Any]: method getfirstlinesource (line 280) | def getfirstlinesource(self) -> int: method getsource (line 283) | def getsource( method ishidden (line 311) | def ishidden(self, excinfo: ExceptionInfo[BaseException] | None) -> bool: method __str__ (line 336) | def __str__(self) -> str: method name (line 350) | def name(self) -> str: class Traceback (line 355) | class Traceback(list[TracebackEntry]): method __init__ (line 358) | def __init__( method cut (line 375) | def cut( method __getitem__ (line 412) | def __getitem__(self, key: SupportsIndex) -> TracebackEntry: ... method __getitem__ (line 415) | def __getitem__(self, key: slice) -> Traceback: ... method __getitem__ (line 417) | def __getitem__(self, key: SupportsIndex | slice) -> TracebackEntry | ... method filter (line 423) | def filter( method recursionindex (line 443) | def recursionindex(self) -> int | None: function stringify_exception (line 464) | def stringify_exception( class ExceptionInfo (line 496) | class ExceptionInfo(Generic[E]): method __init__ (line 505) | def __init__( method from_exception (line 519) | def from_exception( method from_exc_info (line 549) | def from_exc_info( method from_current (line 566) | def from_current(cls, exprinfo: str | None = None) -> ExceptionInfo[Ba... method for_later (line 586) | def for_later(cls) -> ExceptionInfo[E]: method fill_unfilled (line 590) | def fill_unfilled(self, exc_info: tuple[type[E], E, TracebackType]) ->... method type (line 596) | def type(self) -> type[E]: method value (line 604) | def value(self) -> E: method tb (line 612) | def tb(self) -> TracebackType: method typename (line 620) | def typename(self) -> str: method traceback (line 628) | def traceback(self) -> Traceback: method traceback (line 635) | def traceback(self, value: Traceback) -> None: method __repr__ (line 638) | def __repr__(self) -> str: method exconly (line 643) | def exconly(self, tryshort: bool = False) -> str: method errisinstance (line 676) | def errisinstance(self, exc: EXCEPTION_OR_MORE) -> bool: method _getreprcrash (line 683) | def _getreprcrash(self) -> ReprFileLocation | None: method getrepr (line 694) | def getrepr( method match (line 767) | def match(self, regexp: str | re.Pattern[str]) -> Literal[True]: method _group_contains (line 786) | def _group_contains( method group_contains (line 816) | def group_contains( class FormattedExcinfo (line 866) | class FormattedExcinfo: method _getindent (line 885) | def _getindent(self, source: Source) -> int: method _getentrysource (line 900) | def _getentrysource(self, entry: TracebackEntry) -> Source | None: method repr_args (line 906) | def repr_args(self, entry: TracebackEntry) -> ReprFuncArgs | None: method get_source (line 918) | def get_source( method get_highlight_arrows_for_line (line 971) | def get_highlight_arrows_for_line( method get_exconly (line 1008) | def get_exconly( method repr_locals (line 1025) | def repr_locals(self, locals: Mapping[str, object]) -> ReprLocals | None: method repr_traceback_entry (line 1051) | def repr_traceback_entry( method _makepath (line 1103) | def _makepath(self, path: Path | str) -> str: method repr_traceback (line 1113) | def repr_traceback(self, excinfo: ExceptionInfo[BaseException]) -> Rep... method _truncate_recursive_traceback (line 1138) | def _truncate_recursive_traceback( method repr_excinfo (line 1175) | def repr_excinfo(self, excinfo: ExceptionInfo[BaseException]) -> Excep... class TerminalRepr (line 1232) | class TerminalRepr: method __str__ (line 1233) | def __str__(self) -> str: method __repr__ (line 1241) | def __repr__(self) -> str: method toterminal (line 1244) | def toterminal(self, tw: TerminalWriter) -> None: class ExceptionRepr (line 1250) | class ExceptionRepr(TerminalRepr): method addsection (line 1258) | def addsection(self, name: str, content: str, sep: str = "-") -> None: method toterminal (line 1261) | def toterminal(self, tw: TerminalWriter) -> None: class ExceptionChainRepr (line 1268) | class ExceptionChainRepr(ExceptionRepr): method __init__ (line 1271) | def __init__( method toterminal (line 1283) | def toterminal(self, tw: TerminalWriter) -> None: class ReprExceptionInfo (line 1293) | class ReprExceptionInfo(ExceptionRepr): method toterminal (line 1297) | def toterminal(self, tw: TerminalWriter) -> None: class ReprTraceback (line 1303) | class ReprTraceback(TerminalRepr): method toterminal (line 1310) | def toterminal(self, tw: TerminalWriter) -> None: class ReprTracebackNative (line 1327) | class ReprTracebackNative(ReprTraceback): method __init__ (line 1328) | def __init__(self, tblines: Sequence[str]) -> None: class ReprEntryNative (line 1335) | class ReprEntryNative(TerminalRepr): method toterminal (line 1340) | def toterminal(self, tw: TerminalWriter) -> None: class ReprEntry (line 1345) | class ReprEntry(TerminalRepr): method _write_entry_lines (line 1352) | def _write_entry_lines(self, tw: TerminalWriter) -> None: method toterminal (line 1401) | def toterminal(self, tw: TerminalWriter) -> None: method __str__ (line 1423) | def __str__(self) -> str: class ReprFileLocation (line 1430) | class ReprFileLocation(TerminalRepr): method __post_init__ (line 1435) | def __post_init__(self) -> None: method toterminal (line 1438) | def toterminal(self, tw: TerminalWriter) -> None: class ReprLocals (line 1450) | class ReprLocals(TerminalRepr): method toterminal (line 1453) | def toterminal(self, tw: TerminalWriter, indent="") -> None: class ReprFuncArgs (line 1459) | class ReprFuncArgs(TerminalRepr): method toterminal (line 1462) | def toterminal(self, tw: TerminalWriter) -> None: function getfslineno (line 1481) | def getfslineno(obj: object) -> tuple[str | Path, int]: function _byte_offset_to_character_offset (line 1515) | def _byte_offset_to_character_offset(str, offset): function filter_traceback (line 1533) | def filter_traceback(entry: TracebackEntry) -> bool: function filter_excinfo_traceback (line 1562) | def filter_excinfo_traceback( FILE: src/_pytest/_code/source.py class Source (line 16) | class Source: method __init__ (line 22) | def __init__(self, obj: object = None) -> None: method __eq__ (line 44) | def __eq__(self, other: object) -> bool: method __getitem__ (line 53) | def __getitem__(self, key: int) -> str: ... method __getitem__ (line 56) | def __getitem__(self, key: slice) -> Source: ... method __getitem__ (line 58) | def __getitem__(self, key: int | slice) -> str | Source: method __iter__ (line 69) | def __iter__(self) -> Iterator[str]: method __len__ (line 72) | def __len__(self) -> int: method strip (line 75) | def strip(self) -> Source: method indent (line 87) | def indent(self, indent: str = " " * 4) -> Source: method getstatement (line 95) | def getstatement(self, lineno: int) -> Source: method getstatementrange (line 101) | def getstatementrange(self, lineno: int) -> tuple[int, int]: method deindent (line 109) | def deindent(self) -> Source: method __str__ (line 116) | def __str__(self) -> str: function findsource (line 125) | def findsource(obj) -> tuple[Source | None, int]: function getrawcode (line 136) | def getrawcode(obj: object, trycall: bool = True) -> types.CodeType: function deindent (line 149) | def deindent(lines: Iterable[str]) -> list[str]: function get_statement_startend2 (line 153) | def get_statement_startend2(lineno: int, node: ast.AST) -> tuple[int, in... function getstatementrange_ast (line 181) | def getstatementrange_ast( FILE: src/_pytest/_io/pprint.py class _safe_key (line 29) | class _safe_key: method __init__ (line 41) | def __init__(self, obj): method __lt__ (line 44) | def __lt__(self, other): function _safe_tuple (line 54) | def _safe_tuple(t): class PrettyPrinter (line 59) | class PrettyPrinter: method __init__ (line 60) | def __init__( method pformat (line 89) | def pformat(self, object: Any) -> str: method _format (line 94) | def _format( method _pprint_dataclass (line 130) | def _pprint_dataclass( method _pprint_dict (line 154) | def _pprint_dict( method _pprint_ordered_dict (line 171) | def _pprint_ordered_dict( method _pprint_list (line 190) | def _pprint_list( method _pprint_tuple (line 205) | def _pprint_tuple( method _pprint_set (line 220) | def _pprint_set( method _pprint_str (line 246) | def _pprint_str( method _pprint_bytes (line 305) | def _pprint_bytes( method _pprint_bytearray (line 334) | def _pprint_bytearray( method _pprint_mappingproxy (line 352) | def _pprint_mappingproxy( method _pprint_simplenamespace (line 367) | def _pprint_simplenamespace( method _format_dict_items (line 389) | def _format_dict_items( method _format_namespace_items (line 413) | def _format_namespace_items( method _format_items (line 450) | def _format_items( method _repr (line 473) | def _repr(self, object: Any, context: set[int], level: int) -> str: method _pprint_default_dict (line 476) | def _pprint_default_dict( method _pprint_counter (line 492) | def _pprint_counter( method _pprint_chain_map (line 513) | def _pprint_chain_map( method _pprint_deque (line 532) | def _pprint_deque( method _pprint_user_dict (line 551) | def _pprint_user_dict( method _pprint_user_list (line 564) | def _pprint_user_list( method _pprint_user_string (line 577) | def _pprint_user_string( method _safe_repr (line 590) | def _safe_repr( function _recursion (line 654) | def _recursion(object: Any) -> str: function _wrap_bytes_repr (line 658) | def _wrap_bytes_repr(object: Any, width: int, allowance: int) -> Iterato... FILE: src/_pytest/_io/saferepr.py function _try_repr_or_str (line 8) | def _try_repr_or_str(obj: object) -> str: function _format_repr_exception (line 17) | def _format_repr_exception(exc: BaseException, obj: object) -> str: function _ellipsize (line 29) | def _ellipsize(s: str, maxsize: int) -> str: class SafeRepr (line 37) | class SafeRepr(reprlib.Repr): method __init__ (line 43) | def __init__(self, maxsize: int | None, use_ascii: bool = False) -> None: method repr (line 58) | def repr(self, x: object) -> str: method repr_instance (line 72) | def repr_instance(self, x: object, level: int) -> str: method repr_dict (line 84) | def repr_dict(self, x: dict[object, object], level: int) -> str: function safeformat (line 108) | def safeformat(obj: object) -> str: function saferepr (line 124) | def saferepr( function saferepr_unlimited (line 139) | def saferepr_unlimited(obj: object, use_ascii: bool = True) -> str: FILE: src/_pytest/_io/terminalwriter.py function get_terminal_width (line 26) | def get_terminal_width() -> int: function should_do_markup (line 36) | def should_do_markup(file: TextIO) -> bool: class TerminalWriter (line 51) | class TerminalWriter: method __init__ (line 75) | def __init__(self, file: TextIO | None = None) -> None: method fullwidth (line 93) | def fullwidth(self) -> int: method fullwidth (line 99) | def fullwidth(self, value: int) -> None: method width_of_current_line (line 103) | def width_of_current_line(self) -> int: method markup (line 107) | def markup(self, text: str, **markup: bool) -> str: method sep (line 117) | def sep( method write (line 154) | def write(self, msg: str, *, flush: bool = False, **markup: bool) -> N... method write_raw (line 166) | def write_raw(self, msg: str, *, flush: bool = False) -> None: method line (line 182) | def line(self, s: str = "", **markup: bool) -> None: method flush (line 186) | def flush(self) -> None: method _write_source (line 189) | def _write_source(self, lines: Sequence[str], indents: Sequence[str] =... method _get_pygments_lexer (line 208) | def _get_pygments_lexer(self, lexer: Literal["python", "diff"]) -> Lexer: method _get_pygments_formatter (line 216) | def _get_pygments_formatter(self) -> TerminalFormatter: method _highlight (line 235) | def _highlight( FILE: src/_pytest/_io/wcwidth.py function wcwidth (line 8) | def wcwidth(c: str) -> int: function wcswidth (line 46) | def wcswidth(s: str) -> int: FILE: src/_pytest/_py/error.py class Error (line 21) | class Error(EnvironmentError): method __repr__ (line 22) | def __repr__(self) -> str: method __str__ (line 31) | def __str__(self) -> str: class ErrorMaker (line 52) | class ErrorMaker: method __getattr__ (line 60) | def __getattr__(self, name: str) -> type[Error]: method _geterrnoclass (line 68) | def _geterrnoclass(self, eno: int) -> type[Error]: method checked_call (line 81) | def checked_call( function __getattr__ (line 118) | def __getattr__(attr: str) -> type[Error]: FILE: src/_pytest/_py/path.py class Checkers (line 41) | class Checkers: method __init__ (line 44) | def __init__(self, path): method dotfile (line 47) | def dotfile(self): method ext (line 50) | def ext(self, arg): method basename (line 55) | def basename(self, arg): method basestarts (line 58) | def basestarts(self, arg): method relto (line 61) | def relto(self, arg): method fnmatch (line 64) | def fnmatch(self, arg): method endswith (line 67) | def endswith(self, arg): method _evaluate (line 70) | def _evaluate(self, kw): method _stat (line 110) | def _stat(self) -> Stat: method dir (line 120) | def dir(self): method file (line 123) | def file(self): method exists (line 126) | def exists(self): method link (line 129) | def link(self): class NeverRaised (line 134) | class NeverRaised(Exception): class Visitor (line 138) | class Visitor: method __init__ (line 139) | def __init__(self, fil, rec, ignore, bf, sort): method gen (line 153) | def gen(self, path): class FNMatcher (line 173) | class FNMatcher: method __init__ (line 174) | def __init__(self, pattern): method __call__ (line 177) | def __call__(self, path): function map_as_list (line 199) | def map_as_list(func, iter): class Stat (line 203) | class Stat: method size (line 207) | def size(self) -> int: ... method mtime (line 210) | def mtime(self) -> float: ... method __getattr__ (line 212) | def __getattr__(self, name: str) -> Any: method __init__ (line 215) | def __init__(self, path, osstatresult): method owner (line 220) | def owner(self): method group (line 229) | def group(self): method isdir (line 238) | def isdir(self): method isfile (line 241) | def isfile(self): method islink (line 244) | def islink(self): function getuserid (line 249) | def getuserid(user): function getgroupid (line 257) | def getgroupid(group): class LocalPath (line 265) | class LocalPath: class ImportMismatchError (line 270) | class ImportMismatchError(ImportError): method __init__ (line 275) | def __init__(self, path=None, expanduser=False): method chown (line 301) | def chown(self, user, group, rec=0): method readlink (line 315) | def readlink(self) -> str: method mklinkto (line 320) | def mklinkto(self, oldname): method mksymlinkto (line 324) | def mksymlinkto(self, value, absolute=1): method __div__ (line 337) | def __div__(self, other): method basename (line 343) | def basename(self): method dirname (line 348) | def dirname(self): method purebasename (line 353) | def purebasename(self): method ext (line 358) | def ext(self): method read_binary (line 362) | def read_binary(self): method read_text (line 367) | def read_text(self, encoding): method read (line 372) | def read(self, mode="r"): method readlines (line 377) | def readlines(self, cr=1): method load (line 392) | def load(self): method move (line 402) | def move(self, target): method fnmatch (line 412) | def fnmatch(self, pattern): method relto (line 431) | def relto(self, relpath): method ensure_dir (line 450) | def ensure_dir(self, *args): method bestrelpath (line 454) | def bestrelpath(self, dest): method exists (line 480) | def exists(self): method isdir (line 483) | def isdir(self): method isfile (line 486) | def isfile(self): method parts (line 489) | def parts(self, reverse=False): method common (line 505) | def common(self, other): method __add__ (line 516) | def __add__(self, other): method visit (line 520) | def visit(self, fil=None, rec=None, ignore=NeverRaised, bf=False, sort... method _sortlist (line 540) | def _sortlist(self, res, sort): method __fspath__ (line 553) | def __fspath__(self): method __hash__ (line 556) | def __hash__(self): method __eq__ (line 562) | def __eq__(self, other): method __ne__ (line 576) | def __ne__(self, other): method __lt__ (line 579) | def __lt__(self, other): method __gt__ (line 582) | def __gt__(self, other): method samefile (line 585) | def samefile(self, other): method remove (line 596) | def remove(self, rec=1, ignore_errors=False): method computehash (line 618) | def computehash(self, hashtype="md5", chunksize=524288): method new (line 640) | def new(self, **kw): method _getbyspec (line 680) | def _getbyspec(self, spec: str) -> list[str]: method dirpath (line 709) | def dirpath(self, *args, **kwargs): method join (line 719) | def join(self, *args: os.PathLike[str], abs: bool = False) -> LocalPath: method open (line 749) | def open(self, mode="r", ensure=False, encoding=None): method _fastjoin (line 765) | def _fastjoin(self, name): method islink (line 770) | def islink(self): method check (line 773) | def check(self, **kw): method listdir (line 803) | def listdir(self, fil=None, sort=None): method size (line 826) | def size(self) -> int: method mtime (line 830) | def mtime(self) -> float: method copy (line 834) | def copy(self, target, mode=False, stat=False): method rename (line 871) | def rename(self, target): method dump (line 876) | def dump(self, obj, bin=1): method mkdir (line 886) | def mkdir(self, *args): method write_binary (line 892) | def write_binary(self, data, ensure=False): method write_text (line 901) | def write_text(self, data, encoding, ensure=False): method write (line 910) | def write(self, data, mode="w", ensure=False): method _ensuredirs (line 931) | def _ensuredirs(self): method ensure (line 947) | def ensure(self, *args, **kwargs): method stat (line 962) | def stat(self, raising: Literal[True] = ...) -> Stat: ... method stat (line 965) | def stat(self, raising: Literal[False]) -> Stat | None: ... method stat (line 967) | def stat(self, raising: bool = True) -> Stat | None: method lstat (line 978) | def lstat(self) -> Stat: method setmtime (line 982) | def setmtime(self, mtime=None): method chdir (line 995) | def chdir(self): method as_cwd (line 1005) | def as_cwd(self): method realpath (line 1018) | def realpath(self): method atime (line 1022) | def atime(self): method __repr__ (line 1026) | def __repr__(self): method __str__ (line 1029) | def __str__(self): method chmod (line 1033) | def chmod(self, mode, rec=0): method pypkgpath (line 1045) | def pypkgpath(self): method _ensuresyspath (line 1060) | def _ensuresyspath(self, ensuremode, path): method pyimport (line 1070) | def pyimport(self, modname=None, ensuresyspath=True): method sysexec (line 1159) | def sysexec(self, *argv: os.PathLike[str], **popen_opts: Any) -> str: method sysfind (line 1193) | def sysfind(cls, name, checker=None, paths=None): method _gethomedir (line 1240) | def _gethomedir(cls): method get_temproot (line 1254) | def get_temproot(cls): method mkdtemp (line 1263) | def mkdtemp(cls, rootdir=None): method make_numbered_dir (line 1275) | def make_numbered_dir( function copymode (line 1437) | def copymode(src, dest): function copystat (line 1444) | def copystat(src, dest): function copychunked (line 1452) | def copychunked(src, dest): function isimportable (line 1469) | def isimportable(name): FILE: src/_pytest/assertion/__init__.py function pytest_addoption (line 26) | def pytest_addoption(parser: Parser) -> None: function register_assert_rewrite (line 71) | def register_assert_rewrite(*names: str) -> None: class RewriteHook (line 96) | class RewriteHook(Protocol): method mark_rewrite (line 97) | def mark_rewrite(self, *names: str) -> None: ... class DummyRewriteHook (line 100) | class DummyRewriteHook: method mark_rewrite (line 103) | def mark_rewrite(self, *names: str) -> None: class AssertionState (line 107) | class AssertionState: method __init__ (line 110) | def __init__(self, config: Config, mode) -> None: function install_importhook (line 116) | def install_importhook(config: Config) -> rewrite.AssertionRewritingHook: function pytest_collection (line 132) | def pytest_collection(session: Session) -> None: function pytest_runtest_protocol (line 143) | def pytest_runtest_protocol(item: Item) -> Generator[None, object, object]: function pytest_sessionfinish (line 198) | def pytest_sessionfinish(session: Session) -> None: function pytest_assertrepr_compare (line 205) | def pytest_assertrepr_compare( FILE: src/_pytest/assertion/rewrite.py class Sentinel (line 61) | class Sentinel: class AssertionRewritingHook (line 76) | class AssertionRewritingHook(importlib.abc.MetaPathFinder, importlib.abc... method __init__ (line 79) | def __init__(self, config: Config) -> None: method set_session (line 95) | def set_session(self, session: Session | None) -> None: method find_spec (line 102) | def find_spec( method create_module (line 152) | def create_module( method exec_module (line 157) | def exec_module(self, module: types.ModuleType) -> None: method _early_rewrite_bailout (line 199) | def _early_rewrite_bailout(self, name: str, state: AssertionState) -> ... method _should_rewrite (line 238) | def _should_rewrite(self, name: str, fn: str, state: AssertionState) -... method _is_marked_for_rewrite (line 259) | def _is_marked_for_rewrite(self, name: str, state: AssertionState) -> ... method mark_rewrite (line 272) | def mark_rewrite(self, *names: str) -> None: method _warn_already_imported (line 290) | def _warn_already_imported(self, name: str) -> None: method get_data (line 300) | def get_data(self, pathname: str | bytes) -> bytes: method get_resource_reader (line 305) | def get_resource_reader(self, name: str) -> TraversableResources: function _write_pyc_fp (line 309) | def _write_pyc_fp( function _write_pyc (line 327) | def _write_pyc( function _rewrite_test (line 352) | def _rewrite_test(fn: Path, config: Config) -> tuple[os.stat_result, typ... function _read_pyc (line 363) | def _read_pyc( function rewrite_asserts (line 412) | def rewrite_asserts( function _saferepr (line 422) | def _saferepr(obj: object) -> str: function _get_maxsize_for_saferepr (line 442) | def _get_maxsize_for_saferepr(config: Config | None) -> int | None: function _format_assertmsg (line 455) | def _format_assertmsg(obj: object) -> str: function _should_repr_global_name (line 477) | def _should_repr_global_name(obj: object) -> bool: function _format_boolop (line 488) | def _format_boolop(explanations: Iterable[str], is_or: bool) -> str: function _call_reprcompare (line 493) | def _call_reprcompare( function _call_assertion_pass (line 513) | def _call_assertion_pass(lineno: int, orig: str, expl: str) -> None: function _check_if_assertion_pass_impl (line 518) | def _check_if_assertion_pass_impl() -> bool: function traverse_node (line 553) | def traverse_node(node: ast.AST) -> Iterator[ast.AST]: function _get_assertion_exprs (line 561) | def _get_assertion_exprs(src: bytes) -> dict[int, str]: class AssertionRewriter (line 615) | class AssertionRewriter(ast.NodeVisitor): method __init__ (line 674) | def __init__( method run (line 692) | def run(self, mod: ast.Module) -> None: method is_rewrite_disabled (line 772) | def is_rewrite_disabled(docstring: str) -> bool: method variable (line 775) | def variable(self) -> str: method assign (line 782) | def assign(self, expr: ast.expr) -> ast.Name: method display (line 788) | def display(self, expr: ast.expr) -> ast.expr: method helper (line 792) | def helper(self, name: str, *args: ast.expr) -> ast.expr: method builtin (line 798) | def builtin(self, name: str) -> ast.Attribute: method explanation_param (line 803) | def explanation_param(self, expr: ast.expr) -> str: method push_format_context (line 815) | def push_format_context(self) -> None: method pop_format_context (line 828) | def pop_format_context(self, expl_expr: ast.expr) -> ast.Name: method generic_visit (line 848) | def generic_visit(self, node: ast.AST) -> tuple[ast.Name, str]: method visit_Assert (line 854) | def visit_Assert(self, assert_: ast.Assert) -> list[ast.stmt]: method visit_NamedExpr (line 975) | def visit_NamedExpr(self, name: ast.NamedExpr) -> tuple[ast.NamedExpr,... method visit_Name (line 987) | def visit_Name(self, name: ast.Name) -> tuple[ast.Name, str]: method visit_BoolOp (line 997) | def visit_BoolOp(self, boolop: ast.BoolOp) -> tuple[ast.Name, str]: method visit_UnaryOp (line 1043) | def visit_UnaryOp(self, unary: ast.UnaryOp) -> tuple[ast.Name, str]: method visit_BinOp (line 1049) | def visit_BinOp(self, binop: ast.BinOp) -> tuple[ast.Name, str]: method visit_Call (line 1059) | def visit_Call(self, call: ast.Call) -> tuple[ast.Name, str]: method visit_Starred (line 1092) | def visit_Starred(self, starred: ast.Starred) -> tuple[ast.Starred, str]: method visit_Attribute (line 1098) | def visit_Attribute(self, attr: ast.Attribute) -> tuple[ast.Name, str]: method visit_Compare (line 1110) | def visit_Compare(self, comp: ast.Compare) -> tuple[ast.expr, str]: function try_makedirs (line 1166) | def try_makedirs(cache_dir: Path) -> bool: function get_cache_dir (line 1191) | def get_cache_dir(file_path: Path) -> Path: FILE: src/_pytest/assertion/truncate.py function truncate_if_required (line 19) | def truncate_if_required(explanation: list[str], item: Item) -> list[str]: function _get_truncation_parameters (line 31) | def _get_truncation_parameters(item: Item) -> tuple[bool, int, int]: function _truncate_explanation (line 52) | def _truncate_explanation( function _truncate_by_char_count (line 113) | def _truncate_by_char_count(input_lines: list[str], max_chars: int) -> l... FILE: src/_pytest/assertion/util.py class _HighlightFunc (line 41) | class _HighlightFunc(Protocol): method __call__ (line 42) | def __call__(self, source: str, lexer: Literal["diff", "python"] = "py... function dummy_highlighter (line 46) | def dummy_highlighter(source: str, lexer: Literal["diff", "python"] = "p... function format_explanation (line 54) | def format_explanation(explanation: str) -> str: function _split_explanation (line 69) | def _split_explanation(explanation: str) -> list[str]: function _format_lines (line 86) | def _format_lines(lines: Sequence[str]) -> list[str]: function issequence (line 121) | def issequence(x: Any) -> bool: function istext (line 125) | def istext(x: Any) -> bool: function isdict (line 129) | def isdict(x: Any) -> bool: function isset (line 133) | def isset(x: Any) -> bool: function isnamedtuple (line 137) | def isnamedtuple(obj: Any) -> bool: function isdatacls (line 141) | def isdatacls(obj: Any) -> bool: function isattrs (line 145) | def isattrs(obj: Any) -> bool: function isiterable (line 149) | def isiterable(obj: Any) -> bool: function has_default_eq (line 157) | def has_default_eq( function assertrepr_compare (line 178) | def assertrepr_compare( function _compare_eq_any (line 248) | def _compare_eq_any( function _diff_text (line 285) | def _diff_text( function _compare_eq_iterable (line 340) | def _compare_eq_iterable( function _compare_eq_sequence (line 369) | def _compare_eq_sequence( function _compare_eq_set (line 429) | def _compare_eq_set( function _compare_gt_set (line 441) | def _compare_gt_set( function _compare_lt_set (line 453) | def _compare_lt_set( function _compare_gte_set (line 465) | def _compare_gte_set( function _compare_lte_set (line 474) | def _compare_lte_set( function _set_one_sided_diff (line 483) | def _set_one_sided_diff( function _compare_eq_dict (line 498) | def _compare_eq_dict( function _compare_eq_cls (line 544) | def _compare_eq_cls( function _notin_text (line 599) | def _notin_text(term: str, text: str, verbose: int = 0) -> list[str]: FILE: src/_pytest/cacheprovider.py function _make_cachedir (line 58) | def _make_cachedir(target: Path) -> None: class Cache (line 91) | class Cache: method __init__ (line 103) | def __init__( method for_config (line 111) | def for_config(cls, config: Config, *, _ispytest: bool = False) -> Cache: method clear_cache (line 123) | def clear_cache(cls, cachedir: Path, _ispytest: bool = False) -> None: method cache_dir_from_config (line 135) | def cache_dir_from_config(config: Config, *, _ispytest: bool = False) ... method warn (line 143) | def warn(self, fmt: str, *, _ispytest: bool = False, **args: object) -... method _mkdir (line 159) | def _mkdir(self, path: Path) -> None: method mkdir (line 163) | def mkdir(self, name: str) -> Path: method _getvaluepath (line 184) | def _getvaluepath(self, key: str) -> Path: method get (line 187) | def get(self, key: str, default): method set (line 206) | def set(self, key: str, value: object) -> None: method _ensure_cache_dir_and_supporting_files (line 237) | def _ensure_cache_dir_and_supporting_files(self) -> None: class LFPluginCollWrapper (line 243) | class LFPluginCollWrapper: method __init__ (line 244) | def __init__(self, lfplugin: LFPlugin) -> None: method pytest_make_collect_report (line 249) | def pytest_make_collect_report( class LFPluginCollSkipfiles (line 295) | class LFPluginCollSkipfiles: method __init__ (line 296) | def __init__(self, lfplugin: LFPlugin) -> None: method pytest_make_collect_report (line 300) | def pytest_make_collect_report( class LFPlugin (line 313) | class LFPlugin: method __init__ (line 316) | def __init__(self, config: Config) -> None: method get_last_failed_paths (line 332) | def get_last_failed_paths(self) -> set[Path]: method pytest_report_collectionfinish (line 343) | def pytest_report_collectionfinish(self) -> str | None: method pytest_runtest_logreport (line 348) | def pytest_runtest_logreport(self, report: TestReport) -> None: method pytest_collectreport (line 354) | def pytest_collectreport(self, report: CollectReport) -> None: method pytest_collection_modifyitems (line 364) | def pytest_collection_modifyitems( method pytest_sessionfinish (line 415) | def pytest_sessionfinish(self, session: Session) -> None: class NFPlugin (line 426) | class NFPlugin: method __init__ (line 429) | def __init__(self, config: Config) -> None: method pytest_collection_modifyitems (line 436) | def pytest_collection_modifyitems(self, items: list[nodes.Item]) -> Ge... method _get_increasing_order (line 457) | def _get_increasing_order(self, items: Iterable[nodes.Item]) -> list[n... method pytest_sessionfinish (line 460) | def pytest_sessionfinish(self) -> None: function pytest_addoption (line 472) | def pytest_addoption(parser: Parser) -> None: function pytest_cmdline_main (line 537) | def pytest_cmdline_main(config: Config) -> int | ExitCode | None: function pytest_configure (line 546) | def pytest_configure(config: Config) -> None: function cache (line 560) | def cache(request: FixtureRequest) -> Cache: function pytest_report_header (line 575) | def pytest_report_header(config: Config) -> str | None: function cacheshow (line 591) | def cacheshow(config: Config, session: Session) -> int: FILE: src/_pytest/capture.py function pytest_addoption (line 49) | def pytest_addoption(parser: Parser) -> None: function _colorama_workaround (line 68) | def _colorama_workaround() -> None: function _readline_workaround (line 83) | def _readline_workaround() -> None: function _windowsconsoleio_workaround (line 100) | def _windowsconsoleio_workaround(stream: TextIO) -> None: function pytest_load_initial_conftests (line 156) | def pytest_load_initial_conftests(early_config: Config) -> Generator[None]: class EncodedFile (line 186) | class EncodedFile(io.TextIOWrapper): method name (line 190) | def name(self) -> str: method mode (line 196) | def mode(self) -> str: class CaptureIO (line 203) | class CaptureIO(io.TextIOWrapper): method __init__ (line 204) | def __init__(self) -> None: method getvalue (line 207) | def getvalue(self) -> str: class TeeCaptureIO (line 212) | class TeeCaptureIO(CaptureIO): method __init__ (line 213) | def __init__(self, other: TextIO) -> None: method write (line 217) | def write(self, s: str) -> int: class DontReadFromInput (line 222) | class DontReadFromInput(TextIO): method encoding (line 224) | def encoding(self) -> str: method read (line 228) | def read(self, size: int = -1) -> str: method __next__ (line 235) | def __next__(self) -> str: method readlines (line 238) | def readlines(self, hint: int | None = -1) -> list[str]: method __iter__ (line 243) | def __iter__(self) -> Iterator[str]: method fileno (line 246) | def fileno(self) -> int: method flush (line 249) | def flush(self) -> None: method isatty (line 252) | def isatty(self) -> bool: method close (line 255) | def close(self) -> None: method readable (line 258) | def readable(self) -> bool: method seek (line 261) | def seek(self, offset: int, whence: int = 0) -> int: method seekable (line 264) | def seekable(self) -> bool: method tell (line 267) | def tell(self) -> int: method truncate (line 270) | def truncate(self, size: int | None = None) -> int: method write (line 273) | def write(self, data: str) -> int: method writelines (line 276) | def writelines(self, lines: Iterable[str]) -> None: method writable (line 279) | def writable(self) -> bool: method __enter__ (line 282) | def __enter__(self) -> Self: method __exit__ (line 285) | def __exit__( method buffer (line 294) | def buffer(self) -> BinaryIO: class CaptureBase (line 302) | class CaptureBase(abc.ABC, Generic[AnyStr]): method __init__ (line 306) | def __init__(self, fd: int) -> None: method start (line 310) | def start(self) -> None: method done (line 314) | def done(self) -> None: method suspend (line 318) | def suspend(self) -> None: method resume (line 322) | def resume(self) -> None: method writeorg (line 326) | def writeorg(self, data: AnyStr) -> None: method snap (line 330) | def snap(self) -> AnyStr: class NoCapture (line 337) | class NoCapture(CaptureBase[str]): method __init__ (line 340) | def __init__(self, fd: int) -> None: method start (line 343) | def start(self) -> None: method done (line 346) | def done(self) -> None: method suspend (line 349) | def suspend(self) -> None: method resume (line 352) | def resume(self) -> None: method snap (line 355) | def snap(self) -> str: method writeorg (line 358) | def writeorg(self, data: str) -> None: class SysCaptureBase (line 362) | class SysCaptureBase(CaptureBase[AnyStr]): method __init__ (line 363) | def __init__( method repr (line 377) | def repr(self, class_name: str) -> str: method __repr__ (line 386) | def __repr__(self) -> str: method _assert_state (line 395) | def _assert_state(self, op: str, states: tuple[str, ...]) -> None: method start (line 402) | def start(self) -> None: method done (line 407) | def done(self) -> None: method suspend (line 416) | def suspend(self) -> None: method resume (line 421) | def resume(self) -> None: class SysCaptureBinary (line 429) | class SysCaptureBinary(SysCaptureBase[bytes]): method snap (line 432) | def snap(self) -> bytes: method writeorg (line 440) | def writeorg(self, data: bytes) -> None: class SysCapture (line 447) | class SysCapture(SysCaptureBase[str]): method snap (line 450) | def snap(self) -> str: method writeorg (line 458) | def writeorg(self, data: str) -> None: class FDCaptureBase (line 464) | class FDCaptureBase(CaptureBase[AnyStr]): method __init__ (line 465) | def __init__(self, targetfd: int) -> None: method __repr__ (line 506) | def __repr__(self) -> str: method _assert_state (line 512) | def _assert_state(self, op: str, states: tuple[str, ...]) -> None: method start (line 519) | def start(self) -> None: method done (line 526) | def done(self) -> None: method suspend (line 542) | def suspend(self) -> None: method resume (line 550) | def resume(self) -> None: class FDCaptureBinary (line 559) | class FDCaptureBinary(FDCaptureBase[bytes]): method snap (line 567) | def snap(self) -> bytes: method writeorg (line 575) | def writeorg(self, data: bytes) -> None: class FDCapture (line 581) | class FDCapture(FDCaptureBase[str]): method snap (line 589) | def snap(self) -> str: method writeorg (line 597) | def writeorg(self, data: str) -> None: class CaptureResult (line 611) | class CaptureResult(NamedTuple, Generic[AnyStr]): class CaptureResult (line 619) | class CaptureResult( class MultiCapture (line 628) | class MultiCapture(Generic[AnyStr]): method __init__ (line 632) | def __init__( method __repr__ (line 642) | def __repr__(self) -> str: method start_capturing (line 648) | def start_capturing(self) -> None: method pop_outerr_to_orig (line 657) | def pop_outerr_to_orig(self) -> tuple[AnyStr, AnyStr]: method suspend_capturing (line 668) | def suspend_capturing(self, in_: bool = False) -> None: method resume_capturing (line 678) | def resume_capturing(self) -> None: method stop_capturing (line 689) | def stop_capturing(self) -> None: method is_started (line 701) | def is_started(self) -> bool: method readouterr (line 705) | def readouterr(self) -> CaptureResult[AnyStr]: function _get_multicapture (line 712) | def _get_multicapture(method: _CaptureMethod) -> MultiCapture[str]: class CaptureManager (line 729) | class CaptureManager: method __init__ (line 748) | def __init__(self, method: _CaptureMethod) -> None: method __repr__ (line 753) | def __repr__(self) -> str: method is_capturing (line 759) | def is_capturing(self) -> str | bool: method is_globally_capturing (line 768) | def is_globally_capturing(self) -> bool: method start_global_capturing (line 771) | def start_global_capturing(self) -> None: method stop_global_capturing (line 776) | def stop_global_capturing(self) -> None: method resume_global_capture (line 782) | def resume_global_capture(self) -> None: method suspend_global_capture (line 788) | def suspend_global_capture(self, in_: bool = False) -> None: method suspend (line 792) | def suspend(self, in_: bool = False) -> None: method resume (line 797) | def resume(self) -> None: method read_global_capture (line 801) | def read_global_capture(self) -> CaptureResult[str]: method set_fixture (line 807) | def set_fixture(self, capture_fixture: CaptureFixture[Any]) -> None: method unset_fixture (line 816) | def unset_fixture(self) -> None: method activate_fixture (line 819) | def activate_fixture(self) -> None: method deactivate_fixture (line 825) | def deactivate_fixture(self) -> None: method suspend_fixture (line 830) | def suspend_fixture(self) -> None: method resume_fixture (line 834) | def resume_fixture(self) -> None: method global_and_fixture_disabled (line 841) | def global_and_fixture_disabled(self) -> Generator[None]: method item_capture (line 858) | def item_capture(self, when: str, item: Item) -> Generator[None]: method pytest_make_collect_report (line 874) | def pytest_make_collect_report( method pytest_runtest_setup (line 893) | def pytest_runtest_setup(self, item: Item) -> Generator[None]: method pytest_runtest_call (line 898) | def pytest_runtest_call(self, item: Item) -> Generator[None]: method pytest_runtest_teardown (line 903) | def pytest_runtest_teardown(self, item: Item) -> Generator[None]: method pytest_keyboard_interrupt (line 908) | def pytest_keyboard_interrupt(self) -> None: method pytest_internalerror (line 912) | def pytest_internalerror(self) -> None: class CaptureFixture (line 916) | class CaptureFixture(Generic[AnyStr]): method __init__ (line 920) | def __init__( method _start (line 936) | def _start(self) -> None: method close (line 945) | def close(self) -> None: method readouterr (line 953) | def readouterr(self) -> CaptureResult[AnyStr]: method _suspend (line 970) | def _suspend(self) -> None: method _resume (line 975) | def _resume(self) -> None: method _is_started (line 980) | def _is_started(self) -> bool: method disabled (line 987) | def disabled(self) -> Generator[None]: function capsys (line 1000) | def capsys(request: SubRequest) -> Generator[CaptureFixture[str]]: function capteesys (line 1028) | def capteesys(request: SubRequest) -> Generator[CaptureFixture[str]]: function capsysbinary (line 1063) | def capsysbinary(request: SubRequest) -> Generator[CaptureFixture[bytes]]: function capfd (line 1091) | def capfd(request: SubRequest) -> Generator[CaptureFixture[str]]: function capfdbinary (line 1119) | def capfdbinary(request: SubRequest) -> Generator[CaptureFixture[bytes]]: FILE: src/_pytest/compat.py function legacy_path (line 36) | def legacy_path(path: str | os.PathLike[str]) -> LEGACY_PATH: class NotSetType (line 44) | class NotSetType(enum.Enum): function iscoroutinefunction (line 50) | def iscoroutinefunction(func: object) -> bool: function is_async_function (line 62) | def is_async_function(func: object) -> bool: function signature (line 68) | def signature(obj: Callable[..., Any]) -> Signature: function getlocation (line 75) | def getlocation(function, curdir: str | os.PathLike[str] | None = None) ... function num_mock_patch_args (line 89) | def num_mock_patch_args(function) -> int: function getfuncargnames (line 108) | def getfuncargnames( function get_default_arg_names (line 176) | def get_default_arg_names(function: Callable[..., Any]) -> tuple[str, ...]: function ascii_escaped (line 196) | def ascii_escaped(val: bytes | str) -> str: function get_real_func (line 219) | def get_real_func(obj): function getimfunc (line 229) | def getimfunc(func): function safe_getattr (line 236) | def safe_getattr(object: Any, name: str, default: Any) -> Any: function safe_isclass (line 253) | def safe_isclass(obj: object) -> bool: function get_user_id (line 261) | def get_user_id() -> int | None: function assert_never (line 286) | def assert_never(value: NoReturn) -> NoReturn: class CallableBool (line 290) | class CallableBool: method __init__ (line 300) | def __init__(self, value: bool) -> None: method __bool__ (line 303) | def __bool__(self) -> bool: method __call__ (line 306) | def __call__(self) -> bool: function running_on_ci (line 310) | def running_on_ci() -> bool: function deprecated (line 325) | def deprecated(msg, /, *, category=None, stacklevel=1): FILE: src/_pytest/config/__init__.py class ExitCode (line 100) | class ExitCode(enum.IntEnum): class ConftestImportFailure (line 124) | class ConftestImportFailure(Exception): method __init__ (line 125) | def __init__( method __str__ (line 134) | def __str__(self) -> str: function filter_traceback_for_conftest_import_failure (line 138) | def filter_traceback_for_conftest_import_failure( function print_conftest_import_error (line 149) | def print_conftest_import_error(e: ConftestImportFailure, file: TextIO) ... function print_usage_error (line 166) | def print_usage_error(e: UsageError, file: TextIO) -> None: function main (line 172) | def main( function console_main (line 218) | def console_main() -> int: class cmdline (line 236) | class cmdline: # compatibility namespace function filename_arg (line 240) | def filename_arg(path: str, optname: str) -> str: function directory_arg (line 251) | def directory_arg(path: str, optname: str) -> str: function get_config (line 308) | def get_config( function get_plugin_manager (line 331) | def get_plugin_manager() -> PytestPluginManager: function _prepareconfig (line 342) | def _prepareconfig( function _get_directory (line 372) | def _get_directory(path: pathlib.Path) -> pathlib.Path: function _get_legacy_hook_marks (line 380) | def _get_legacy_hook_marks( class PytestPluginManager (line 413) | class PytestPluginManager(PluginManager): method __init__ (line 422) | def __init__(self) -> None: method parse_hookimpl_opts (line 474) | def parse_hookimpl_opts( method parse_hookspec_opts (line 501) | def parse_hookspec_opts(self, module_or_class, name: str) -> HookspecO... method register (line 513) | def register(self, plugin: _PluggyPlugin, name: str | None = None) -> ... method getplugin (line 538) | def getplugin(self, name: str): method hasplugin (line 543) | def hasplugin(self, name: str) -> bool: method pytest_configure (line 547) | def pytest_configure(self, config: Config) -> None: method _set_initial_conftests (line 568) | def _set_initial_conftests( method _is_in_confcutdir (line 619) | def _is_in_confcutdir(self, path: pathlib.Path) -> bool: method _try_load_conftest (line 634) | def _try_load_conftest( method _loadconftestmodules (line 659) | def _loadconftestmodules( method _getconftestmodules (line 691) | def _getconftestmodules(self, path: pathlib.Path) -> Sequence[types.Mo... method _rget_with_confmod (line 695) | def _rget_with_confmod( method _importconftest (line 708) | def _importconftest( method _check_non_top_pytest_plugins (line 761) | def _check_non_top_pytest_plugins( method consider_preparse (line 787) | def consider_preparse( method consider_pluginarg (line 812) | def consider_pluginarg(self, arg: str) -> None: method consider_conftest (line 841) | def consider_conftest( method consider_env (line 847) | def consider_env(self) -> None: method consider_module (line 851) | def consider_module(self, mod: types.ModuleType) -> None: method _import_plugin_specs (line 855) | def _import_plugin_specs( method import_plugin (line 862) | def import_plugin(self, modname: str, consider_entry_points: bool = Fa... function _get_plugin_specs_as_list (line 905) | def _get_plugin_specs_as_list( function _iter_rewritable_modules (line 926) | def _iter_rewritable_modules(package_files: Iterable[str]) -> Iterator[s... class _DeprecatedInicfgProxy (line 991) | class _DeprecatedInicfgProxy(MutableMapping[str, Any]): method __init__ (line 996) | def __init__(self, config: Config) -> None: method __getitem__ (line 999) | def __getitem__(self, key: str) -> Any: method __setitem__ (line 1002) | def __setitem__(self, key: str, value: Any) -> None: method __delitem__ (line 1005) | def __delitem__(self, key: str) -> None: method __iter__ (line 1008) | def __iter__(self) -> Iterator[str]: method __len__ (line 1011) | def __len__(self) -> int: class Config (line 1016) | class Config: class InvocationParams (line 1029) | class InvocationParams: method __init__ (line 1051) | def __init__( class ArgsSource (line 1062) | class ArgsSource(enum.Enum): method __init__ (line 1079) | def __init__( method inicfg (line 1141) | def inicfg(self) -> _DeprecatedInicfgProxy: method inicfg (line 1146) | def inicfg(self) -> _DeprecatedInicfgProxy: method rootpath (line 1154) | def rootpath(self) -> pathlib.Path: method inipath (line 1162) | def inipath(self) -> pathlib.Path | None: method add_cleanup (line 1169) | def add_cleanup(self, func: Callable[[], None]) -> None: method _do_configure (line 1175) | def _do_configure(self) -> None: method _ensure_unconfigure (line 1180) | def _ensure_unconfigure(self) -> None: method get_terminal_writer (line 1194) | def get_terminal_writer(self) -> TerminalWriter: method pytest_cmdline_parse (line 1201) | def pytest_cmdline_parse( method notify_exception (line 1228) | def notify_exception( method cwd_relative_nodeid (line 1246) | def cwd_relative_nodeid(self, nodeid: str) -> str: method fromdictargs (line 1258) | def fromdictargs(cls, option_dict: Mapping[str, Any], args: list[str])... method _processopt (line 1267) | def _processopt(self, opt: Argument) -> None: method pytest_load_initial_conftests (line 1272) | def pytest_load_initial_conftests(self, early_config: Config) -> None: method _consider_importhook (line 1298) | def _consider_importhook(self) -> None: method _mark_plugins_for_rewrite (line 1321) | def _mark_plugins_for_rewrite( method _configure_python_path (line 1344) | def _configure_python_path(self) -> None: method _unconfigure_python_path (line 1350) | def _unconfigure_python_path(self) -> None: method _validate_args (line 1356) | def _validate_args(self, args: list[str], via: str) -> list[str]: method _decide_args (line 1368) | def _decide_args( method pytest_collection (line 1414) | def pytest_collection(self) -> Generator[None, object, object]: method _checkversion (line 1422) | def _checkversion(self) -> None: method _validate_config_options (line 1435) | def _validate_config_options(self) -> None: method _validate_plugins (line 1439) | def _validate_plugins(self) -> None: method _warn_or_fail_if_strict (line 1472) | def _warn_or_fail_if_strict(self, message: str) -> None: method _get_unknown_ini_keys (line 1481) | def _get_unknown_ini_keys(self) -> set[str]: method parse (line 1485) | def parse(self, args: list[str], addopts: bool = True) -> None: method issue_config_time_warning (line 1593) | def issue_config_time_warning(self, warning: Warning, stacklevel: int)... method addinivalue_line (line 1628) | def addinivalue_line(self, name: str, line: str) -> None: method getini (line 1636) | def getini(self, name: str) -> Any: method _getini_unknown_type (line 1676) | def _getini_unknown_type(self, name: str, type: str, value: object): method _getini (line 1682) | def _getini(self, name: str): method _getini_ini (line 1719) | def _getini_ini( method _getini_toml (line 1780) | def _getini_toml( method _getconftest_pathlist (line 1864) | def _getconftest_pathlist( method getoption (line 1883) | def getoption(self, name: str, default: Any = NOTSET, skip: bool = Fal... method getvalue (line 1908) | def getvalue(self, name: str, path=None): method getvalueorskip (line 1912) | def getvalueorskip(self, name: str, path=None): method get_verbosity (line 1925) | def get_verbosity(self, verbosity_type: str | None = None) -> int: method _verbosity_ini_name (line 1980) | def _verbosity_ini_name(verbosity_type: str) -> str: method _add_verbosity_ini (line 1984) | def _add_verbosity_ini(parser: Parser, verbosity_type: str, help: str)... method _warn_about_missing_assertion (line 2001) | def _warn_about_missing_assertion(self, mode: str) -> None: method _warn_about_skipped_plugins (line 2022) | def _warn_about_skipped_plugins(self) -> None: function _assertion_supported (line 2030) | def _assertion_supported() -> bool: function create_terminal_writer (line 2039) | def create_terminal_writer( function _strtobool (line 2063) | def _strtobool(val: str) -> bool: function parse_warning_filter (line 2082) | def parse_warning_filter( function _resolve_warning_category (line 2162) | def _resolve_warning_category(category: str) -> type[Warning]: function apply_warning_filters (line 2184) | def apply_warning_filters( FILE: src/_pytest/config/argparsing.py class Parser (line 25) | class Parser: method __init__ (line 32) | def __init__( method prog (line 61) | def prog(self) -> str: method prog (line 65) | def prog(self, value: str) -> None: method processoption (line 68) | def processoption(self, option: Argument) -> None: method getgroup (line 73) | def getgroup( method addoption (line 104) | def addoption(self, *opts: str, **attrs: Any) -> None: method parse (line 120) | def parse( method parse_known_args (line 144) | def parse_known_args( method parse_known_and_unknown_args (line 155) | def parse_known_and_unknown_args( method addini (line 180) | def addini( function get_ini_default_for_type (line 263) | def get_ini_default_for_type( class Argument (line 284) | class Argument: method __init__ (line 287) | def __init__(self, action: argparse.Action) -> None: method attrs (line 290) | def attrs(self) -> dict[str, Any]: method names (line 293) | def names(self) -> Sequence[str]: method dest (line 297) | def dest(self) -> str: method default (line 301) | def default(self) -> Any: method type (line 305) | def type(self) -> Any | None: method __repr__ (line 308) | def __repr__(self) -> str: class OptionGroup (line 318) | class OptionGroup: method __init__ (line 321) | def __init__( method addoption (line 334) | def addoption(self, *opts: str, **attrs: Any) -> None: method _addoption (line 356) | def _addoption(self, *opts: str, **attrs: Any) -> None: method _addoption_inner (line 361) | def _addoption_inner( class PytestArgumentParser (line 378) | class PytestArgumentParser(argparse.ArgumentParser): method __init__ (line 379) | def __init__( method error (line 395) | def error(self, message: str) -> NoReturn: class DropShorterLongHelpFormatter (line 407) | class DropShorterLongHelpFormatter(argparse.HelpFormatter): method __init__ (line 414) | def __init__(self, *args: Any, **kwargs: Any) -> None: method _format_action_invocation (line 420) | def _format_action_invocation(self, action: argparse.Action) -> str: method _split_lines (line 451) | def _split_lines(self, text: str, width: int) -> list[str]: class OverrideIniAction (line 462) | class OverrideIniAction(argparse.Action): method __init__ (line 470) | def __init__( method __call__ (line 484) | def __call__( FILE: src/_pytest/config/exceptions.py class UsageError (line 7) | class UsageError(Exception): class PrintHelp (line 13) | class PrintHelp(Exception): FILE: src/_pytest/config/findpaths.py class ConfigValue (line 23) | class ConfigValue: function _parse_ini_config (line 46) | def _parse_ini_config(path: Path) -> iniconfig.IniConfig: function load_config_dict_from_file (line 58) | def load_config_dict_from_file( function locate_config (line 158) | def locate_config( function get_common_ancestor (line 205) | def get_common_ancestor( function get_dirs_from_args (line 231) | def get_dirs_from_args(args: Iterable[str]) -> list[Path]: function parse_override_ini (line 253) | def parse_override_ini(override_ini: Sequence[str] | None) -> ConfigDict: function determine_setup (line 278) | def determine_setup( function is_fs_root (line 345) | def is_fs_root(p: Path) -> bool: FILE: src/_pytest/debugging.py function _validate_usepdb_cls (line 30) | def _validate_usepdb_cls(value: str) -> tuple[str, str]: function pytest_addoption (line 41) | def pytest_addoption(parser: Parser) -> None: function pytest_configure (line 65) | def pytest_configure(config: Config) -> None: class pytestPDB (line 92) | class pytestPDB: method _is_capturing (line 104) | def _is_capturing(cls, capman: CaptureManager | None) -> str | bool: method _import_pdb_cls (line 110) | def _import_pdb_cls(cls, capman: CaptureManager | None): method _get_pdb_wrapper_class (line 148) | def _get_pdb_wrapper_class(cls, pdb_cls, capman: CaptureManager | None): method _init_pdb (line 240) | def _init_pdb(cls, method, *args, **kwargs): method set_trace (line 279) | def set_trace(cls, *args, **kwargs) -> None: class PdbInvoke (line 286) | class PdbInvoke: method pytest_exception_interact (line 287) | def pytest_exception_interact( method pytest_internalerror (line 299) | def pytest_internalerror(self, excinfo: ExceptionInfo[BaseException]) ... class PdbTrace (line 304) | class PdbTrace: method pytest_pyfunc_call (line 306) | def pytest_pyfunc_call(self, pyfuncitem) -> Generator[None, object, ob... function wrap_pytest_function_for_tracing (line 311) | def wrap_pytest_function_for_tracing(pyfuncitem) -> None: function maybe_wrap_pytest_function_for_tracing (line 330) | def maybe_wrap_pytest_function_for_tracing(pyfuncitem) -> None: function _enter_pdb (line 337) | def _enter_pdb( function _postmortem_exc_or_tb (line 368) | def _postmortem_exc_or_tb( function post_mortem (line 399) | def post_mortem(tb_or_exc: types.TracebackType | BaseException) -> None: FILE: src/_pytest/deprecated.py function check_ispytest (line 97) | def check_ispytest(ispytest: bool) -> None: FILE: src/_pytest/doctest.py function pytest_addoption (line 70) | def pytest_addoption(parser: Parser) -> None: function pytest_unconfigure (line 120) | def pytest_unconfigure() -> None: function pytest_collect_file (line 126) | def pytest_collect_file( function _is_setup_py (line 141) | def _is_setup_py(path: Path) -> bool: function _is_doctest (line 148) | def _is_doctest(config: Config, path: Path, parent: Collector) -> bool: function _is_main_py (line 155) | def _is_main_py(path: Path) -> bool: class ReprFailDoctest (line 159) | class ReprFailDoctest(TerminalRepr): method __init__ (line 160) | def __init__( method toterminal (line 165) | def toterminal(self, tw: TerminalWriter) -> None: class MultipleDoctestFailures (line 172) | class MultipleDoctestFailures(Exception): method __init__ (line 173) | def __init__(self, failures: Sequence[doctest.DocTestFailure]) -> None: function _init_runner_class (line 178) | def _init_runner_class() -> type[doctest.DocTestRunner]: function _get_runner (line 231) | def _get_runner( class DoctestItem (line 251) | class DoctestItem(Item): method __init__ (line 252) | def __init__( method from_parent (line 272) | def from_parent( # type: ignore[override] method _initrequest (line 284) | def _initrequest(self) -> None: method setup (line 288) | def setup(self) -> None: method runtest (line 295) | def runtest(self) -> None: method _disable_output_capturing_for_darwin (line 305) | def _disable_output_capturing_for_darwin(self) -> None: method repr_failure (line 317) | def repr_failure( # type: ignore[override] method reportinfo (line 381) | def reportinfo(self) -> tuple[os.PathLike[str] | str, int | None, str]: function _get_flag_lookup (line 385) | def _get_flag_lookup() -> dict[str, int]: function get_optionflags (line 401) | def get_optionflags(config: Config) -> int: function _get_continue_on_failure (line 410) | def _get_continue_on_failure(config: Config) -> bool: class DoctestTextfile (line 420) | class DoctestTextfile(Module): method collect (line 423) | def collect(self) -> Iterable[DoctestItem]: function _check_all_skipped (line 451) | def _check_all_skipped(test: doctest.DocTest) -> None: function _is_mocked (line 461) | def _is_mocked(obj: object) -> bool: function _patch_unwrap_mock_aware (line 471) | def _patch_unwrap_mock_aware() -> Generator[None]: class DoctestModule (line 500) | class DoctestModule(Module): method collect (line 501) | def collect(self) -> Iterable[DoctestItem]: function _init_checker_class (line 576) | def _init_checker_class() -> type[doctest.OutputChecker]: function _get_checker (line 663) | def _get_checker() -> doctest.OutputChecker: function _get_allow_unicode_flag (line 683) | def _get_allow_unicode_flag() -> int: function _get_allow_bytes_flag (line 690) | def _get_allow_bytes_flag() -> int: function _get_number_flag (line 697) | def _get_number_flag() -> int: function _get_report_choice (line 704) | def _get_report_choice(key: str) -> int: function doctest_namespace (line 722) | def doctest_namespace() -> dict[str, Any]: FILE: src/_pytest/faulthandler.py function pytest_addoption (line 18) | def pytest_addoption(parser: Parser) -> None: function pytest_configure (line 33) | def pytest_configure(config: Config) -> None: function pytest_unconfigure (line 48) | def pytest_unconfigure(config: Config) -> None: function get_stderr_fileno (line 62) | def get_stderr_fileno() -> int: function get_timeout_config_value (line 78) | def get_timeout_config_value(config: Config) -> float: function get_exit_on_timeout_config_value (line 82) | def get_exit_on_timeout_config_value(config: Config) -> bool: function pytest_runtest_protocol (line 89) | def pytest_runtest_protocol(item: Item) -> Generator[None, object, object]: function pytest_enter_pdb (line 106) | def pytest_enter_pdb() -> None: function pytest_exception_interact (line 114) | def pytest_exception_interact() -> None: FILE: src/_pytest/fixtures.py function pytest_sessionstart (line 108) | def pytest_sessionstart(session: Session) -> None: function get_scope_package (line 112) | def get_scope_package( function get_scope_node (line 124) | def get_scope_node(node: nodes.Node, scope: Scope) -> nodes.Node | None: function getfixturemarker (line 150) | def getfixturemarker(obj: object) -> FixtureFunctionMarker | None: class ParamArgKey (line 164) | class ParamArgKey: function get_param_argkeys (line 186) | def get_param_argkeys(item: nodes.Item, scope: Scope) -> Iterator[ParamA... function reorder_items (line 216) | def reorder_items(items: Sequence[nodes.Item]) -> list[nodes.Item]: function reorder_items_atscope (line 237) | def reorder_items_atscope( class FuncFixtureInfo (line 303) | class FuncFixtureInfo: method prune_dependency_tree (line 333) | def prune_dependency_tree(self) -> None: class FixtureRequest (line 356) | class FixtureRequest(abc.ABC): method __init__ (line 363) | def __init__( method _fixturemanager (line 394) | def _fixturemanager(self) -> FixtureManager: method _scope (line 399) | def _scope(self) -> Scope: method scope (line 403) | def scope(self) -> _ScopeName: method _check_scope (line 408) | def _check_scope( method fixturenames (line 416) | def fixturenames(self) -> list[str]: method node (line 424) | def node(self): method config (line 429) | def config(self) -> Config: method function (line 434) | def function(self): method cls (line 443) | def cls(self): method instance (line 452) | def instance(self): method module (line 459) | def module(self): method path (line 468) | def path(self) -> Path: method keywords (line 475) | def keywords(self) -> MutableMapping[str, Any]: method session (line 481) | def session(self) -> Session: method addfinalizer (line 486) | def addfinalizer(self, finalizer: Callable[[], object]) -> None: method applymarker (line 491) | def applymarker(self, marker: str | MarkDecorator) -> None: method raiseerror (line 502) | def raiseerror(self, msg: str | None) -> NoReturn: method _raise_teardown_lookup_error (line 510) | def _raise_teardown_lookup_error(self, argname: str) -> NoReturn: method getfixturevalue (line 520) | def getfixturevalue(self, argname: str) -> Any: method _iter_chain (line 553) | def _iter_chain(self) -> Iterator[SubRequest]: method _get_active_fixturedef (line 563) | def _get_active_fixturedef(self, argname: str) -> FixtureDef[object]: method _check_fixturedef_without_param (line 647) | def _check_fixturedef_without_param(self, fixturedef: FixtureDef[objec... method _get_fixturestack (line 680) | def _get_fixturestack(self) -> list[FixtureDef[Any]]: class TopRequest (line 687) | class TopRequest(FixtureRequest): method __init__ (line 690) | def __init__(self, pyfuncitem: Function, *, _ispytest: bool = False) -... method _scope (line 700) | def _scope(self) -> Scope: method _check_scope (line 703) | def _check_scope( method node (line 712) | def node(self): method __repr__ (line 715) | def __repr__(self) -> str: method _fillfixtures (line 718) | def _fillfixtures(self) -> None: method addfinalizer (line 724) | def addfinalizer(self, finalizer: Callable[[], object]) -> None: class SubRequest (line 729) | class SubRequest(FixtureRequest): method __init__ (line 733) | def __init__( method __repr__ (line 771) | def __repr__(self) -> str: method _scope (line 775) | def _scope(self) -> Scope: method node (line 779) | def node(self): method _check_scope (line 782) | def _check_scope( method _format_fixturedef_line (line 803) | def _format_fixturedef_line(self, fixturedef: FixtureDef[object]) -> str: method addfinalizer (line 811) | def addfinalizer(self, finalizer: Callable[[], object]) -> None: class FixtureLookupError (line 816) | class FixtureLookupError(LookupError): method __init__ (line 819) | def __init__( method formatrepr (line 827) | def formatrepr(self) -> FixtureLookupErrorRepr: class FixtureLookupErrorRepr (line 873) | class FixtureLookupErrorRepr(TerminalRepr): method __init__ (line 874) | def __init__( method toterminal (line 888) | def toterminal(self, tw: TerminalWriter) -> None: function call_fixture_func (line 907) | def call_fixture_func( function _teardown_yield_fixture (line 925) | def _teardown_yield_fixture(fixturefunc, it) -> None: function _eval_scope_callable (line 943) | def _eval_scope_callable( class FixtureDef (line 966) | class FixtureDef(Generic[FixtureValue]): method __init__ (line 973) | def __init__( method scope (line 1036) | def scope(self) -> _ScopeName: method addfinalizer (line 1040) | def addfinalizer(self, finalizer: Callable[[], object]) -> None: method finish (line 1043) | def finish(self, request: SubRequest) -> None: method execute (line 1068) | def execute(self, request: SubRequest) -> FixtureValue: method cache_key (line 1138) | def cache_key(self, request: SubRequest) -> object: method __repr__ (line 1141) | def __repr__(self) -> str: class RequestFixtureDef (line 1145) | class RequestFixtureDef(FixtureDef[FixtureRequest]): method __init__ (line 1151) | def __init__(self, request: FixtureRequest) -> None: method addfinalizer (line 1163) | def addfinalizer(self, finalizer: Callable[[], object]) -> None: function resolve_fixture_function (line 1167) | def resolve_fixture_function( function pytest_fixture_setup (line 1191) | def pytest_fixture_setup( class FixtureFunctionMarker (line 1229) | class FixtureFunctionMarker: method __post_init__ (line 1238) | def __post_init__(self, _ispytest: bool) -> None: method __call__ (line 1241) | def __call__(self, function: FixtureFunction) -> FixtureFunctionDefini... class FixtureFunctionDefinition (line 1272) | class FixtureFunctionDefinition: method __init__ (line 1273) | def __init__( method __repr__ (line 1295) | def __repr__(self) -> str: method __get__ (line 1298) | def __get__(self, instance, owner=None): method __call__ (line 1307) | def __call__(self, *args: Any, **kwds: Any) -> Any: method _get_wrapped_function (line 1316) | def _get_wrapped_function(self) -> Callable[..., Any]: function fixture (line 1321) | def fixture( function fixture (line 1333) | def fixture( function fixture (line 1344) | def fixture( function yield_fixture (line 1419) | def yield_fixture( function pytestconfig (line 1446) | def pytestconfig(request: FixtureRequest) -> Config: function pytest_addoption (line 1460) | def pytest_addoption(parser: Parser) -> None: function pytest_cmdline_main (line 1486) | def pytest_cmdline_main(config: Config) -> int | ExitCode | None: function _resolve_args_directness (line 1496) | def _resolve_args_directness( function _get_direct_parametrize_args (line 1535) | def _get_direct_parametrize_args(node: nodes.Node) -> set[str]: function deduplicate_names (line 1559) | def deduplicate_names(*seqs: Iterable[str]) -> tuple[str, ...]: class FixtureManager (line 1565) | class FixtureManager: method __init__ (line 1596) | def __init__(self, session: Session) -> None: method getfixtureinfo (line 1611) | def getfixtureinfo( method pytest_plugin_registered (line 1647) | def pytest_plugin_registered(self, plugin: _PluggyPlugin, plugin_name:... method _getautousenames (line 1671) | def _getautousenames(self, node: nodes.Node) -> Iterator[str]: method _getusefixturesnames (line 1678) | def _getusefixturesnames(self, node: nodes.Item) -> Iterator[str]: method getfixtureclosure (line 1689) | def getfixtureclosure( method pytest_generate_tests (line 1755) | def pytest_generate_tests(self, metafunc: Metafunc) -> None: method pytest_collection_modifyitems (line 1787) | def pytest_collection_modifyitems(self, items: list[nodes.Item]) -> None: method _register_fixture (line 1791) | def _register_fixture( method parsefactories (line 1848) | def parsefactories( method parsefactories (line 1855) | def parsefactories( method parsefactories (line 1862) | def parsefactories( method getfixturedefs (line 1928) | def getfixturedefs( method _matchfactories (line 1948) | def _matchfactories( function show_fixtures_per_test (line 1957) | def show_fixtures_per_test(config: Config) -> int | ExitCode: function _pretty_fixture_path (line 1966) | def _pretty_fixture_path(invocation_dir: Path, func) -> str: function _show_fixtures_per_test (line 1975) | def _show_fixtures_per_test(config: Config, session: Session) -> None: function showfixtures (line 2028) | def showfixtures(config: Config) -> int | ExitCode: function _showfixtures_main (line 2034) | def _showfixtures_main(config: Config, session: Session) -> None: function write_docstring (line 2091) | def write_docstring(tw: TerminalWriter, doc: str, indent: str = " ") ... FILE: src/_pytest/freeze_support.py function freeze_includes (line 10) | def freeze_includes() -> list[str]: function _iter_all_modules (line 19) | def _iter_all_modules( FILE: src/_pytest/helpconfig.py class HelpAction (line 21) | class HelpAction(argparse.Action): method __init__ (line 34) | def __init__( method __call__ (line 46) | def __call__( function pytest_addoption (line 59) | def pytest_addoption(parser: Parser) -> None: function pytest_cmdline_parse (line 123) | def pytest_cmdline_parse() -> Generator[None, Config, Config]: function show_version_verbose (line 155) | def show_version_verbose(config: Config) -> None: function pytest_cmdline_main (line 166) | def pytest_cmdline_main(config: Config) -> int | ExitCode | None: function showhelp (line 180) | def showhelp(config: Config) -> None: function getpluginversioninfo (line 263) | def getpluginversioninfo(config: Config) -> list[str]: function pytest_report_header (line 275) | def pytest_report_header(config: Config) -> list[str]: FILE: src/_pytest/hookspec.py function pytest_addhooks (line 54) | def pytest_addhooks(pluginmanager: PytestPluginManager) -> None: function pytest_plugin_registered (line 72) | def pytest_plugin_registered( function pytest_addoption (line 97) | def pytest_addoption(parser: Parser, pluginmanager: PytestPluginManager)... function pytest_configure (line 138) | def pytest_configure(config: Config) -> None: function pytest_cmdline_parse (line 162) | def pytest_cmdline_parse( function pytest_load_initial_conftests (line 185) | def pytest_load_initial_conftests( function pytest_cmdline_main (line 203) | def pytest_cmdline_main(config: Config) -> ExitCode | int | None: function pytest_collection (line 227) | def pytest_collection(session: Session) -> object | None: function pytest_collection_modifyitems (line 268) | def pytest_collection_modifyitems( function pytest_collection_finish (line 290) | def pytest_collection_finish(session: Session) -> None: function pytest_ignore_collect (line 303) | def pytest_ignore_collect(collection_path: Path, config: Config) -> bool... function pytest_collect_directory (line 337) | def pytest_collect_directory(path: Path, parent: Collector) -> Collector... function pytest_collect_file (line 366) | def pytest_collect_file(file_path: Path, parent: Collector) -> Collector... function pytest_collectstart (line 394) | def pytest_collectstart(collector: Collector) -> None: function pytest_itemcollected (line 409) | def pytest_itemcollected(item: Item) -> None: function pytest_collectreport (line 423) | def pytest_collectreport(report: CollectReport) -> None: function pytest_deselected (line 438) | def pytest_deselected(items: Sequence[Item]) -> None: function pytest_make_collect_report (line 460) | def pytest_make_collect_report(collector: Collector) -> CollectReport | ... function pytest_pycollect_makemodule (line 484) | def pytest_pycollect_makemodule(module_path: Path, parent) -> Module | N... function pytest_pycollect_makeitem (line 512) | def pytest_pycollect_makeitem( function pytest_pyfunc_call (line 538) | def pytest_pyfunc_call(pyfuncitem: Function) -> object | None: function pytest_generate_tests (line 555) | def pytest_generate_tests(metafunc: Metafunc) -> None: function pytest_make_parametrize_id (line 571) | def pytest_make_parametrize_id(config: Config, val: object, argname: str... function pytest_runtestloop (line 597) | def pytest_runtestloop(session: Session) -> object | None: function pytest_runtest_protocol (line 623) | def pytest_runtest_protocol(item: Item, nextitem: Item | None) -> object... function pytest_runtest_logstart (line 663) | def pytest_runtest_logstart(nodeid: str, location: tuple[str, int | None... function pytest_runtest_logfinish (line 681) | def pytest_runtest_logfinish( function pytest_runtest_setup (line 701) | def pytest_runtest_setup(item: Item) -> None: function pytest_runtest_call (line 720) | def pytest_runtest_call(item: Item) -> None: function pytest_runtest_teardown (line 736) | def pytest_runtest_teardown(item: Item, nextitem: Item | None) -> None: function pytest_runtest_makereport (line 761) | def pytest_runtest_makereport(item: Item, call: CallInfo[None]) -> TestR... function pytest_runtest_logreport (line 780) | def pytest_runtest_logreport(report: TestReport) -> None: function pytest_report_to_serializable (line 795) | def pytest_report_to_serializable( function pytest_report_from_serializable (line 814) | def pytest_report_from_serializable( function pytest_fixture_setup (line 837) | def pytest_fixture_setup( function pytest_fixture_post_finalizer (line 865) | def pytest_fixture_post_finalizer( function pytest_sessionstart (line 891) | def pytest_sessionstart(session: Session) -> None: function pytest_sessionfinish (line 904) | def pytest_sessionfinish( function pytest_unconfigure (line 920) | def pytest_unconfigure(config: Config) -> None: function pytest_assertrepr_compare (line 937) | def pytest_assertrepr_compare( function pytest_assertion_pass (line 960) | def pytest_assertion_pass(item: Item, lineno: int, orig: str, expl: str)... function pytest_report_header (line 1008) | def pytest_report_header(config: Config, start_path: Path) -> str | list... function pytest_report_collectionfinish (line 1035) | def pytest_report_collectionfinish( # type: ignore[empty-body] function pytest_report_teststatus (line 1073) | def pytest_report_teststatus( # type:ignore[empty-body] function pytest_terminal_summary (line 1105) | def pytest_terminal_summary( function pytest_warning_recorded (line 1127) | def pytest_warning_recorded( function pytest_markeval_namespace (line 1171) | def pytest_markeval_namespace( # type:ignore[empty-body] function pytest_internalerror (line 1200) | def pytest_internalerror( function pytest_keyboard_interrupt (line 1219) | def pytest_keyboard_interrupt( function pytest_exception_interact (line 1233) | def pytest_exception_interact( function pytest_enter_pdb (line 1265) | def pytest_enter_pdb(config: Config, pdb: pdb.Pdb) -> None: function pytest_leave_pdb (line 1281) | def pytest_leave_pdb(config: Config, pdb: pdb.Pdb) -> None: FILE: src/_pytest/junitxml.py function bin_xml_escape (line 37) | def bin_xml_escape(arg: object) -> str: function merge_family (line 64) | def merge_family(left, right) -> None: class _NodeReporter (line 86) | class _NodeReporter: method __init__ (line 87) | def __init__(self, nodeid: str | TestReport, xml: LogXML) -> None: method append (line 97) | def append(self, node: ET.Element) -> None: method add_property (line 101) | def add_property(self, name: str, value: object) -> None: method add_attribute (line 104) | def add_attribute(self, name: str, value: object) -> None: method make_properties_node (line 107) | def make_properties_node(self) -> ET.Element | None: method record_testreport (line 116) | def record_testreport(self, testreport: TestReport) -> None: method to_xml (line 146) | def to_xml(self) -> ET.Element: method _add_simple (line 154) | def _add_simple(self, tag: str, message: str, data: str | None = None)... method write_captured_output (line 159) | def write_captured_output(self, report: TestReport) -> None: method _prepare_content (line 182) | def _prepare_content(self, content: str, header: str) -> str: method _write_content (line 185) | def _write_content(self, report: TestReport, content: str, jheader: st... method append_pass (line 190) | def append_pass(self, report: TestReport) -> None: method append_failure (line 193) | def append_failure(self, report: TestReport) -> None: method append_collect_error (line 209) | def append_collect_error(self, report: TestReport) -> None: method append_collect_skipped (line 214) | def append_collect_skipped(self, report: TestReport) -> None: method append_error (line 217) | def append_error(self, report: TestReport) -> None: method append_skipped (line 231) | def append_skipped(self, report: TestReport) -> None: method finalize (line 253) | def finalize(self) -> None: function _warn_incompatibility_with_xunit2 (line 261) | def _warn_incompatibility_with_xunit2( function record_property (line 277) | def record_property(request: FixtureRequest) -> Callable[[str, object], ... function record_xml_attribute (line 300) | def record_xml_attribute(request: FixtureRequest) -> Callable[[str, obje... function _check_record_param_type (line 328) | def _check_record_param_type(param: str, v: str) -> None: function record_testsuite_property (line 338) | def record_testsuite_property(request: FixtureRequest) -> Callable[[str,... function pytest_addoption (line 376) | def pytest_addoption(parser: Parser) -> None: function pytest_configure (line 423) | def pytest_configure(config: Config) -> None: function pytest_unconfigure (line 440) | def pytest_unconfigure(config: Config) -> None: function mangle_test_address (line 447) | def mangle_test_address(address: str) -> list[str]: class LogXML (line 458) | class LogXML: method __init__ (line 459) | def __init__( method finalize (line 492) | def finalize(self, report: TestReport) -> None: method node_reporter (line 504) | def node_reporter(self, report: TestReport | str) -> _NodeReporter: method add_stats (line 522) | def add_stats(self, key: str) -> None: method _opentestcase (line 526) | def _opentestcase(self, report: TestReport) -> _NodeReporter: method pytest_runtest_logreport (line 531) | def pytest_runtest_logreport(self, report: TestReport) -> None: method update_testcase_duration (line 616) | def update_testcase_duration(self, report: TestReport) -> None: method pytest_collectreport (line 623) | def pytest_collectreport(self, report: TestReport) -> None: method pytest_internalerror (line 631) | def pytest_internalerror(self, excrepr: ExceptionRepr) -> None: method pytest_sessionstart (line 636) | def pytest_sessionstart(self) -> None: method pytest_sessionfinish (line 639) | def pytest_sessionfinish(self) -> None: method pytest_terminal_summary (line 677) | def pytest_terminal_summary( method add_global_property (line 683) | def add_global_property(self, name: str, value: object) -> None: method _get_global_properties_node (line 688) | def _get_global_properties_node(self) -> ET.Element | None: FILE: src/_pytest/legacypath.py class Testdir (line 42) | class Testdir: method __init__ (line 55) | def __init__(self, pytester: Pytester, *, _ispytest: bool = False) -> ... method tmpdir (line 60) | def tmpdir(self) -> LEGACY_PATH: method test_tmproot (line 65) | def test_tmproot(self) -> LEGACY_PATH: method request (line 69) | def request(self): method plugins (line 73) | def plugins(self): method plugins (line 77) | def plugins(self, plugins): method monkeypatch (line 81) | def monkeypatch(self) -> MonkeyPatch: method make_hook_recorder (line 84) | def make_hook_recorder(self, pluginmanager) -> HookRecorder: method chdir (line 88) | def chdir(self) -> None: method finalize (line 92) | def finalize(self) -> None: method makefile (line 95) | def makefile(self, ext, *args, **kwargs) -> LEGACY_PATH: method makeconftest (line 107) | def makeconftest(self, source) -> LEGACY_PATH: method makeini (line 111) | def makeini(self, source) -> LEGACY_PATH: method getinicfg (line 115) | def getinicfg(self, source: str) -> SectionWrapper: method makepyprojecttoml (line 119) | def makepyprojecttoml(self, source) -> LEGACY_PATH: method makepyfile (line 123) | def makepyfile(self, *args, **kwargs) -> LEGACY_PATH: method maketxtfile (line 127) | def maketxtfile(self, *args, **kwargs) -> LEGACY_PATH: method syspathinsert (line 131) | def syspathinsert(self, path=None) -> None: method mkdir (line 135) | def mkdir(self, name) -> LEGACY_PATH: method mkpydir (line 139) | def mkpydir(self, name) -> LEGACY_PATH: method copy_example (line 143) | def copy_example(self, name=None) -> LEGACY_PATH: method getnode (line 147) | def getnode(self, config: Config, arg) -> Item | Collector | None: method getpathnode (line 151) | def getpathnode(self, path): method genitems (line 155) | def genitems(self, colitems: list[Item | Collector]) -> list[Item]: method runitem (line 159) | def runitem(self, source): method inline_runsource (line 163) | def inline_runsource(self, source, *cmdlineargs): method inline_genitems (line 167) | def inline_genitems(self, *args): method inline_run (line 171) | def inline_run(self, *args, plugins=(), no_reraise_ctrlc: bool = False): method runpytest_inprocess (line 177) | def runpytest_inprocess(self, *args, **kwargs) -> RunResult: method runpytest (line 181) | def runpytest(self, *args, **kwargs) -> RunResult: method parseconfig (line 185) | def parseconfig(self, *args) -> Config: method parseconfigure (line 189) | def parseconfigure(self, *args) -> Config: method getitem (line 193) | def getitem(self, source, funcname="test_func"): method getitems (line 197) | def getitems(self, source): method getmodulecol (line 201) | def getmodulecol(self, source, configargs=(), withinit=False): method collect_by_name (line 207) | def collect_by_name(self, modcol: Collector, name: str) -> Item | Coll... method popen (line 211) | def popen( method run (line 222) | def run(self, *cmdargs, timeout=None, stdin=CLOSE_STDIN) -> RunResult: method runpython (line 226) | def runpython(self, script) -> RunResult: method runpython_c (line 230) | def runpython_c(self, command): method runpytest_subprocess (line 234) | def runpytest_subprocess(self, *args, timeout=None) -> RunResult: method spawn_pytest (line 238) | def spawn_pytest(self, string: str, expect_timeout: float = 10.0) -> p... method spawn (line 242) | def spawn(self, cmd: str, expect_timeout: float = 10.0) -> pexpect.spawn: method __repr__ (line 246) | def __repr__(self) -> str: method __str__ (line 249) | def __str__(self) -> str: class LegacyTestdirPlugin (line 253) | class LegacyTestdirPlugin: method testdir (line 256) | def testdir(pytester: Pytester) -> Testdir: class TempdirFactory (line 268) | class TempdirFactory: method __init__ (line 281) | def __init__( method mktemp (line 287) | def mktemp(self, basename: str, numbered: bool = True) -> LEGACY_PATH: method getbasetemp (line 291) | def getbasetemp(self) -> LEGACY_PATH: class LegacyTmpdirPlugin (line 296) | class LegacyTmpdirPlugin: method tmpdir_factory (line 299) | def tmpdir_factory(request: FixtureRequest) -> TempdirFactory: method tmpdir (line 306) | def tmpdir(tmp_path: Path) -> LEGACY_PATH: function Cache_makedir (line 323) | def Cache_makedir(self: Cache, name: str) -> LEGACY_PATH: function FixtureRequest_fspath (line 331) | def FixtureRequest_fspath(self: FixtureRequest) -> LEGACY_PATH: function TerminalReporter_startdir (line 336) | def TerminalReporter_startdir(self: TerminalReporter) -> LEGACY_PATH: function Config_invocation_dir (line 346) | def Config_invocation_dir(self: Config) -> LEGACY_PATH: function Config_rootdir (line 357) | def Config_rootdir(self: Config) -> LEGACY_PATH: function Config_inifile (line 367) | def Config_inifile(self: Config) -> LEGACY_PATH | None: function Session_startdir (line 377) | def Session_startdir(self: Session) -> LEGACY_PATH: function Config__getini_unknown_type (line 387) | def Config__getini_unknown_type(self, name: str, type: str, value: str |... function Node_fspath (line 398) | def Node_fspath(self: Node) -> LEGACY_PATH: function Node_fspath_set (line 403) | def Node_fspath_set(self: Node, value: LEGACY_PATH) -> None: function pytest_load_initial_conftests (line 408) | def pytest_load_initial_conftests(early_config: Config) -> None: function pytest_configure (line 440) | def pytest_configure(config: Config) -> None: function pytest_plugin_registered (line 463) | def pytest_plugin_registered(plugin: object, manager: PytestPluginManage... FILE: src/_pytest/logging.py function _remove_ansi_escape_sequences (line 57) | def _remove_ansi_escape_sequences(text: str) -> str: class DatetimeFormatter (line 61) | class DatetimeFormatter(logging.Formatter): method formatTime (line 67) | def formatTime(self, record: LogRecord, datefmt: str | None = None) ->... class ColoredLevelFormatter (line 80) | class ColoredLevelFormatter(DatetimeFormatter): method __init__ (line 95) | def __init__(self, terminalwriter: TerminalWriter, *args, **kwargs) ->... method add_color_level (line 104) | def add_color_level(self, level: int, *color_opts: str) -> None: method format (line 134) | def format(self, record: logging.LogRecord) -> str: class PercentStyleMultiline (line 140) | class PercentStyleMultiline(logging.PercentStyle): method __init__ (line 147) | def __init__(self, fmt: str, auto_indent: int | str | bool | None) -> ... method _get_auto_indent (line 152) | def _get_auto_indent(auto_indent_option: int | str | bool | None) -> int: method format (line 205) | def format(self, record: logging.LogRecord) -> str: function get_option_ini (line 229) | def get_option_ini(config: Config, *names: str): function pytest_addoption (line 238) | def pytest_addoption(parser: Parser) -> None: class catching_logs (line 342) | class catching_logs(Generic[_HandlerType]): method __init__ (line 347) | def __init__(self, handler: _HandlerType, level: int | None = None) ->... method __enter__ (line 351) | def __enter__(self) -> _HandlerType: method __exit__ (line 361) | def __exit__( class LogCaptureHandler (line 373) | class LogCaptureHandler(logging_StreamHandler): method __init__ (line 376) | def __init__(self) -> None: method emit (line 381) | def emit(self, record: logging.LogRecord) -> None: method reset (line 386) | def reset(self) -> None: method clear (line 390) | def clear(self) -> None: method handleError (line 394) | def handleError(self, record: logging.LogRecord) -> None: class LogCaptureFixture (line 404) | class LogCaptureFixture: method __init__ (line 407) | def __init__(self, item: nodes.Node, *, _ispytest: bool = False) -> None: method _finalize (line 415) | def _finalize(self) -> None: method handler (line 432) | def handler(self) -> LogCaptureHandler: method get_records (line 436) | def get_records( method text (line 452) | def text(self) -> str: method records (line 457) | def records(self) -> list[logging.LogRecord]: method record_tuples (line 462) | def record_tuples(self) -> list[tuple[str, int, str]]: method messages (line 473) | def messages(self) -> list[str]: method clear (line 491) | def clear(self) -> None: method _force_enable_logging (line 495) | def _force_enable_logging( method set_level (line 529) | def set_level(self, level: int | str, logger: str | None = None) -> None: method at_level (line 555) | def at_level(self, level: int | str, logger: str | None = None) -> Gen... method filtering (line 579) | def filtering(self, filter_: logging.Filter) -> Generator[None]: function caplog (line 596) | def caplog(request: FixtureRequest) -> Generator[LogCaptureFixture]: function get_log_level_for_setting (line 612) | def get_log_level_for_setting(config: Config, *setting_names: str) -> in... function pytest_configure (line 637) | def pytest_configure(config: Config) -> None: class LoggingPlugin (line 641) | class LoggingPlugin: method __init__ (line 644) | def __init__(self, config: Config) -> None: method _disable_loggers (line 711) | def _disable_loggers(self, loggers_to_disable: list[str]) -> None: method _create_formatter (line 719) | def _create_formatter(self, log_format, log_date_format, auto_indent): method set_log_path (line 737) | def set_log_path(self, fname: str) -> None: method _log_cli_enabled (line 759) | def _log_cli_enabled(self) -> bool: method pytest_sessionstart (line 775) | def pytest_sessionstart(self) -> Generator[None]: method pytest_collection (line 783) | def pytest_collection(self) -> Generator[None]: method pytest_runtestloop (line 791) | def pytest_runtestloop(self, session: Session) -> Generator[None, obje... method pytest_runtest_logstart (line 804) | def pytest_runtest_logstart(self) -> None: method pytest_runtest_logreport (line 809) | def pytest_runtest_logreport(self) -> None: method _runtest_for (line 813) | def _runtest_for(self, item: nodes.Item, when: str) -> Generator[None]: method pytest_runtest_setup (line 837) | def pytest_runtest_setup(self, item: nodes.Item) -> Generator[None]: method pytest_runtest_call (line 846) | def pytest_runtest_call(self, item: nodes.Item) -> Generator[None]: method pytest_runtest_teardown (line 853) | def pytest_runtest_teardown(self, item: nodes.Item) -> Generator[None]: method pytest_runtest_logfinish (line 864) | def pytest_runtest_logfinish(self) -> None: method pytest_sessionfinish (line 868) | def pytest_sessionfinish(self) -> Generator[None]: method pytest_unconfigure (line 876) | def pytest_unconfigure(self) -> None: class _FileHandler (line 882) | class _FileHandler(logging.FileHandler): method handleError (line 885) | def handleError(self, record: logging.LogRecord) -> None: class _LiveLoggingStreamHandler (line 890) | class _LiveLoggingStreamHandler(logging_StreamHandler): method __init__ (line 903) | def __init__( method reset (line 914) | def reset(self) -> None: method set_when (line 918) | def set_when(self, when: str | None) -> None: method emit (line 925) | def emit(self, record: logging.LogRecord) -> None: method handleError (line 944) | def handleError(self, record: logging.LogRecord) -> None: class _LiveLoggingNullHandler (line 949) | class _LiveLoggingNullHandler(logging.NullHandler): method reset (line 952) | def reset(self) -> None: method set_when (line 955) | def set_when(self, when: str) -> None: method handleError (line 958) | def handleError(self, record: logging.LogRecord) -> None: FILE: src/_pytest/main.py function pytest_addoption (line 57) | def pytest_addoption(parser: Parser) -> None: function validate_basetemp (line 279) | def validate_basetemp(path: str) -> str: function wrap_session (line 304) | def wrap_session( function pytest_cmdline_main (line 363) | def pytest_cmdline_main(config: Config) -> int | ExitCode: function _main (line 367) | def _main(config: Config, session: Session) -> int | ExitCode | None: function pytest_collection (line 380) | def pytest_collection(session: Session) -> None: function pytest_runtestloop (line 384) | def pytest_runtestloop(session: Session) -> bool: function _in_venv (line 403) | def _in_venv(path: Path) -> bool: function pytest_ignore_collect (line 424) | def pytest_ignore_collect(collection_path: Path, config: Config) -> bool... function pytest_collect_directory (line 462) | def pytest_collect_directory( function pytest_collection_modifyitems (line 468) | def pytest_collection_modifyitems(items: list[nodes.Item], config: Confi... class FSHookProxy (line 486) | class FSHookProxy: method __init__ (line 487) | def __init__( method __getattr__ (line 495) | def __getattr__(self, name: str) -> pluggy.HookCaller: class Interrupted (line 501) | class Interrupted(KeyboardInterrupt): class Failed (line 507) | class Failed(Exception): class _bestrelpath_cache (line 512) | class _bestrelpath_cache(dict[Path, str]): method __missing__ (line 517) | def __missing__(self, path: Path) -> str: class Dir (line 524) | class Dir(nodes.Directory): method from_parent (line 537) | def from_parent( # type: ignore[override] method collect (line 551) | def collect(self) -> Iterable[nodes.Item | nodes.Collector]: class Session (line 576) | class Session(nodes.Collector): method __init__ (line 590) | def __init__(self, config: Config) -> None: method from_config (line 617) | def from_config(cls, config: Config) -> Session: method __repr__ (line 621) | def __repr__(self) -> str: method shouldstop (line 630) | def shouldstop(self) -> bool | str: method shouldstop (line 634) | def shouldstop(self, value: bool | str) -> None: method shouldfail (line 648) | def shouldfail(self) -> bool | str: method shouldfail (line 652) | def shouldfail(self, value: bool | str) -> None: method startpath (line 666) | def startpath(self) -> Path: method _node_location_to_relpath (line 673) | def _node_location_to_relpath(self, node_path: Path) -> str: method pytest_collectstart (line 678) | def pytest_collectstart(self) -> None: method pytest_runtest_logreport (line 685) | def pytest_runtest_logreport(self, report: TestReport | CollectReport)... method isinitpath (line 694) | def isinitpath( method gethookproxy (line 718) | def gethookproxy(self, fspath: os.PathLike[str]) -> pluggy.HookRelay: method _collect_path (line 735) | def _collect_path( method perform_collect (line 767) | def perform_collect( method perform_collect (line 772) | def perform_collect( method perform_collect (line 776) | def perform_collect( method _collect_one_node (line 873) | def _collect_one_node( method collect (line 886) | def collect(self) -> Iterator[nodes.Item | nodes.Collector]: method genitems (line 1010) | def genitems(self, node: nodes.Item | nodes.Collector) -> Iterator[nod... function search_pypath (line 1027) | def search_pypath( class CollectionArgument (line 1064) | class CollectionArgument: function resolve_collection_argument (line 1074) | def resolve_collection_argument( function is_collection_argument_subsumed_by (line 1153) | def is_collection_argument_subsumed_by( function normalize_collection_arguments (line 1177) | def normalize_collection_arguments( FILE: src/_pytest/mark/__init__.py function param (line 49) | def param( function pytest_addoption (line 88) | def pytest_addoption(parser: Parser) -> None: function pytest_cmdline_main (line 131) | def pytest_cmdline_main(config: Config) -> int | ExitCode | None: class KeywordMatcher (line 151) | class KeywordMatcher: method from_item (line 170) | def from_item(cls, item: Item) -> KeywordMatcher: method __call__ (line 200) | def __call__(self, subname: str, /, **kwargs: str | int | bool | None)... function deselect_by_keyword (line 207) | def deselect_by_keyword(items: list[Item], config: Config) -> None: class MarkMatcher (line 228) | class MarkMatcher: method from_markers (line 239) | def from_markers(cls, markers: Iterable[Mark]) -> MarkMatcher: method __call__ (line 245) | def __call__(self, name: str, /, **kwargs: str | int | bool | None) ->... function deselect_by_mark (line 255) | def deselect_by_mark(items: list[Item], config: Config) -> None: function _parse_expression (line 273) | def _parse_expression(expr: str, exc_message: str) -> Expression: function pytest_collection_modifyitems (line 282) | def pytest_collection_modifyitems(items: list[Item], config: Config) -> ... function pytest_configure (line 287) | def pytest_configure(config: Config) -> None: function pytest_unconfigure (line 300) | def pytest_unconfigure(config: Config) -> None: FILE: src/_pytest/mark/expression.py class TokenType (line 51) | class TokenType(enum.Enum): class Token (line 65) | class Token: class Scanner (line 72) | class Scanner: method __init__ (line 75) | def __init__(self, input: str) -> None: method lex (line 80) | def lex(self, input: str) -> Iterator[Token]: method accept (line 133) | def accept(self, type: TokenType, *, reject: Literal[True]) -> Token: ... method accept (line 136) | def accept( method accept (line 140) | def accept(self, type: TokenType, *, reject: bool = False) -> Token | ... method reject (line 150) | def reject(self, expected: Sequence[TokenType]) -> NoReturn: function expression (line 166) | def expression(s: Scanner) -> ast.Expression: function expr (line 175) | def expr(s: Scanner) -> ast.expr: function and_expr (line 183) | def and_expr(s: Scanner) -> ast.expr: function not_expr (line 191) | def not_expr(s: Scanner) -> ast.expr: function single_kwarg (line 214) | def single_kwarg(s: Scanner) -> ast.keyword: function all_kwargs (line 248) | def all_kwargs(s: Scanner) -> list[ast.keyword]: class ExpressionMatcher (line 255) | class ExpressionMatcher(Protocol): method __call__ (line 279) | def __call__(self, name: str, /, **kwargs: str | int | bool | None) ->... class MatcherNameAdapter (line 283) | class MatcherNameAdapter: method __bool__ (line 287) | def __bool__(self) -> bool: method __call__ (line 290) | def __call__(self, **kwargs: str | int | bool | None) -> bool: class MatcherAdapter (line 294) | class MatcherAdapter(Mapping[str, MatcherNameAdapter]): method __init__ (line 297) | def __init__(self, matcher: ExpressionMatcher) -> None: method __getitem__ (line 300) | def __getitem__(self, key: str) -> MatcherNameAdapter: method __iter__ (line 303) | def __iter__(self) -> Iterator[str]: method __len__ (line 306) | def __len__(self) -> int: class Expression (line 311) | class Expression: method __init__ (line 319) | def __init__(self, input: str, code: types.CodeType) -> None: method compile (line 325) | def compile(cls, input: str) -> Expression: method evaluate (line 340) | def evaluate(self, matcher: ExpressionMatcher) -> bool: FILE: src/_pytest/mark/structures.py class _HiddenParam (line 45) | class _HiddenParam(enum.Enum): function istestfunc (line 53) | def istestfunc(func) -> bool: function get_empty_parameterset_mark (line 57) | def get_empty_parameterset_mark( class ParameterSet (line 80) | class ParameterSet(NamedTuple): method param (line 113) | def param( method extract_from (line 138) | def extract_from( method _parse_parametrize_args (line 166) | def _parse_parametrize_args( method _parse_parametrize_parameters (line 184) | def _parse_parametrize_parameters( method _for_parametrize (line 193) | def _for_parametrize( class Mark (line 248) | class Mark: method __init__ (line 265) | def __init__( method _has_param_ids (line 284) | def _has_param_ids(self) -> bool: method combined_with (line 287) | def combined_with(self, other: Mark) -> Mark: class MarkDecorator (line 322) | class MarkDecorator: method __init__ (line 359) | def __init__(self, mark: Mark, *, _ispytest: bool = False) -> None: method name (line 365) | def name(self) -> str: method args (line 370) | def args(self) -> tuple[Any, ...]: method kwargs (line 375) | def kwargs(self) -> Mapping[str, Any]: method markname (line 380) | def markname(self) -> str: method with_args (line 384) | def with_args(self, *args: object, **kwargs: object) -> MarkDecorator: method __call__ (line 397) | def __call__(self, arg: Markable) -> Markable: # type: ignore[overloa... method __call__ (line 401) | def __call__(self, *args: object, **kwargs: object) -> MarkDecorator: method __call__ (line 404) | def __call__(self, *args: object, **kwargs: object): function get_unpacked_marks (line 420) | def get_unpacked_marks( function normalize_mark_list (line 453) | def normalize_mark_list( function store_mark (line 470) | def store_mark(obj, mark: Mark) -> None: class _SkipMarkDecorator (line 494) | class _SkipMarkDecorator(MarkDecorator): method __call__ (line 496) | def __call__(self, arg: Markable) -> Markable: ... method __call__ (line 499) | def __call__(self, reason: str = ...) -> MarkDecorator: ... class _SkipifMarkDecorator (line 501) | class _SkipifMarkDecorator(MarkDecorator): method __call__ (line 502) | def __call__( # type: ignore[override] class _XfailMarkDecorator (line 509) | class _XfailMarkDecorator(MarkDecorator): method __call__ (line 511) | def __call__(self, arg: Markable) -> Markable: ... method __call__ (line 514) | def __call__( class _ParametrizeMarkDecorator (line 527) | class _ParametrizeMarkDecorator(MarkDecorator): method __call__ (line 529) | def __call__( method __call__ (line 546) | def __call__( class _UsefixturesMarkDecorator (line 558) | class _UsefixturesMarkDecorator(MarkDecorator): method __call__ (line 559) | def __call__(self, *fixtures: str) -> MarkDecorator: # type: ignore[o... class _FilterwarningsMarkDecorator (line 562) | class _FilterwarningsMarkDecorator(MarkDecorator): method __call__ (line 563) | def __call__(self, *filters: str) -> MarkDecorator: # type: ignore[ov... class MarkGenerator (line 568) | class MarkGenerator: method __init__ (line 593) | def __init__(self, *, _ispytest: bool = False) -> None: method __getattr__ (line 598) | def __getattr__(self, name: str) -> MarkDecorator: class NodeKeywords (line 647) | class NodeKeywords(MutableMapping[str, Any]): method __init__ (line 650) | def __init__(self, node: Node) -> None: method __getitem__ (line 655) | def __getitem__(self, key: str) -> Any: method __setitem__ (line 663) | def __setitem__(self, key: str, value: Any) -> None: method __contains__ (line 669) | def __contains__(self, key: object) -> bool: method update (line 674) | def update( # type: ignore[override] method __delitem__ (line 682) | def __delitem__(self, key: str) -> None: method __iter__ (line 685) | def __iter__(self) -> Iterator[str]: method __len__ (line 694) | def __len__(self) -> int: method __repr__ (line 698) | def __repr__(self) -> str: FILE: src/_pytest/monkeypatch.py function monkeypatch (line 36) | def monkeypatch() -> Generator[MonkeyPatch]: function resolve (line 65) | def resolve(name: str) -> object: function annotated_getattr (line 93) | def annotated_getattr(obj: object, name: str, ann: str) -> object: function derive_importpath (line 103) | def derive_importpath(import_path: str, raising: bool) -> tuple[str, obj... class MonkeyPatch (line 114) | class MonkeyPatch: method __init__ (line 127) | def __init__(self) -> None: method context (line 135) | def context(cls) -> Generator[MonkeyPatch]: method setattr (line 161) | def setattr( method setattr (line 170) | def setattr( method setattr (line 178) | def setattr( method delattr (line 250) | def delattr( method setitem (line 288) | def setitem(self, dic: Mapping[K, V], name: K, value: V) -> None: method delitem (line 294) | def delitem(self, dic: Mapping[K, V], name: K, raising: bool = True) -... method setenv (line 308) | def setenv(self, name: str, value: str, prepend: str | None = None) ->... method delenv (line 328) | def delenv(self, name: str, raising: bool = True) -> None: method syspath_prepend (line 337) | def syspath_prepend(self, path) -> None: method chdir (line 379) | def chdir(self, path: str | os.PathLike[str]) -> None: method undo (line 389) | def undo(self) -> None: FILE: src/_pytest/nodes.py function norm_sep (line 53) | def norm_sep(path: str | os.PathLike[str]) -> str: class NodeMeta (line 75) | class NodeMeta(abc.ABCMeta): method __call__ (line 90) | def __call__(cls, *k, **kw) -> NoReturn: method _create (line 99) | def _create(cls: type[_T], *k, **kw) -> _T: class Node (line 119) | class Node(abc.ABC, metaclass=NodeMeta): method __init__ (line 147) | def __init__( method from_parent (line 210) | def from_parent(cls, parent: Node, **kw) -> Self: method ihook (line 228) | def ihook(self) -> pluggy.HookRelay: method __repr__ (line 232) | def __repr__(self) -> str: method warn (line 235) | def warn(self, warning: Warning) -> None: method nodeid (line 273) | def nodeid(self) -> str: method __hash__ (line 277) | def __hash__(self) -> int: method setup (line 280) | def setup(self) -> None: method teardown (line 283) | def teardown(self) -> None: method iter_parents (line 286) | def iter_parents(self) -> Iterator[Node]: method listchain (line 297) | def listchain(self) -> list[Node]: method add_marker (line 308) | def add_marker(self, marker: str | MarkDecorator, append: bool = True)... method iter_markers (line 330) | def iter_markers(self, name: str | None = None) -> Iterator[Mark]: method iter_markers_with_node (line 338) | def iter_markers_with_node( method get_closest_marker (line 352) | def get_closest_marker(self, name: str) -> Mark | None: ... method get_closest_marker (line 355) | def get_closest_marker(self, name: str, default: Mark) -> Mark: ... method get_closest_marker (line 357) | def get_closest_marker(self, name: str, default: Mark | None = None) -... method listextrakeywords (line 366) | def listextrakeywords(self) -> set[str]: method listnames (line 373) | def listnames(self) -> list[str]: method addfinalizer (line 376) | def addfinalizer(self, fin: Callable[[], object]) -> None: method getparent (line 385) | def getparent(self, cls: type[_NodeType]) -> _NodeType | None: method _traceback_filter (line 397) | def _traceback_filter(self, excinfo: ExceptionInfo[BaseException]) -> ... method _repr_failure_py (line 400) | def _repr_failure_py( method repr_failure (line 458) | def repr_failure( function get_fslocation_from_item (line 472) | def get_fslocation_from_item(node: Node) -> tuple[str | Path, int | None]: class Collector (line 491) | class Collector(Node, abc.ABC): class CollectError (line 498) | class CollectError(Exception): method collect (line 502) | def collect(self) -> Iterable[Item | Collector]: method repr_failure (line 507) | def repr_failure( # type: ignore[override] method _traceback_filter (line 528) | def _traceback_filter(self, excinfo: ExceptionInfo[BaseException]) -> ... function _check_initialpaths_for_relpath (line 539) | def _check_initialpaths_for_relpath( class FSCollector (line 552) | class FSCollector(Collector, abc.ABC): method __init__ (line 555) | def __init__( method from_parent (line 610) | def from_parent( class File (line 622) | class File(FSCollector, abc.ABC): class Directory (line 629) | class Directory(FSCollector, abc.ABC): class Item (line 647) | class Item(Node, abc.ABC): method __init__ (line 655) | def __init__( method _check_item_and_collector_diamond_inheritance (line 684) | def _check_item_and_collector_diamond_inheritance(self) -> None: method runtest (line 714) | def runtest(self) -> None: method add_report_section (line 723) | def add_report_section(self, when: str, key: str, content: str) -> None: method reportinfo (line 740) | def reportinfo(self) -> tuple[os.PathLike[str] | str, int | None, str]: method location (line 754) | def location(self) -> tuple[str, int | None, str]: FILE: src/_pytest/outcomes.py class OutcomeException (line 13) | class OutcomeException(BaseException): method __init__ (line 17) | def __init__(self, msg: str | None = None, pytrace: bool = True) -> None: method __repr__ (line 28) | def __repr__(self) -> str: class Skipped (line 39) | class Skipped(OutcomeException): method __init__ (line 44) | def __init__( class Failed (line 59) | class Failed(OutcomeException): class Exit (line 65) | class Exit(Exception): method __init__ (line 68) | def __init__( class XFailed (line 76) | class XFailed(Failed): class _Exit (line 80) | class _Exit: method __call__ (line 97) | def __call__(self, reason: str = "", returncode: int | None = None) ->... class _Skip (line 105) | class _Skip: method __call__ (line 136) | def __call__(self, reason: str = "", allow_module_level: bool = False)... class _Fail (line 144) | class _Fail: method __call__ (line 160) | def __call__(self, reason: str = "", pytrace: bool = True) -> NoReturn: class _XFail (line 168) | class _XFail: method __call__ (line 190) | def __call__(self, reason: str = "") -> NoReturn: function importorskip (line 198) | def importorskip( FILE: src/_pytest/pastebin.py function pytest_addoption (line 21) | def pytest_addoption(parser: Parser) -> None: function pytest_configure (line 35) | def pytest_configure(config: Config) -> None: function pytest_unconfigure (line 55) | def pytest_unconfigure(config: Config) -> None: function create_new_paste (line 72) | def create_new_paste(contents: str | bytes) -> str: function pytest_terminal_summary (line 101) | def pytest_terminal_summary(terminalreporter: TerminalReporter) -> None: FILE: src/_pytest/pathlib.py function _ignore_error (line 62) | def _ignore_error(exception: Exception) -> bool: function get_lock_path (line 69) | def get_lock_path(path: _AnyPurePath) -> _AnyPurePath: function on_rm_rf_error (line 73) | def on_rm_rf_error( function ensure_extended_length_path (line 132) | def ensure_extended_length_path(path: Path) -> Path: function get_extended_length_path_str (line 150) | def get_extended_length_path_str(path: str) -> str: function rm_rf (line 162) | def rm_rf(path: Path) -> None: function find_prefixed (line 173) | def find_prefixed(root: Path, prefix: str) -> Iterator[os.DirEntry[str]]: function extract_suffixes (line 181) | def extract_suffixes(iter: Iterable[os.DirEntry[str]], prefix: str) -> I... function find_suffixes (line 192) | def find_suffixes(root: Path, prefix: str) -> Iterator[str]: function parse_num (line 197) | def parse_num(maybe_num: str) -> int: function _force_symlink (line 205) | def _force_symlink(root: Path, target: str | PurePath, link_to: str | Pa... function make_numbered_dir (line 225) | def make_numbered_dir(root: Path, prefix: str, mode: int = 0o700) -> Path: function create_cleanup_lock (line 246) | def create_cleanup_lock(p: Path) -> Path: function register_cleanup_lock_removal (line 263) | def register_cleanup_lock_removal( function maybe_delete_a_numbered_dir (line 282) | def maybe_delete_a_numbered_dir(path: Path) -> None: function ensure_deletable (line 310) | def ensure_deletable(path: Path, consider_lock_dead_if_created_before: f... function try_cleanup (line 338) | def try_cleanup(path: Path, consider_lock_dead_if_created_before: float)... function cleanup_candidates (line 344) | def cleanup_candidates(root: Path, prefix: str, keep: int) -> Iterator[P... function cleanup_dead_symlinks (line 356) | def cleanup_dead_symlinks(root: Path) -> None: function cleanup_numbered_dir (line 363) | def cleanup_numbered_dir( function make_numbered_dir_with_cleanup (line 377) | def make_numbered_dir_with_cleanup( function resolve_from_str (line 410) | def resolve_from_str(input: str, rootpath: Path) -> Path: function fnmatch_ex (line 419) | def fnmatch_ex(pattern: str, path: str | os.PathLike[str]) -> bool: function parts (line 455) | def parts(s: str) -> set[str]: function symlink_or_skip (line 460) | def symlink_or_skip( class ImportMode (line 472) | class ImportMode(Enum): class ImportPathMismatchError (line 480) | class ImportPathMismatchError(ImportError): function import_path (line 489) | def import_path( function _import_module_using_spec (line 615) | def _import_module_using_spec( function spec_matches_module_path (line 738) | def spec_matches_module_path(module_spec: ModuleSpec | None, module_path... function _is_same (line 761) | def _is_same(f1: str, f2: str) -> bool: function _is_same (line 766) | def _is_same(f1: str, f2: str) -> bool: function module_name_from_path (line 770) | def module_name_from_path(path: Path, root: Path) -> str: function insert_missing_modules (line 801) | def insert_missing_modules(modules: dict[str, ModuleType], module_name: ... function resolve_package_path (line 839) | def resolve_package_path(path: Path) -> Path | None: function resolve_pkg_root_and_module_name (line 856) | def resolve_pkg_root_and_module_name( function is_importable (line 900) | def is_importable(module_name: str, module_path: Path) -> bool: function compute_module_name (line 926) | def compute_module_name(root: Path, module_path: Path) -> str | None: class CouldNotResolvePathError (line 946) | class CouldNotResolvePathError(Exception): function scandir (line 950) | def scandir( function visit (line 982) | def visit( function absolutepath (line 998) | def absolutepath(path: str | os.PathLike[str]) -> Path: function commonpath (line 1007) | def commonpath(path1: Path, path2: Path) -> Path | None: function bestrelpath (line 1019) | def bestrelpath(directory: Path, dest: Path) -> str: function safe_exists (line 1048) | def safe_exists(p: Path) -> bool: function samefile_nofollow (line 1058) | def samefile_nofollow(p1: Path, p2: Path) -> bool: FILE: src/_pytest/pytester.py function pytest_addoption (line 83) | def pytest_addoption(parser: Parser) -> None: function pytest_configure (line 108) | def pytest_configure(config: Config) -> None: class LsofFdLeakChecker (line 121) | class LsofFdLeakChecker: method get_open_files (line 122) | def get_open_files(self) -> list[tuple[str, str]]: method matching_platform (line 159) | def matching_platform(self) -> bool: method pytest_runtest_protocol (line 168) | def pytest_runtest_protocol(self, item: Item) -> Generator[None, objec... function _pytest (line 198) | def _pytest(request: FixtureRequest) -> PytestArg: class PytestArg (line 205) | class PytestArg: method __init__ (line 206) | def __init__(self, request: FixtureRequest) -> None: method gethookrecorder (line 209) | def gethookrecorder(self, hook) -> HookRecorder: function get_public_names (line 215) | def get_public_names(values: Iterable[str]) -> list[str]: class RecordedHookCall (line 221) | class RecordedHookCall: method __init__ (line 234) | def __init__(self, name: str, kwargs) -> None: method __repr__ (line 238) | def __repr__(self) -> str: method __getattr__ (line 245) | def __getattr__(self, key: str): ... class HookRecorder (line 249) | class HookRecorder: method __init__ (line 258) | def __init__( method finish_recording (line 275) | def finish_recording(self) -> None: method getcalls (line 278) | def getcalls(self, names: str | Iterable[str]) -> list[RecordedHookCall]: method assert_contains (line 284) | def assert_contains(self, entries: Sequence[tuple[str, str]]) -> None: method popcall (line 306) | def popcall(self, name: str) -> RecordedHookCall: method getcall (line 316) | def getcall(self, name: str) -> RecordedHookCall: method getreports (line 324) | def getreports( method getreports (line 330) | def getreports( method getreports (line 336) | def getreports( method getreports (line 344) | def getreports( method matchreport (line 353) | def matchreport( method getfailures (line 384) | def getfailures( method getfailures (line 390) | def getfailures( method getfailures (line 396) | def getfailures( method getfailures (line 404) | def getfailures( method getfailedcollections (line 413) | def getfailedcollections(self) -> Sequence[CollectReport]: method listoutcomes (line 416) | def listoutcomes( method countoutcomes (line 440) | def countoutcomes(self) -> list[int]: method assertoutcome (line 443) | def assertoutcome(self, passed: int = 0, skipped: int = 0, failed: int... method clear (line 455) | def clear(self) -> None: function linecomp (line 460) | def linecomp() -> LineComp: function LineMatcher_fixture (line 467) | def LineMatcher_fixture(request: FixtureRequest) -> type[LineMatcher]: function pytester (line 477) | def pytester( function _sys_snapshot (line 494) | def _sys_snapshot() -> Generator[None]: function _config_for_test (line 503) | def _config_for_test() -> Generator[Config]: class RunResult (line 518) | class RunResult: method __init__ (line 521) | def __init__( method __repr__ (line 548) | def __repr__(self) -> str: method parseoutcomes (line 556) | def parseoutcomes(self) -> dict[str, int]: method parse_summary_nouns (line 569) | def parse_summary_nouns(cls, lines) -> dict[str, int]: method assert_outcomes (line 592) | def assert_outcomes( class SysModulesSnapshot (line 626) | class SysModulesSnapshot: method __init__ (line 627) | def __init__(self, preserve: Callable[[str], bool] | None = None) -> N... method restore (line 631) | def restore(self) -> None: class SysPathsSnapshot (line 640) | class SysPathsSnapshot: method __init__ (line 641) | def __init__(self) -> None: method restore (line 644) | def restore(self) -> None: class Pytester (line 649) | class Pytester: class TimeoutExpired (line 662) | class TimeoutExpired(Exception): method __init__ (line 665) | def __init__( method path (line 712) | def path(self) -> Path: method __repr__ (line 716) | def __repr__(self) -> str: method _finalize (line 719) | def _finalize(self) -> None: method __take_sys_modules_snapshot (line 730) | def __take_sys_modules_snapshot(self) -> SysModulesSnapshot: method make_hook_recorder (line 742) | def make_hook_recorder(self, pluginmanager: PytestPluginManager) -> Ho... method chdir (line 748) | def chdir(self) -> None: method _makefile (line 755) | def _makefile( method makefile (line 792) | def makefile(self, ext: str, *args: str, **kwargs: str) -> Path: method makeconftest (line 824) | def makeconftest(self, source: str) -> Path: method makeini (line 832) | def makeini(self, source: str) -> Path: method maketoml (line 840) | def maketoml(self, source: str) -> Path: method getinicfg (line 850) | def getinicfg(self, source: str) -> SectionWrapper: method makepyprojecttoml (line 855) | def makepyprojecttoml(self, source: str) -> Path: method makepyfile (line 865) | def makepyfile(self, *args, **kwargs) -> Path: method maketxtfile (line 885) | def maketxtfile(self, *args, **kwargs) -> Path: method syspathinsert (line 905) | def syspathinsert(self, path: str | os.PathLike[str] | None = None) ->... method mkdir (line 919) | def mkdir(self, name: str | os.PathLike[str]) -> Path: method mkpydir (line 932) | def mkpydir(self, name: str | os.PathLike[str]) -> Path: method copy_example (line 943) | def copy_example(self, name: str | None = None) -> Path: method getnode (line 989) | def getnode(self, config: Config, arg: str | os.PathLike[str]) -> Coll... method getpathnode (line 1008) | def getpathnode(self, path: str | os.PathLike[str]) -> Collector | Item: method genitems (line 1028) | def genitems(self, colitems: Sequence[Item | Collector]) -> list[Item]: method runitem (line 1045) | def runitem(self, source: str) -> Any: method inline_runsource (line 1060) | def inline_runsource(self, source: str, *cmdlineargs) -> HookRecorder: method inline_genitems (line 1074) | def inline_genitems(self, *args) -> tuple[list[Item], HookRecorder]: method inline_run (line 1085) | def inline_run( method runpytest_inprocess (line 1163) | def runpytest_inprocess( method runpytest (line 1207) | def runpytest(self, *args: str | os.PathLike[str], **kwargs: Any) -> R... method _ensure_basetemp (line 1217) | def _ensure_basetemp( method parseconfig (line 1230) | def parseconfig(self, *args: str | os.PathLike[str]) -> Config: method parseconfigure (line 1253) | def parseconfigure(self, *args: str | os.PathLike[str]) -> Config: method getitem (line 1264) | def getitem( method getitems (line 1286) | def getitems(self, source: str | os.PathLike[str]) -> list[Item]: method getmodulecol (line 1295) | def getmodulecol( method collect_by_name (line 1329) | def collect_by_name(self, modcol: Collector, name: str) -> Item | Coll... method popen (line 1345) | def popen( method run (line 1383) | def run( method _dump_lines (line 1469) | def _dump_lines(self, lines, fp): method _getpytestargs (line 1476) | def _getpytestargs(self) -> tuple[str, ...]: method runpython (line 1479) | def runpython(self, script: os.PathLike[str]) -> RunResult: method runpython_c (line 1483) | def runpython_c(self, command: str) -> RunResult: method runpytest_subprocess (line 1487) | def runpytest_subprocess( method spawn_pytest (line 1519) | def spawn_pytest(self, string: str, expect_timeout: float = 10.0) -> p... method spawn (line 1533) | def spawn(self, cmd: str, expect_timeout: float = 10.0) -> pexpect.spawn: class LineComp (line 1550) | class LineComp: method __init__ (line 1551) | def __init__(self) -> None: method assert_contains_lines (line 1555) | def assert_contains_lines(self, lines2: Sequence[str]) -> None: class LineMatcher (line 1568) | class LineMatcher: method __init__ (line 1578) | def __init__(self, lines: list[str]) -> None: method __str__ (line 1582) | def __str__(self) -> str: method _getlines (line 1590) | def _getlines(self, lines2: str | Sequence[str] | Source) -> Sequence[... method fnmatch_lines_random (line 1597) | def fnmatch_lines_random(self, lines2: Sequence[str]) -> None: method re_match_lines_random (line 1602) | def re_match_lines_random(self, lines2: Sequence[str]) -> None: method _match_lines_random (line 1607) | def _match_lines_random( method get_lines_after (line 1622) | def get_lines_after(self, fnline: str) -> Sequence[str]: method _log (line 1632) | def _log(self, *args) -> None: method _log_text (line 1636) | def _log_text(self) -> str: method fnmatch_lines (line 1639) | def fnmatch_lines( method re_match_lines (line 1654) | def re_match_lines( method _match_lines (line 1675) | def _match_lines( method no_fnmatch_line (line 1742) | def no_fnmatch_line(self, pat: str) -> None: method no_re_match_line (line 1750) | def no_re_match_line(self, pat: str) -> None: method _no_match_line (line 1760) | def _no_match_line( method _fail (line 1783) | def _fail(self, msg: str) -> None: method str (line 1789) | def str(self) -> str: FILE: src/_pytest/pytester_assertions.py function assertoutcome (line 15) | def assertoutcome( function assert_outcomes (line 37) | def assert_outcomes( FILE: src/_pytest/python.py function pytest_addoption (line 85) | def pytest_addoption(parser: Parser) -> None: function pytest_generate_tests (line 121) | def pytest_generate_tests(metafunc: Metafunc) -> None: function pytest_configure (line 126) | def pytest_configure(config: Config) -> None: function async_fail (line 146) | def async_fail(nodeid: str) -> None: function pytest_pyfunc_call (line 160) | def pytest_pyfunc_call(pyfuncitem: Function) -> object | None: function pytest_collect_directory (line 180) | def pytest_collect_directory( function pytest_collect_file (line 194) | def pytest_collect_file(file_path: Path, parent: nodes.Collector) -> Mod... function path_matches_patterns (line 209) | def path_matches_patterns(path: Path, patterns: Iterable[str]) -> bool: function pytest_pycollect_makemodule (line 214) | def pytest_pycollect_makemodule(module_path: Path, parent) -> Module: function pytest_pycollect_makeitem (line 219) | def pytest_pycollect_makeitem( class PyobjMixin (line 254) | class PyobjMixin(nodes.Node): method module (line 263) | def module(self): method cls (line 269) | def cls(self): method instance (line 275) | def instance(self): method obj (line 285) | def obj(self): method obj (line 300) | def obj(self, value): method _getobj (line 303) | def _getobj(self): method getmodpath (line 310) | def getmodpath(self, stopatmodule: bool = True, includemodule: bool = ... method reportinfo (line 325) | def reportinfo(self) -> tuple[os.PathLike[str] | str, int | None, str]: class _EmptyClass (line 336) | class _EmptyClass: pass # noqa: E701 class PyCollector (line 352) | class PyCollector(PyobjMixin, nodes.Collector, abc.ABC): method funcnamefilter (line 353) | def funcnamefilter(self, name: str) -> bool: method isnosetest (line 356) | def isnosetest(self, obj: object) -> bool: method classnamefilter (line 365) | def classnamefilter(self, name: str) -> bool: method istestfunction (line 368) | def istestfunction(self, obj: object, name: str) -> bool: method istestclass (line 377) | def istestclass(self, obj: object, name: str) -> bool: method _matches_prefix_or_glob_option (line 384) | def _matches_prefix_or_glob_option(self, option_name: str, name: str) ... method collect (line 399) | def collect(self) -> Iterable[nodes.Item | nodes.Collector]: method _genfunctions (line 450) | def _genfunctions(self, name: str, funcobj) -> Iterator[Function]: function importtestmodule (line 500) | def importtestmodule( class Module (line 556) | class Module(nodes.File, PyCollector): method _getobj (line 559) | def _getobj(self): method collect (line 562) | def collect(self) -> Iterable[nodes.Item | nodes.Collector]: method _register_setup_module_fixture (line 568) | def _register_setup_module_fixture(self) -> None: method _register_setup_function_fixture (line 602) | def _register_setup_function_fixture(self) -> None: class Package (line 639) | class Package(nodes.Directory): method __init__ (line 654) | def __init__( method setup (line 676) | def setup(self) -> None: method collect (line 694) | def collect(self) -> Iterable[nodes.Item | nodes.Collector]: function _call_with_optional_argument (line 722) | def _call_with_optional_argument(func, arg) -> None: function _get_first_non_fixture_func (line 734) | def _get_first_non_fixture_func(obj: object, names: Iterable[str]) -> ob... class Class (line 745) | class Class(PyCollector): method from_parent (line 749) | def from_parent(cls, parent, *, name, obj=None, **kw) -> Self: # type... method newinstance (line 753) | def newinstance(self): method collect (line 756) | def collect(self) -> Iterable[nodes.Item | nodes.Collector]: method _register_setup_class_fixture (line 785) | def _register_setup_class_fixture(self) -> None: method _register_setup_method_fixture (line 816) | def _register_setup_method_fixture(self) -> None: function hasinit (line 851) | def hasinit(obj: object) -> bool: function hasnew (line 858) | def hasnew(obj: object) -> bool: class IdMaker (line 867) | class IdMaker: method make_unique_parameterset_ids (line 896) | def make_unique_parameterset_ids(self) -> list[str | _HiddenParam]: method _strict_parametrization_ids_enabled (line 963) | def _strict_parametrization_ids_enabled(self) -> bool: method _resolve_ids (line 971) | def _resolve_ids(self) -> Iterable[str | _HiddenParam]: method _idval (line 995) | def _idval(self, val: object, argname: str, idx: int) -> str: method _idval_from_function (line 1008) | def _idval_from_function(self, val: object, argname: str, idx: int) ->... method _idval_from_hook (line 1024) | def _idval_from_hook(self, val: object, argname: str) -> str | None: method _idval_from_value (line 1034) | def _idval_from_value(self, val: object) -> str | None: method _idval_from_value_required (line 1054) | def _idval_from_value_required(self, val: object, idx: int) -> str: method _idval_from_argname (line 1069) | def _idval_from_argname(argname: str, idx: int) -> str: method _complain_multiple_hidden_parameter_sets (line 1074) | def _complain_multiple_hidden_parameter_sets(self) -> NoReturn: method _make_error_prefix (line 1081) | def _make_error_prefix(self) -> str: class CallSpec2 (line 1090) | class CallSpec2: method setmulti (line 1111) | def setmulti( method getparam (line 1141) | def getparam(self, name: str) -> object: method id (line 1148) | def id(self) -> str: function get_direct_param_fixture_func (line 1152) | def get_direct_param_fixture_func(request: FixtureRequest) -> Any: class Metafunc (line 1161) | class Metafunc: method __init__ (line 1169) | def __init__( method parametrize (line 1206) | def parametrize( method _resolve_parameter_set_ids (line 1404) | def _resolve_parameter_set_ids( method _validate_ids (line 1445) | def _validate_ids( method _validate_if_using_arg_names (line 1469) | def _validate_if_using_arg_names( method _recompute_direct_params_indices (line 1499) | def _recompute_direct_params_indices(self) -> None: function _find_parametrized_scope (line 1506) | def _find_parametrized_scope( function _ascii_escaped_by_config (line 1538) | def _ascii_escaped_by_config(val: str | bytes, config: Config | None) ->... class Function (line 1551) | class Function(PyobjMixin, nodes.Item): method __init__ (line 1583) | def __init__( method from_parent (line 1636) | def from_parent(cls, parent, **kw) -> Self: method _initrequest (line 1640) | def _initrequest(self) -> None: method function (line 1645) | def function(self): method instance (line 1650) | def instance(self): method _getinstance (line 1661) | def _getinstance(self): method _getobj (line 1668) | def _getobj(self): method _pyfuncitem (line 1678) | def _pyfuncitem(self): method runtest (line 1682) | def runtest(self) -> None: method setup (line 1686) | def setup(self) -> None: method _traceback_filter (line 1689) | def _traceback_filter(self, excinfo: ExceptionInfo[BaseException]) -> ... method repr_failure (line 1719) | def repr_failure( # type: ignore[override] class FunctionDefinition (line 1729) | class FunctionDefinition(Function): method runtest (line 1733) | def runtest(self) -> None: FILE: src/_pytest/python_api.py function _compare_approx (line 21) | def _compare_approx( class ApproxBase (line 50) | class ApproxBase: method __init__ (line 58) | def __init__(self, expected, rel=None, abs=None, nan_ok: bool = False)... method __repr__ (line 66) | def __repr__(self) -> str: method _repr_compare (line 69) | def _repr_compare(self, other_side: Any) -> list[str]: method __eq__ (line 76) | def __eq__(self, actual) -> bool: method __bool__ (line 81) | def __bool__(self): method __ne__ (line 90) | def __ne__(self, actual) -> bool: method _approx_scalar (line 93) | def _approx_scalar(self, x) -> ApproxScalar: method _yield_comparisons (line 98) | def _yield_comparisons(self, actual): method _check_type (line 105) | def _check_type(self) -> None: function _recursive_sequence_map (line 114) | def _recursive_sequence_map(f, x): class ApproxNumpy (line 125) | class ApproxNumpy(ApproxBase): method __repr__ (line 128) | def __repr__(self) -> str: method _repr_compare (line 134) | def _repr_compare(self, other_side: ndarray | list[Any]) -> list[str]: method __eq__ (line 198) | def __eq__(self, actual) -> bool: method _yield_comparisons (line 214) | def _yield_comparisons(self, actual): class ApproxMapping (line 229) | class ApproxMapping(ApproxBase): method __repr__ (line 233) | def __repr__(self) -> str: method _repr_compare (line 236) | def _repr_compare(self, other_side: Mapping[object, float]) -> list[str]: method __eq__ (line 295) | def __eq__(self, actual) -> bool: method _yield_comparisons (line 304) | def _yield_comparisons(self, actual): method _check_type (line 308) | def _check_type(self) -> None: class ApproxSequenceLike (line 316) | class ApproxSequenceLike(ApproxBase): method __repr__ (line 319) | def __repr__(self) -> str: method _repr_compare (line 325) | def _repr_compare(self, other_side: Sequence[float]) -> list[str]: method __eq__ (line 370) | def __eq__(self, actual) -> bool: method _yield_comparisons (line 378) | def _yield_comparisons(self, actual): method _check_type (line 381) | def _check_type(self) -> None: class ApproxScalar (line 389) | class ApproxScalar(ApproxBase): method __repr__ (line 397) | def __repr__(self) -> str: method __eq__ (line 432) | def __eq__(self, actual) -> bool: method tolerance (line 488) | def tolerance(self): class ApproxDecimal (line 535) | class ApproxDecimal(ApproxScalar): method __repr__ (line 541) | def __repr__(self) -> str: function approx (line 561) | def approx(expected, rel=None, abs=None, nan_ok: bool = False) -> Approx... function _is_sequence_like (line 789) | def _is_sequence_like(expected: object) -> bool: function _is_numpy_array (line 797) | def _is_numpy_array(obj: object) -> bool: function _as_numpy_array (line 805) | def _as_numpy_array(obj: object) -> ndarray | None: FILE: src/_pytest/raises.py function raises (line 74) | def raises( function raises (line 83) | def raises( function raises (line 92) | def raises(*, check: Callable[[BaseException], bool]) -> RaisesExc[BaseE... function raises (line 96) | def raises( function raises (line 104) | def raises( function _match_pattern (line 314) | def _match_pattern(match: Pattern[str]) -> str | Pattern[str]: function repr_callable (line 319) | def repr_callable(fun: Callable[[BaseExcT_1], bool]) -> str: function backquote (line 327) | def backquote(s: str) -> str: function _exception_type_name (line 331) | def _exception_type_name( function _check_raw_type (line 341) | def _check_raw_type( function is_fully_escaped (line 364) | def is_fully_escaped(s: str) -> bool: function unescape (line 372) | def unescape(s: str) -> str: class AbstractRaises (line 382) | class AbstractRaises(ABC, Generic[BaseExcT_co]): method __init__ (line 385) | def __init__( method _parse_exc (line 437) | def _parse_exc( method fail_reason (line 475) | def fail_reason(self) -> str | None: method _check_check (line 481) | def _check_check( method _check_match (line 496) | def _check_match(self, e: BaseException) -> bool: method matches (line 532) | def matches( class RaisesExc (line 541) | class RaisesExc(AbstractRaises[BaseExcT_co_default]): method __init__ (line 588) | def __init__( method __init__ (line 600) | def __init__( method __init__ (line 610) | def __init__(self, /, *, check: Callable[[BaseException], bool]) -> No... method __init__ (line 612) | def __init__( method matches (line 640) | def matches( method __repr__ (line 675) | def __repr__(self) -> str: method _check_type (line 688) | def _check_type(self, exception: BaseException) -> TypeGuard[BaseExcT_... method __enter__ (line 692) | def __enter__(self) -> ExceptionInfo[BaseExcT_co_default]: method __exit__ (line 697) | def __exit__( class RaisesGroup (line 732) | class RaisesGroup(AbstractRaises[BaseExceptionGroup[BaseExcT_co]]): method __init__ (line 847) | def __init__( method __init__ (line 858) | def __init__( method __init__ (line 874) | def __init__( method __init__ (line 884) | def __init__( method __init__ (line 894) | def __init__( method __init__ (line 907) | def __init__( method __init__ (line 917) | def __init__( method __init__ (line 929) | def __init__( method __init__ (line 948) | def __init__( method _parse_excgroup (line 1011) | def _parse_excgroup( method __enter__ (line 1048) | def __enter__( method __enter__ (line 1052) | def __enter__( method __enter__ (line 1056) | def __enter__(self) -> ExceptionInfo[BaseExceptionGroup[BaseException]]: method __repr__ (line 1062) | def __repr__(self) -> str: method _unroll_exceptions (line 1078) | def _unroll_exceptions( method matches (line 1093) | def matches( method matches (line 1098) | def matches( method matches (line 1103) | def matches( method _check_expected (line 1227) | def _check_expected( method _repr_expected (line 1246) | def _repr_expected(e: type[BaseException] | AbstractRaises[BaseExcepti... method _check_exceptions (line 1254) | def _check_exceptions( method _check_exceptions (line 1260) | def _check_exceptions( method _check_exceptions (line 1266) | def _check_exceptions( method __exit__ (line 1409) | def __exit__( method expected_type (line 1443) | def expected_type(self) -> str: class NotChecked (line 1459) | class NotChecked: class ResultHolder (line 1463) | class ResultHolder: method __init__ (line 1468) | def __init__( method set_result (line 1479) | def set_result(self, expected: int, actual: int, result: str | None) -... method get_result (line 1482) | def get_result(self, expected: int, actual: int) -> str | None: method has_result (line 1488) | def has_result(self, expected: int, actual: int) -> bool: method no_match_for_expected (line 1491) | def no_match_for_expected(self, expected: list[int]) -> bool: method no_match_for_actual (line 1499) | def no_match_for_actual(self, actual: list[int]) -> bool: function possible_match (line 1508) | def possible_match(results: ResultHolder, used: set[int] | None = None) ... FILE: src/_pytest/recwarn.py function recwarn (line 34) | def recwarn() -> Generator[WarningsRecorder]: function deprecated_call (line 46) | def deprecated_call( function deprecated_call (line 52) | def deprecated_call(func: Callable[..., T], *args: Any, **kwargs: Any) -... function deprecated_call (line 55) | def deprecated_call( function warns (line 90) | def warns( function warns (line 98) | def warns( function warns (line 106) | def warns( class WarningsRecorder (line 170) | class WarningsRecorder(warnings.catch_warnings): method __init__ (line 183) | def __init__(self, *, _ispytest: bool = False) -> None: method list (line 190) | def list(self) -> list[warnings.WarningMessage]: method __getitem__ (line 194) | def __getitem__(self, i: int) -> warnings.WarningMessage: method __iter__ (line 198) | def __iter__(self) -> Iterator[warnings.WarningMessage]: method __len__ (line 202) | def __len__(self) -> int: method pop (line 206) | def pop(self, cls: type[Warning] = Warning) -> warnings.WarningMessage: method clear (line 225) | def clear(self) -> None: method __enter__ (line 231) | def __enter__(self) -> Self: # type: ignore[override] method __exit__ (line 242) | def __exit__( class WarningsChecker (line 260) | class WarningsChecker(WarningsRecorder): method __init__ (line 261) | def __init__( method matches (line 287) | def matches(self, warning: warnings.WarningMessage) -> bool: method __exit__ (line 293) | def __exit__( FILE: src/_pytest/reports.py function getworkerinfoline (line 49) | def getworkerinfoline(node): class BaseReport (line 61) | class BaseReport: method __init__ (line 71) | def __init__(self, **kw: Any) -> None: method __getattr__ (line 76) | def __getattr__(self, key: str) -> Any: ... method toterminal (line 78) | def toterminal(self, out: TerminalWriter) -> None: method get_sections (line 98) | def get_sections(self, prefix: str) -> Iterator[tuple[str, str]]: method longreprtext (line 104) | def longreprtext(self) -> str: method caplog (line 118) | def caplog(self) -> str: method capstdout (line 128) | def capstdout(self) -> str: method capstderr (line 138) | def capstderr(self) -> str: method passed (line 148) | def passed(self) -> bool: method failed (line 153) | def failed(self) -> bool: method skipped (line 158) | def skipped(self) -> bool: method fspath (line 163) | def fspath(self) -> str: method count_towards_summary (line 168) | def count_towards_summary(self) -> bool: method head_line (line 180) | def head_line(self) -> str | None: method _get_verbose_word_with_markup (line 200) | def _get_verbose_word_with_markup( method _to_json (line 221) | def _to_json(self) -> dict[str, Any]: method _from_json (line 232) | def _from_json(cls, reportdict: dict[str, object]) -> Self: function _report_unserialization_failure (line 245) | def _report_unserialization_failure( function _format_failed_longrepr (line 259) | def _format_failed_longrepr( function _format_exception_group_all_skipped_longrepr (line 272) | def _format_exception_group_all_skipped_longrepr( class TestReport (line 305) | class TestReport(BaseReport): method __init__ (line 318) | def __init__( method __repr__ (line 380) | def __repr__(self) -> str: method from_item_and_call (line 384) | def from_item_and_call(cls, item: Item, call: CallInfo[None]) -> TestR... class CollectReport (line 457) | class CollectReport(BaseReport): method __init__ (line 465) | def __init__( method location (line 499) | def location( # type:ignore[override] method __repr__ (line 504) | def __repr__(self) -> str: class CollectErrorRepr (line 508) | class CollectErrorRepr(TerminalRepr): method __init__ (line 509) | def __init__(self, msg: str) -> None: method toterminal (line 512) | def toterminal(self, out: TerminalWriter) -> None: function pytest_report_to_serializable (line 516) | def pytest_report_to_serializable( function pytest_report_from_serializable (line 527) | def pytest_report_from_serializable( function _report_to_json (line 541) | def _report_to_json(report: BaseReport) -> dict[str, Any]: function _report_kwargs_from_json (line 614) | def _report_kwargs_from_json(reportdict: dict[str, Any]) -> dict[str, Any]: FILE: src/_pytest/runner.py function pytest_addoption (line 51) | def pytest_addoption(parser: Parser) -> None: function pytest_terminal_summary (line 72) | def pytest_terminal_summary(terminalreporter: TerminalReporter) -> None: function pytest_sessionstart (line 107) | def pytest_sessionstart(session: Session) -> None: function pytest_sessionfinish (line 111) | def pytest_sessionfinish(session: Session) -> None: function pytest_runtest_protocol (line 115) | def pytest_runtest_protocol(item: Item, nextitem: Item | None) -> bool: function runtestprotocol (line 123) | def runtestprotocol( function show_test_item (line 151) | def show_test_item(item: Item) -> None: function pytest_runtest_setup (line 163) | def pytest_runtest_setup(item: Item) -> None: function pytest_runtest_call (line 168) | def pytest_runtest_call(item: Item) -> None: function pytest_runtest_teardown (line 192) | def pytest_runtest_teardown(item: Item, nextitem: Item | None) -> None: function _update_current_test_var (line 198) | def _update_current_test_var( function pytest_report_teststatus (line 215) | def pytest_report_teststatus(report: BaseReport) -> tuple[str, str, str]... function call_and_report (line 231) | def call_and_report( function get_reraise_exceptions (line 257) | def get_reraise_exceptions(config: Config) -> tuple[type[BaseException],... function check_interactive_exception (line 265) | def check_interactive_exception(call: CallInfo[object], report: BaseRepo... class CallInfo (line 288) | class CallInfo(Generic[TResult]): method __init__ (line 303) | def __init__( method result (line 323) | def result(self) -> TResult: method from_call (line 336) | def from_call( method __repr__ (line 373) | def __repr__(self) -> str: function pytest_runtest_makereport (line 379) | def pytest_runtest_makereport(item: Item, call: CallInfo[None]) -> TestR... function pytest_make_collect_report (line 383) | def pytest_make_collect_report(collector: Collector) -> CollectReport: class SetupState (line 434) | class SetupState: method __init__ (line 498) | def __init__(self) -> None: method is_node_active (line 510) | def is_node_active(self, node: Node) -> bool: method setup (line 515) | def setup(self, item: Item) -> None: method addfinalizer (line 536) | def addfinalizer(self, finalizer: Callable[[], object], node: Node) ->... method teardown_exact (line 546) | def teardown_exact(self, nextitem: Item | None) -> None: function collect_one_node (line 581) | def collect_one_node(collector: Collector) -> CollectReport: FILE: src/_pytest/scope.py class Scope (line 22) | class Scope(Enum): method next_lower (line 42) | def next_lower(self) -> Scope: method next_higher (line 49) | def next_higher(self) -> Scope: method __lt__ (line 56) | def __lt__(self, other: Scope) -> bool: method from_user (line 62) | def from_user( FILE: src/_pytest/setuponly.py function pytest_addoption (line 15) | def pytest_addoption(parser: Parser) -> None: function pytest_fixture_setup (line 32) | def pytest_fixture_setup( function pytest_fixture_post_finalizer (line 53) | def pytest_fixture_post_finalizer( function _show_fixture_action (line 64) | def _show_fixture_action( function pytest_cmdline_main (line 95) | def pytest_cmdline_main(config: Config) -> int | ExitCode | None: FILE: src/_pytest/setupplan.py function pytest_addoption (line 11) | def pytest_addoption(parser: Parser) -> None: function pytest_fixture_setup (line 23) | def pytest_fixture_setup( function pytest_cmdline_main (line 35) | def pytest_cmdline_main(config: Config) -> int | ExitCode | None: FILE: src/_pytest/skipping.py function pytest_addoption (line 29) | def pytest_addoption(parser: Parser) -> None: function pytest_configure (line 50) | def pytest_configure(config: Config) -> None: function evaluate_condition (line 89) | def evaluate_condition(item: Item, mark: Mark, condition: object) -> tup... class Skip (line 163) | class Skip: function evaluate_skip_marks (line 169) | def evaluate_skip_marks(item: Item) -> Skip | None: class Xfail (line 198) | class Xfail: function evaluate_xfail_marks (line 214) | def evaluate_xfail_marks(item: Item) -> Xfail | None: function pytest_runtest_setup (line 248) | def pytest_runtest_setup(item: Item) -> None: function pytest_runtest_call (line 259) | def pytest_runtest_call(item: Item) -> Generator[None]: function pytest_runtest_makereport (line 277) | def pytest_runtest_makereport( function pytest_report_teststatus (line 315) | def pytest_report_teststatus(report: BaseReport) -> tuple[str, str, str]... FILE: src/_pytest/stash.py class StashKey (line 16) | class StashKey(Generic[T]): class Stash (line 29) | class Stash: method __init__ (line 72) | def __init__(self) -> None: method __setitem__ (line 75) | def __setitem__(self, key: StashKey[T], value: T) -> None: method __getitem__ (line 79) | def __getitem__(self, key: StashKey[T]) -> T: method get (line 86) | def get(self, key: StashKey[T], default: D) -> T | D: method setdefault (line 94) | def setdefault(self, key: StashKey[T], default: T) -> T: method __delitem__ (line 103) | def __delitem__(self, key: StashKey[T]) -> None: method __contains__ (line 110) | def __contains__(self, key: StashKey[T]) -> bool: method __len__ (line 114) | def __len__(self) -> int: FILE: src/_pytest/stepwise.py function pytest_addoption (line 23) | def pytest_addoption(parser: Parser) -> None: function pytest_configure (line 53) | def pytest_configure(config: Config) -> None: function pytest_sessionfinish (line 61) | def pytest_sessionfinish(session: Session) -> None: class StepwiseCacheInfo (line 71) | class StepwiseCacheInfo: method last_cache_date (line 84) | def last_cache_date(self) -> datetime: method empty (line 88) | def empty(cls) -> Self: method update_date_to_now (line 95) | def update_date_to_now(self) -> None: class StepwisePlugin (line 99) | class StepwisePlugin: method __init__ (line 100) | def __init__(self, config: Config) -> None: method _load_cached_info (line 110) | def _load_cached_info(self) -> StepwiseCacheInfo: method pytest_sessionstart (line 126) | def pytest_sessionstart(self, session: Session) -> None: method pytest_collection_modifyitems (line 129) | def pytest_collection_modifyitems( method pytest_runtest_logreport (line 174) | def pytest_runtest_logreport(self, report: TestReport) -> None: method pytest_report_collectionfinish (line 198) | def pytest_report_collectionfinish(self) -> list[str] | None: method pytest_sessionfinish (line 203) | def pytest_sessionfinish(self) -> None: FILE: src/_pytest/subtests.py function pytest_addoption (line 46) | def pytest_addoption(parser: Parser) -> None: class SubtestContext (line 58) | class SubtestContext: method __post_init__ (line 64) | def __post_init__(self) -> None: method _to_json (line 70) | def _to_json(self) -> dict[str, Any]: method _from_json (line 75) | def _from_json(cls, d: dict[str, Any]) -> Self: class SubtestReport (line 80) | class SubtestReport(TestReport): method head_line (line 84) | def head_line(self) -> str: method _sub_test_description (line 88) | def _sub_test_description(self) -> str: method _to_json (line 99) | def _to_json(self) -> dict[str, Any]: method _from_json (line 107) | def _from_json(cls, reportdict: dict[str, Any]) -> SubtestReport: method _new (line 113) | def _new( function subtests (line 136) | def subtests(request: SubRequest) -> Subtests: class Subtests (line 145) | class Subtests: method __init__ (line 148) | def __init__( method test (line 161) | def test( class _SubTestContextManager (line 197) | class _SubTestContextManager: method __enter__ (line 215) | def __enter__(self) -> None: method __exit__ (line 230) | def __exit__( function capturing_output (line 288) | def capturing_output(request: SubRequest) -> Iterator[Captured]: function capturing_logs (line 317) | def capturing_logs( class Captured (line 335) | class Captured: class CapturedLogs (line 341) | class CapturedLogs: function pytest_report_to_serializable (line 345) | def pytest_report_to_serializable(report: TestReport) -> dict[str, Any] ... function pytest_report_from_serializable (line 351) | def pytest_report_from_serializable(data: dict[str, Any]) -> SubtestRepo... function pytest_configure (line 362) | def pytest_configure(config: Config) -> None: function pytest_report_teststatus (line 367) | def pytest_report_teststatus( FILE: src/_pytest/terminal.py class MoreQuietAction (line 80) | class MoreQuietAction(argparse.Action): method __init__ (line 87) | def __init__( method __call__ (line 104) | def __call__( class TestShortLogReport (line 117) | class TestShortLogReport(NamedTuple): function pytest_addoption (line 137) | def pytest_addoption(parser: Parser) -> None: function pytest_configure (line 291) | def pytest_configure(config: Config) -> None: function getreportopt (line 308) | def getreportopt(config: Config) -> str: function pytest_report_teststatus (line 334) | def pytest_report_teststatus(report: BaseReport) -> tuple[str, str, str]: class WarningReport (line 350) | class WarningReport: method get_location (line 367) | def get_location(self, config: Config) -> str | None: class TerminalReporter (line 379) | class TerminalReporter: method __init__ (line 380) | def __init__(self, config: Config, file: TextIO | None = None) -> None: method _determine_show_progress_info (line 410) | def _determine_show_progress_info( method verbosity (line 436) | def verbosity(self) -> int: method showheader (line 441) | def showheader(self) -> bool: method no_header (line 445) | def no_header(self) -> bool: method no_summary (line 449) | def no_summary(self) -> bool: method showfspath (line 453) | def showfspath(self) -> bool: method showfspath (line 459) | def showfspath(self, value: bool | None) -> None: method showlongtestinfo (line 463) | def showlongtestinfo(self) -> bool: method reported_progress (line 467) | def reported_progress(self) -> int: method hasopt (line 474) | def hasopt(self, char: str) -> bool: method write_fspath_result (line 478) | def write_fspath_result(self, nodeid: str, res: str, **markup: bool) -... method write_ensure_prefix (line 489) | def write_ensure_prefix(self, prefix: str, extra: str = "", **kwargs) ... method ensure_newline (line 498) | def ensure_newline(self) -> None: method wrap_write (line 503) | def wrap_write( method write (line 525) | def write(self, content: str, *, flush: bool = False, **markup: bool) ... method write_raw (line 528) | def write_raw(self, content: str, *, flush: bool = False) -> None: method flush (line 531) | def flush(self) -> None: method write_line (line 534) | def write_line(self, line: str | bytes, **markup: bool) -> None: method rewrite (line 540) | def rewrite(self, line: str, **markup: bool) -> None: method write_sep (line 558) | def write_sep( method section (line 568) | def section(self, title: str, sep: str = "=", **kw: bool) -> None: method line (line 571) | def line(self, msg: str, **kw: bool) -> None: method _add_stats (line 574) | def _add_stats(self, category: str, items: Sequence[Any]) -> None: method pytest_internalerror (line 580) | def pytest_internalerror(self, excrepr: ExceptionRepr) -> bool: method pytest_warning_recorded (line 585) | def pytest_warning_recorded( method pytest_plugin_registered (line 600) | def pytest_plugin_registered(self, plugin: _PluggyPlugin) -> None: method pytest_deselected (line 608) | def pytest_deselected(self, items: Sequence[Item]) -> None: method pytest_runtest_logstart (line 611) | def pytest_runtest_logstart( method pytest_runtest_logreport (line 625) | def pytest_runtest_logreport(self, report: TestReport) -> None: method _is_last_item (line 702) | def _is_last_item(self) -> bool: method pytest_runtestloop (line 707) | def pytest_runtestloop(self) -> Generator[None, object, object]: method _get_progress_information_message (line 720) | def _get_progress_information_message(self) -> str: method _write_progress_information_if_past_edge (line 765) | def _write_progress_information_if_past_edge(self) -> None: method _write_progress_information_filling_space (line 781) | def _write_progress_information_filling_space(self) -> None: method _width_of_current_line (line 789) | def _width_of_current_line(self) -> int: method pytest_collection (line 793) | def pytest_collection(self) -> None: method pytest_collectreport (line 800) | def pytest_collectreport(self, report: CollectReport) -> None: method report_collect (line 810) | def report_collect(self, final: bool = False) -> None: method pytest_sessionstart (line 847) | def pytest_sessionstart(self, session: Session) -> None: method _write_report_lines_from_hooks (line 873) | def _write_report_lines_from_hooks( method pytest_report_header (line 883) | def pytest_report_header(self, config: Config) -> list[str]: method pytest_collection_finish (line 905) | def pytest_collection_finish(self, session: Session) -> None: method _printcollecteditems (line 927) | def _printcollecteditems(self, items: Sequence[Item]) -> None: method pytest_sessionfinish (line 958) | def pytest_sessionfinish( method pytest_terminal_summary (line 985) | def pytest_terminal_summary(self) -> Generator[None]: method pytest_keyboard_interrupt (line 999) | def pytest_keyboard_interrupt(self, excinfo: ExceptionInfo[BaseExcepti... method pytest_unconfigure (line 1002) | def pytest_unconfigure(self) -> None: method _report_keyboardinterrupt (line 1006) | def _report_keyboardinterrupt(self) -> None: method _locationline (line 1022) | def _locationline( method _getfailureheadline (line 1043) | def _getfailureheadline(self, rep): method _getcrashline (line 1049) | def _getcrashline(self, rep): method getreports (line 1061) | def getreports(self, name: str): method summary_warnings (line 1064) | def summary_warnings(self) -> None: method summary_passes (line 1118) | def summary_passes(self) -> None: method summary_xpasses (line 1121) | def summary_xpasses(self) -> None: method summary_passes_combined (line 1124) | def summary_passes_combined( method _get_teardown_reports (line 1140) | def _get_teardown_reports(self, nodeid: str) -> list[TestReport]: method _handle_teardown_sections (line 1148) | def _handle_teardown_sections(self, nodeid: str) -> None: method print_teardown_sections (line 1152) | def print_teardown_sections(self, rep: TestReport) -> None: method summary_failures (line 1165) | def summary_failures(self) -> None: method summary_xfailures (line 1169) | def summary_xfailures(self) -> None: method summary_failures_combined (line 1174) | def summary_failures_combined( method summary_errors (line 1200) | def summary_errors(self) -> None: method _outrep_summary (line 1215) | def _outrep_summary(self, rep: BaseReport) -> None: method summary_stats (line 1228) | def summary_stats(self) -> None: method short_test_summary (line 1265) | def short_test_summary(self) -> None: method _get_main_color (line 1373) | def _get_main_color(self) -> tuple[str, list[str]]: method _determine_main_color (line 1380) | def _determine_main_color(self, unknown_type_seen: bool) -> str: method _set_main_color (line 1392) | def _set_main_color(self) -> None: method build_summary_stats_line (line 1401) | def build_summary_stats_line(self) -> tuple[list[tuple[str, dict[str, ... method _get_reports_to_display (line 1426) | def _get_reports_to_display(self, key: str) -> list[Any]: method _build_normal_summary_stats_line (line 1431) | def _build_normal_summary_stats_line( method _build_collect_only_summary_stats_line (line 1450) | def _build_collect_only_summary_stats_line( function _get_node_id_with_markup (line 1483) | def _get_node_id_with_markup(tw: TerminalWriter, config: Config, rep: Ba... function _format_trimmed (line 1493) | def _format_trimmed(format: str, msg: str, available_width: int) -> str ... function _get_line_with_reprcrash_message (line 1518) | def _get_line_with_reprcrash_message( function _folded_skips (line 1554) | def _folded_skips( function pluralize (line 1596) | def pluralize(count: int, noun: str) -> tuple[int, str]: function _plugin_nameversions (line 1609) | def _plugin_nameversions(plugininfo) -> list[str]: function format_session_duration (line 1623) | def format_session_duration(seconds: float) -> str: function format_node_duration (line 1632) | def format_node_duration(seconds: float) -> str: function _get_raw_skip_reason (line 1655) | def _get_raw_skip_reason(report: TestReport) -> str: class TerminalProgressPlugin (line 1676) | class TerminalProgressPlugin: method __init__ (line 1687) | def __init__(self, tr: TerminalReporter) -> None: method _emit_progress (line 1692) | def _emit_progress( method pytest_sessionstart (line 1731) | def pytest_sessionstart(self, session: Session) -> None: method pytest_collection_finish (line 1737) | def pytest_collection_finish(self) -> None: method pytest_runtest_logreport (line 1744) | def pytest_runtest_logreport(self, report: TestReport) -> None: method pytest_sessionfinish (line 1761) | def pytest_sessionfinish(self) -> None: FILE: src/_pytest/terminalprogress.py function pytest_configure (line 23) | def pytest_configure(config: Config) -> None: FILE: src/_pytest/threadexception.py class ThreadExceptionMeta (line 27) | class ThreadExceptionMeta(NamedTuple): function collect_thread_exception (line 38) | def collect_thread_exception(config: Config) -> None: function cleanup (line 77) | def cleanup( function thread_exception_hook (line 92) | def thread_exception_hook( function pytest_configure (line 132) | def pytest_configure(config: Config) -> None: function pytest_runtest_setup (line 141) | def pytest_runtest_setup(item: Item) -> None: function pytest_runtest_call (line 146) | def pytest_runtest_call(item: Item) -> None: function pytest_runtest_teardown (line 151) | def pytest_runtest_teardown(item: Item) -> None: FILE: src/_pytest/timing.py class Instant (line 25) | class Instant: method elapsed (line 43) | def elapsed(self) -> Duration: method as_utc (line 47) | def as_utc(self) -> datetime: class Duration (line 53) | class Duration: method seconds (line 60) | def seconds(self) -> float: class MockTiming (line 66) | class MockTiming: method sleep (line 80) | def sleep(self, seconds: float) -> None: method time (line 83) | def time(self) -> float: method patch (line 86) | def patch(self, monkeypatch: MonkeyPatch) -> None: FILE: src/_pytest/tmpdir.py class TempPathFactory (line 42) | class TempPathFactory: method __init__ (line 54) | def __init__( method from_config (line 78) | def from_config( method _ensure_relative_to_basetemp (line 109) | def _ensure_relative_to_basetemp(self, basename: str) -> str: method mktemp (line 115) | def mktemp(self, basename: str, numbered: bool = True) -> Path: method getbasetemp (line 139) | def getbasetemp(self) -> Path: function get_user (line 199) | def get_user() -> str | None: function pytest_configure (line 211) | def pytest_configure(config: Config) -> None: function pytest_addoption (line 224) | def pytest_addoption(parser: Parser) -> None: function tmp_path_factory (line 243) | def tmp_path_factory(request: FixtureRequest) -> TempPathFactory: function _mk_tmp (line 249) | def _mk_tmp(request: FixtureRequest, factory: TempPathFactory) -> Path: function tmp_path (line 258) | def tmp_path( function pytest_sessionfinish (line 282) | def pytest_sessionfinish(session, exitstatus: int | ExitCode): function pytest_runtest_makereport (line 308) | def pytest_runtest_makereport( FILE: src/_pytest/tracemalloc.py function tracemalloc_message (line 4) | def tracemalloc_message(source: object) -> str: FILE: src/_pytest/unittest.py function pytest_pycollect_makeitem (line 58) | def pytest_pycollect_makeitem( class UnitTestCase (line 78) | class UnitTestCase(Class): method newinstance (line 83) | def newinstance(self): method collect (line 91) | def collect(self) -> Iterable[Item | Collector]: method _register_unittest_setup_class_fixture (line 122) | def _register_unittest_setup_class_fixture(self, cls: type) -> None: method _register_unittest_setup_method_fixture (line 178) | def _register_unittest_setup_method_fixture(self, cls: type) -> None: class TestCaseFunction (line 209) | class TestCaseFunction(Function): method _getinstance (line 214) | def _getinstance(self): method _testcase (line 221) | def _testcase(self): method setup (line 224) | def setup(self) -> None: method teardown (line 233) | def teardown(self) -> None: method startTest (line 241) | def startTest(self, testcase: unittest.TestCase) -> None: method _addexcinfo (line 244) | def _addexcinfo(self, rawexcinfo: _SysExcInfoType) -> None: method addError (line 278) | def addError( method addFailure (line 288) | def addFailure( method addSkip (line 293) | def addSkip( method addExpectedFailure (line 326) | def addExpectedFailure( method addUnexpectedSuccess (line 337) | def addUnexpectedSuccess( method addSuccess (line 351) | def addSuccess(self, testcase: unittest.TestCase) -> None: method stopTest (line 354) | def stopTest(self, testcase: unittest.TestCase) -> None: method addDuration (line 357) | def addDuration(self, testcase: unittest.TestCase, elapsed: float) -> ... method runtest (line 360) | def runtest(self) -> None: method _traceback_filter (line 393) | def _traceback_filter( method addSubTest (line 404) | def addSubTest( method _obtain_errors_and_skips (line 462) | def _obtain_errors_and_skips(self) -> tuple[list[Any], list[Any]]: function pytest_runtest_makereport (line 488) | def pytest_runtest_makereport(item: Item, call: CallInfo[None]) -> None: function _is_skipped (line 506) | def _is_skipped(obj) -> bool: function pytest_configure (line 511) | def pytest_configure() -> None: class TwistedVersion (line 520) | class TwistedVersion(Enum): function _get_twisted_version (line 535) | def _get_twisted_version() -> TwistedVersion: function pytest_runtest_protocol (line 561) | def pytest_runtest_protocol(item: Item) -> Iterator[None]: function _handle_twisted_exc_info (line 594) | def _handle_twisted_exc_info( FILE: src/_pytest/unraisableexception.py function gc_collect_harder (line 31) | def gc_collect_harder(iterations: int) -> None: class UnraisableMeta (line 36) | class UnraisableMeta(NamedTuple): function collect_unraisable (line 47) | def collect_unraisable(config: Config) -> None: function cleanup (line 86) | def cleanup( function unraisable_hook (line 102) | def unraisable_hook( function pytest_configure (line 143) | def pytest_configure(config: Config) -> None: function pytest_runtest_setup (line 152) | def pytest_runtest_setup(item: Item) -> None: function pytest_runtest_call (line 157) | def pytest_runtest_call(item: Item) -> None: function pytest_runtest_teardown (line 162) | def pytest_runtest_teardown(item: Item) -> None: FILE: src/_pytest/warning_types.py class PytestWarning (line 13) | class PytestWarning(UserWarning): class PytestAssertRewriteWarning (line 20) | class PytestAssertRewriteWarning(PytestWarning): class PytestCacheWarning (line 27) | class PytestCacheWarning(PytestWarning): class PytestConfigWarning (line 34) | class PytestConfigWarning(PytestWarning): class PytestCollectionWarning (line 41) | class PytestCollectionWarning(PytestWarning): class PytestDeprecationWarning (line 47) | class PytestDeprecationWarning(PytestWarning, DeprecationWarning): class PytestRemovedIn9Warning (line 53) | class PytestRemovedIn9Warning(PytestDeprecationWarning): class PytestRemovedIn10Warning (line 59) | class PytestRemovedIn10Warning(PytestDeprecationWarning): class PytestExperimentalApiWarning (line 66) | class PytestExperimentalApiWarning(PytestWarning, FutureWarning): method simple (line 76) | def simple(cls, apiname: str) -> PytestExperimentalApiWarning: class PytestReturnNotNoneWarning (line 81) | class PytestReturnNotNoneWarning(PytestWarning): class PytestUnknownMarkWarning (line 92) | class PytestUnknownMarkWarning(PytestWarning): class PytestUnraisableExceptionWarning (line 102) | class PytestUnraisableExceptionWarning(PytestWarning): class PytestUnhandledThreadExceptionWarning (line 114) | class PytestUnhandledThreadExceptionWarning(PytestWarning): class UnformattedWarning (line 128) | class UnformattedWarning(Generic[_W]): method format (line 138) | def format(self, **kwargs: Any) -> _W: class PytestFDWarning (line 144) | class PytestFDWarning(PytestWarning): function warn_explicit_for (line 150) | def warn_explicit_for(method: FunctionType, message: PytestWarning) -> N... FILE: src/_pytest/warnings.py function catch_warnings_for_item (line 22) | def catch_warnings_for_item( function warning_record_to_str (line 73) | def warning_record_to_str(warning_message: warnings.WarningMessage) -> str: function pytest_runtest_protocol (line 85) | def pytest_runtest_protocol(item: Item) -> Generator[None, object, object]: function pytest_collection (line 93) | def pytest_collection(session: Session) -> Generator[None, object, object]: function pytest_terminal_summary (line 102) | def pytest_terminal_summary( function pytest_sessionfinish (line 113) | def pytest_sessionfinish(session: Session) -> Generator[None]: function pytest_load_initial_conftests (line 122) | def pytest_load_initial_conftests( function pytest_configure (line 131) | def pytest_configure(config: Config) -> None: FILE: testing/_py/test_local.py function ignore_encoding_warning (line 20) | def ignore_encoding_warning(): class CommonFSTests (line 26) | class CommonFSTests: method test_constructor_equality (line 27) | def test_constructor_equality(self, path1): method test_eq_nonstring (line 31) | def test_eq_nonstring(self, path1): method test_new_identical (line 36) | def test_new_identical(self, path1): method test_join (line 39) | def test_join(self, path1): method test_join_normalized (line 45) | def test_join_normalized(self, path1): method test_join_noargs (line 55) | def test_join_noargs(self, path1): method test_add_something (line 59) | def test_add_something(self, path1): method test_parts (line 67) | def test_parts(self, path1): method test_common (line 75) | def test_common(self, path1): method test_basename_checks (line 85) | def test_basename_checks(self, path1): method test_basename (line 91) | def test_basename(self, path1): method test_dirname (line 96) | def test_dirname(self, path1): method test_dirpath (line 100) | def test_dirpath(self, path1): method test_dirpath_with_args (line 104) | def test_dirpath_with_args(self, path1): method test_newbasename (line 108) | def test_newbasename(self, path1): method test_not_exists (line 114) | def test_not_exists(self, path1): method test_exists (line 118) | def test_exists(self, path1): method test_dir (line 125) | def test_dir(self, path1): method test_fnmatch_file (line 134) | def test_fnmatch_file(self, path1): method test_relto (line 146) | def test_relto(self, path1): method test_bestrelpath (line 153) | def test_bestrelpath(self, path1): method test_relto_not_relative (line 167) | def test_relto_not_relative(self, path1): method test_listdir (line 173) | def test_listdir(self, path1): method test_listdir_fnmatchstring (line 180) | def test_listdir_fnmatchstring(self, path1): method test_listdir_filter (line 185) | def test_listdir_filter(self, path1): method test_listdir_sorted (line 190) | def test_listdir_sorted(self, path1): method test_visit_nofilter (line 196) | def test_visit_nofilter(self, path1): method test_visit_norecurse (line 203) | def test_visit_norecurse(self, path1): method test_visit_filterfunc_is_string (line 210) | def test_visit_filterfunc_is_string(self, path1): method test_visit_ignore (line 218) | def test_visit_ignore(self, path1): method test_visit_endswith (line 222) | def test_visit_endswith(self, path1): method test_cmp (line 229) | def test_cmp(self, path1): method test_simple_read (line 235) | def test_simple_read(self, path1): method test_join_div_operator (line 240) | def test_join_div_operator(self, path1): method test_ext (line 245) | def test_ext(self, path1): method test_purebasename (line 251) | def test_purebasename(self, path1): method test_multiple_parts (line 255) | def test_multiple_parts(self, path1): method test_dotted_name_ext (line 265) | def test_dotted_name_ext(self, path1): method test_newext (line 271) | def test_newext(self, path1): method test_readlines (line 277) | def test_readlines(self, path1): method test_readlines_nocr (line 283) | def test_readlines_nocr(self, path1): method test_file (line 289) | def test_file(self, path1): method test_not_file (line 292) | def test_not_file(self, path1): method test_non_existent (line 296) | def test_non_existent(self, path1): method test_size (line 308) | def test_size(self, path1): method test_mtime (line 312) | def test_mtime(self, path1): method test_relto_wrong_type (line 316) | def test_relto_wrong_type(self, path1): method test_load (line 320) | def test_load(self, path1): method test_visit_filesonly (line 326) | def test_visit_filesonly(self, path1): method test_visit_nodotfiles (line 333) | def test_visit_nodotfiles(self, path1): method test_visit_breadthfirst (line 341) | def test_visit_breadthfirst(self, path1): method test_visit_sort (line 353) | def test_visit_sort(self, path1): method test_endswith (line 363) | def test_endswith(self, path1): method test_copy_file (line 371) | def test_copy_file(self, path1): method test_copy_dir (line 385) | def test_copy_dir(self, path1): method test_remove_file (line 399) | def test_remove_file(self, path1): method test_remove_dir_recursive_by_default (line 405) | def test_remove_dir_recursive_by_default(self, path1): method test_ensure_dir (line 412) | def test_ensure_dir(self, path1): method test_mkdir_and_remove (line 417) | def test_mkdir_and_remove(self, path1): method test_move_file (line 431) | def test_move_file(self, path1): method test_move_dir (line 446) | def test_move_dir(self, path1): method test_fspath_protocol_match_strpath (line 454) | def test_fspath_protocol_match_strpath(self, path1): method test_fspath_func_match_strpath (line 457) | def test_fspath_func_match_strpath(self, path1): method test_fspath_open (line 462) | def test_fspath_open(self, path1): method test_fspath_fsencode (line 467) | def test_fspath_fsencode(self, path1): function setuptestfs (line 473) | def setuptestfs(path): function path1 (line 528) | def path1(tmpdir_factory): function fake_fspath_obj (line 536) | def fake_fspath_obj(request): function batch_make_numbered_dirs (line 547) | def batch_make_numbered_dirs(rootdir, repeats): class TestLocalPath (line 560) | class TestLocalPath(CommonFSTests): method test_join_normpath (line 561) | def test_join_normpath(self, tmpdir): method test_dirpath_abs_no_abs (line 569) | def test_dirpath_abs_no_abs(self, tmpdir): method test_gethash (line 574) | def test_gethash(self, tmpdir): method test_remove_removes_readonly_file (line 586) | def test_remove_removes_readonly_file(self, tmpdir): method test_remove_removes_readonly_dir (line 592) | def test_remove_removes_readonly_dir(self, tmpdir): method test_remove_removes_dir_and_readonly_file (line 598) | def test_remove_removes_dir_and_readonly_file(self, tmpdir): method test_remove_routes_ignore_errors (line 605) | def test_remove_routes_ignore_errors(self, tmpdir, monkeypatch): method test_initialize_curdir (line 615) | def test_initialize_curdir(self): method test_chdir_gone (line 619) | def test_chdir_gone(self, path1): method test_chdir_gone_in_as_cwd (line 632) | def test_chdir_gone_in_as_cwd(self, path1): method test_as_cwd (line 640) | def test_as_cwd(self, path1): method test_as_cwd_exception (line 648) | def test_as_cwd_exception(self, path1): method test_initialize_reldir (line 656) | def test_initialize_reldir(self, path1): method test_tilde_expansion (line 661) | def test_tilde_expansion(self, monkeypatch, tmpdir): method test_eq_hash_are_case_insensitive_on_windows (line 669) | def test_eq_hash_are_case_insensitive_on_windows(self): method test_eq_with_strings (line 677) | def test_eq_with_strings(self, path1): method test_eq_with_none (line 686) | def test_eq_with_none(self, path1): method test_eq_non_ascii_unicode (line 689) | def test_eq_non_ascii_unicode(self, path1): method test_gt_with_strings (line 698) | def test_gt_with_strings(self, path1): method test_open_and_ensure (line 709) | def test_open_and_ensure(self, path1): method test_write_and_ensure (line 715) | def test_write_and_ensure(self, path1): method test_dump (line 721) | def test_dump(self, tmpdir, bin): method test_setmtime (line 734) | def test_setmtime(self): method test_normpath (line 751) | def test_normpath(self, path1): method test_mkdtemp_creation (line 756) | def test_mkdtemp_creation(self): method test_tmproot (line 763) | def test_tmproot(self): method test_chdir (line 772) | def test_chdir(self, tmpdir): method test_ensure_filepath_withdir (line 781) | def test_ensure_filepath_withdir(self, tmpdir): method test_ensure_filepath_withoutdir (line 790) | def test_ensure_filepath_withoutdir(self, tmpdir): method test_ensure_dirpath (line 796) | def test_ensure_dirpath(self, tmpdir): method test_ensure_non_ascii_unicode (line 802) | def test_ensure_non_ascii_unicode(self, tmpdir): method test_long_filenames (line 809) | def test_long_filenames(self, tmpdir): method test_visit_depth_first (line 825) | def test_visit_depth_first(self, tmpdir): method test_visit_rec_fnmatch (line 834) | def test_visit_rec_fnmatch(self, tmpdir): method test_fnmatch_file_abspath (line 842) | def test_fnmatch_file_abspath(self, tmpdir): method test_sysfind (line 848) | def test_sysfind(self): method test_fspath_protocol_other_class (line 857) | def test_fspath_protocol_other_class(self, fake_fspath_obj): method test_make_numbered_dir_multiprocess_safe (line 869) | def test_make_numbered_dir_multiprocess_safe(self, tmpdir): class TestExecutionOnWindows (line 880) | class TestExecutionOnWindows: method test_sysfind_bat_exe_before (line 883) | def test_sysfind_bat_exe_before(self, tmpdir, monkeypatch): class TestExecution (line 891) | class TestExecution: method test_sysfind_no_permission_ignored (line 894) | def test_sysfind_no_permission_ignored(self, monkeypatch, tmpdir): method test_sysfind_absolute (line 903) | def test_sysfind_absolute(self): method test_sysfind_multiple (line 910) | def test_sysfind_multiple(self, tmpdir, monkeypatch): method test_sysexec (line 920) | def test_sysexec(self): method test_sysexec_failing (line 926) | def test_sysexec_failing(self): method test_make_numbered_dir (line 935) | def test_make_numbered_dir(self, tmpdir): method test_make_numbered_dir_case (line 950) | def test_make_numbered_dir_case(self, tmpdir): method test_make_numbered_dir_NotImplemented_Error (line 974) | def test_make_numbered_dir_NotImplemented_Error(self, tmpdir, monkeypa... method test_locked_make_numbered_dir (line 983) | def test_locked_make_numbered_dir(self, tmpdir): method test_error_preservation (line 991) | def test_error_preservation(self, path1): class TestImport (line 1000) | class TestImport: method preserve_sys (line 1002) | def preserve_sys(self): method test_pyimport (line 1007) | def test_pyimport(self, path1): method test_pyimport_renamed_dir_creates_mismatch (line 1012) | def test_pyimport_renamed_dir_creates_mismatch(self, tmpdir, monkeypat... method test_pyimport_messy_name (line 1028) | def test_pyimport_messy_name(self, tmpdir): method test_pyimport_dir (line 1033) | def test_pyimport_dir(self, tmpdir): method test_pyimport_execfile_different_name (line 1041) | def test_pyimport_execfile_different_name(self, path1): method test_pyimport_a (line 1046) | def test_pyimport_a(self, path1): method test_pyimport_b (line 1052) | def test_pyimport_b(self, path1): method test_pyimport_c (line 1058) | def test_pyimport_c(self, path1): method test_pyimport_d (line 1063) | def test_pyimport_d(self, path1): method test_pyimport_and_import (line 1068) | def test_pyimport_and_import(self, tmpdir): method test_pyimport_check_filepath_consistency (line 1077) | def test_pyimport_check_filepath_consistency(self, monkeypatch, tmpdir): method test_issue131_pyimport_on__init__ (line 1100) | def test_issue131_pyimport_on__init__(self, tmpdir): method test_ensuresyspath_append (line 1110) | def test_ensuresyspath_append(self, tmpdir): class TestImportlibImport (line 1119) | class TestImportlibImport: method test_pyimport (line 1122) | def test_pyimport(self, path1): method test_pyimport_dir_fails (line 1127) | def test_pyimport_dir_fails(self, tmpdir): method test_pyimport_execfile_different_name (line 1133) | def test_pyimport_execfile_different_name(self, path1): method test_pyimport_relative_import_fails (line 1138) | def test_pyimport_relative_import_fails(self, path1): method test_pyimport_doesnt_use_sys_modules (line 1143) | def test_pyimport_doesnt_use_sys_modules(self, tmpdir): function test_pypkgdir (line 1150) | def test_pypkgdir(tmpdir): function test_pypkgdir_unimportable (line 1158) | def test_pypkgdir_unimportable(tmpdir): function test_isimportable (line 1167) | def test_isimportable(): function test_homedir_from_HOME (line 1183) | def test_homedir_from_HOME(monkeypatch): function test_homedir_not_exists (line 1189) | def test_homedir_not_exists(monkeypatch): function test_samefile (line 1196) | def test_samefile(tmpdir): function test_samefile_symlink (line 1209) | def test_samefile_symlink(tmpdir): function test_listdir_single_arg (line 1222) | def test_listdir_single_arg(tmpdir): function test_mkdtemp_rootdir (line 1227) | def test_mkdtemp_rootdir(tmpdir): class TestWINLocalPath (line 1232) | class TestWINLocalPath: method test_owner_group_not_implemented (line 1235) | def test_owner_group_not_implemented(self, path1): method test_chmod_simple_int (line 1241) | def test_chmod_simple_int(self, path1): method test_path_comparison_lowercase_mixed (line 1253) | def test_path_comparison_lowercase_mixed(self, path1): method test_relto_with_mixed_case (line 1259) | def test_relto_with_mixed_case(self, path1): method test_allow_unix_style_paths (line 1264) | def test_allow_unix_style_paths(self, path1): method test_sysfind_in_currentdir (line 1272) | def test_sysfind_in_currentdir(self, path1): method test_fnmatch_file_abspath_posix_pattern_on_win32 (line 1279) | def test_fnmatch_file_abspath_posix_pattern_on_win32(self, tmpdir): class TestPOSIXLocalPath (line 1290) | class TestPOSIXLocalPath: method test_hardlink (line 1293) | def test_hardlink(self, tmpdir): method test_symlink_are_identical (line 1301) | def test_symlink_are_identical(self, tmpdir): method test_symlink_isfile (line 1308) | def test_symlink_isfile(self, tmpdir): method test_symlink_relative (line 1317) | def test_symlink_relative(self, tmpdir): method test_symlink_not_existing (line 1327) | def test_symlink_not_existing(self, tmpdir): method test_relto_with_root (line 1332) | def test_relto_with_root(self, path1, tmpdir): method test_visit_recursive_symlink (line 1336) | def test_visit_recursive_symlink(self, tmpdir): method test_symlink_isdir (line 1342) | def test_symlink_isdir(self, tmpdir): method test_symlink_remove (line 1348) | def test_symlink_remove(self, tmpdir): method test_realpath_file (line 1355) | def test_realpath_file(self, tmpdir): method test_owner (line 1363) | def test_owner(self, path1, tmpdir): method test_stat_helpers (line 1380) | def test_stat_helpers(self, tmpdir, monkeypatch): method test_stat_non_raising (line 1389) | def test_stat_non_raising(self, tmpdir): method test_atime (line 1395) | def test_atime(self, tmpdir): method test_commondir (line 1411) | def test_commondir(self, path1): method test_commondir_nocommon (line 1419) | def test_commondir_nocommon(self, path1): method test_join_to_root (line 1426) | def test_join_to_root(self, path1): method test_join_root_to_root_with_no_abs (line 1431) | def test_join_root_to_root_with_no_abs(self, path1): method test_chmod_simple_int (line 1436) | def test_chmod_simple_int(self, path1): method test_chmod_rec_int (line 1445) | def test_chmod_rec_int(self, path1): method test_copy_archiving (line 1461) | def test_copy_archiving(self, tmpdir): method test_copy_stat_file (line 1472) | def test_copy_stat_file(self, tmpdir): method test_copy_stat_dir (line 1484) | def test_copy_stat_dir(self, tmpdir): method test_chown_identity (line 1500) | def test_chown_identity(self, path1): method test_chown_dangling_link (line 1505) | def test_chown_dangling_link(self, path1): method test_chown_identity_rec_mayfail (line 1515) | def test_chown_identity_rec_mayfail(self, path1): class TestUnicode (line 1521) | class TestUnicode: method test_join_ensure (line 1522) | def test_join_ensure(self, tmpdir, monkeypatch): method test_listdir (line 1530) | def test_listdir(self, tmpdir): method test_read_write (line 1539) | def test_read_write(self, tmpdir): class TestBinaryAndTextMethods (line 1549) | class TestBinaryAndTextMethods: method test_read_binwrite (line 1550) | def test_read_binwrite(self, tmpdir): method test_read_textwrite (line 1560) | def test_read_textwrite(self, tmpdir): method test_default_encoding (line 1568) | def test_default_encoding(self, tmpdir): FILE: testing/acceptance_test.py function prepend_pythonpath (line 21) | def prepend_pythonpath(*dirs) -> str: class TestGeneralUsage (line 28) | class TestGeneralUsage: method test_config_error (line 29) | def test_config_error(self, pytester: Pytester) -> None: method test_root_conftest_syntax_error (line 36) | def test_root_conftest_syntax_error(self, pytester: Pytester) -> None: method test_early_hook_error_issue38_1 (line 42) | def test_early_hook_error_issue38_1(self, pytester: Pytester) -> None: method test_early_hook_configure_error_issue38 (line 62) | def test_early_hook_configure_error_issue38(self, pytester: Pytester) ... method test_file_not_found (line 76) | def test_file_not_found(self, pytester: Pytester) -> None: method test_file_not_found_unconfigure_issue143 (line 81) | def test_file_not_found_unconfigure_issue143(self, pytester: Pytester)... method test_config_preparse_plugin_option (line 95) | def test_config_preparse_plugin_option(self, pytester: Pytester) -> None: method test_early_load_setuptools_name (line 113) | def test_early_load_setuptools_name( method test_assertion_rewrite (line 159) | def test_assertion_rewrite(self, pytester: Pytester, import_mode) -> N... method test_nested_import_error (line 171) | def test_nested_import_error(self, pytester: Pytester) -> None: method test_not_collectable_arguments (line 189) | def test_not_collectable_arguments(self, pytester: Pytester) -> None: method test_better_reporting_on_conftest_load_failure (line 203) | def test_better_reporting_on_conftest_load_failure( method test_early_skip (line 233) | def test_early_skip(self, pytester: Pytester) -> None: method test_issue88_initial_file_multinodes (line 246) | def test_issue88_initial_file_multinodes(self, pytester: Pytester) -> ... method test_issue93_initialnode_importing_capturing (line 252) | def test_issue93_initialnode_importing_capturing(self, pytester: Pytes... method test_conftest_printing_shows_if_error (line 265) | def test_conftest_printing_shows_if_error(self, pytester: Pytester) ->... method test_issue109_sibling_conftests_not_loaded (line 276) | def test_issue109_sibling_conftests_not_loaded(self, pytester: Pyteste... method test_directory_skipped (line 290) | def test_directory_skipped(self, pytester: Pytester) -> None: method test_multiple_items_per_collector_byid (line 303) | def test_multiple_items_per_collector_byid(self, pytester: Pytester) -... method test_skip_on_generated_funcarg_id (line 322) | def test_skip_on_generated_funcarg_id(self, pytester: Pytester) -> None: method test_direct_addressing_selects (line 340) | def test_direct_addressing_selects(self, pytester: Pytester) -> None: method test_direct_addressing_selects_duplicates (line 353) | def test_direct_addressing_selects_duplicates(self, pytester: Pytester... method test_direct_addressing_selects_duplicates_1 (line 366) | def test_direct_addressing_selects_duplicates_1(self, pytester: Pytest... method test_direct_addressing_selects_duplicates_2 (line 379) | def test_direct_addressing_selects_duplicates_2(self, pytester: Pytest... method test_direct_addressing_notfound (line 392) | def test_direct_addressing_notfound(self, pytester: Pytester) -> None: method test_docstring_on_hookspec (line 403) | def test_docstring_on_hookspec(self) -> None: method test_initialization_error_issue49 (line 410) | def test_initialization_error_issue49(self, pytester: Pytester) -> None: method test_issue134_report_error_when_collecting_member (line 423) | def test_issue134_report_error_when_collecting_member( method test_report_all_failed_collections_initargs (line 438) | def test_report_all_failed_collections_initargs(self, pytester: Pytest... method test_namespace_import_doesnt_confuse_import_hook (line 454) | def test_namespace_import_doesnt_confuse_import_hook( method test_unknown_option (line 479) | def test_unknown_option(self, pytester: Pytester) -> None: method test_getsourcelines_error_issue553 (line 487) | def test_getsourcelines_error_issue553( method test_plugins_given_as_strings (line 508) | def test_plugins_given_as_strings( method test_parametrized_with_bytes_regex (line 523) | def test_parametrized_with_bytes_regex(self, pytester: Pytester) -> None: method test_parametrized_with_null_bytes (line 536) | def test_parametrized_with_null_bytes(self, pytester: Pytester) -> None: method test_command_line_args_from_file (line 554) | def test_command_line_args_from_file( class TestInvocationVariants (line 577) | class TestInvocationVariants: method test_earlyinit (line 578) | def test_earlyinit(self, pytester: Pytester) -> None: method test_pydoc (line 588) | def test_pydoc(self, pytester: Pytester) -> None: method test_import_star_pytest (line 594) | def test_import_star_pytest(self, pytester: Pytester) -> None: method test_double_pytestcmdline (line 608) | def test_double_pytestcmdline(self, pytester: Pytester) -> None: method test_python_minus_m_invocation_ok (line 625) | def test_python_minus_m_invocation_ok(self, pytester: Pytester) -> None: method test_python_minus_m_invocation_fail (line 630) | def test_python_minus_m_invocation_fail(self, pytester: Pytester) -> N... method test_python_pytest_package (line 635) | def test_python_pytest_package(self, pytester: Pytester) -> None: method test_invoke_with_invalid_type (line 641) | def test_invoke_with_invalid_type(self) -> None: method test_invoke_with_path (line 647) | def test_invoke_with_path(self, pytester: Pytester) -> None: method test_invoke_plugin_api (line 651) | def test_invoke_plugin_api(self, capsys) -> None: method test_pyargs_importerror (line 660) | def test_pyargs_importerror(self, pytester: Pytester, monkeypatch) -> ... method test_pyargs_only_imported_once (line 670) | def test_pyargs_only_imported_once(self, pytester: Pytester) -> None: method test_pyargs_filename_looks_like_module (line 687) | def test_pyargs_filename_looks_like_module(self, pytester: Pytester) -... method test_cmdline_python_package (line 693) | def test_cmdline_python_package(self, pytester: Pytester, monkeypatch)... method test_cmdline_python_legacy_namespace_package (line 730) | def test_cmdline_python_legacy_namespace_package( method test_invoke_test_and_doctestmodules (line 812) | def test_invoke_test_and_doctestmodules(self, pytester: Pytester) -> N... method test_cmdline_python_package_symlink (line 822) | def test_cmdline_python_package_symlink( method test_cmdline_python_package_not_exists (line 881) | def test_cmdline_python_package_not_exists(self, pytester: Pytester) -... method test_noclass_discovery_if_not_testcase (line 887) | def test_noclass_discovery_if_not_testcase(self, pytester: Pytester) -... method test_doctest_id (line 902) | def test_doctest_id(self, pytester: Pytester) -> None: method test_core_backward_compatibility (line 927) | def test_core_backward_compatibility(self) -> None: method test_has_plugin (line 936) | def test_has_plugin(self, request) -> None: class TestDurations (line 941) | class TestDurations: method test_calls (line 954) | def test_calls(self, pytester: Pytester, mock_timing) -> None: method test_calls_show_2 (line 967) | def test_calls_show_2(self, pytester: Pytester, mock_timing) -> None: method test_calls_showall (line 975) | def test_calls_showall(self, pytester: Pytester, mock_timing) -> None: method test_calls_showall_verbose (line 981) | def test_calls_showall_verbose(self, pytester: Pytester, mock_timing) ... method test_calls_showall_durationsmin (line 987) | def test_calls_showall_durationsmin(self, pytester: Pytester, mock_tim... method test_calls_showall_durationsmin_verbose (line 993) | def test_calls_showall_durationsmin_verbose( method check_tests_in_output (line 1004) | def check_tests_in_output( method test_with_deselected (line 1017) | def test_with_deselected(self, pytester: Pytester, mock_timing) -> None: method test_with_failing_collection (line 1024) | def test_with_failing_collection(self, pytester: Pytester, mock_timing... method test_with_not (line 1035) | def test_with_not(self, pytester: Pytester, mock_timing) -> None: class TestDurationsWithFixture (line 1041) | class TestDurationsWithFixture: method test_setup_function (line 1054) | def test_setup_function(self, pytester: Pytester, mock_timing) -> None: function test_zipimport_hook (line 1068) | def test_zipimport_hook(pytester: Pytester) -> None: function test_import_plugin_unicode_name (line 1091) | def test_import_plugin_unicode_name(pytester: Pytester) -> None: function test_pytest_plugins_as_module (line 1099) | def test_pytest_plugins_as_module(pytester: Pytester) -> None: function test_deferred_hook_checking (line 1113) | def test_deferred_hook_checking(pytester: Pytester) -> None: function test_fixture_values_leak (line 1141) | def test_fixture_values_leak(pytester: Pytester) -> None: function test_fixture_order_respects_scope (line 1189) | def test_fixture_order_respects_scope(pytester: Pytester) -> None: function test_frame_leak_on_failing_test (line 1214) | def test_frame_leak_on_failing_test(pytester: Pytester) -> None: function test_fixture_mock_integration (line 1247) | def test_fixture_mock_integration(pytester: Pytester) -> None: function test_usage_error_code (line 1254) | def test_usage_error_code(pytester: Pytester) -> None: function test_error_on_async_function (line 1259) | def test_error_on_async_function(pytester: Pytester) -> None: function test_error_on_async_gen_function (line 1287) | def test_error_on_async_gen_function(pytester: Pytester) -> None: function test_error_on_sync_test_async_fixture (line 1310) | def test_error_on_sync_test_async_fixture(pytester: Pytester) -> None: function test_error_on_sync_test_async_fixture_gen (line 1337) | def test_error_on_sync_test_async_fixture_gen(pytester: Pytester) -> None: function test_error_on_sync_test_async_autouse_fixture (line 1361) | def test_error_on_sync_test_async_autouse_fixture(pytester: Pytester) ->... function test_pdb_can_be_rewritten (line 1390) | def test_pdb_can_be_rewritten(pytester: Pytester) -> None: function test_tee_stdio_captures_and_live_prints (line 1425) | def test_tee_stdio_captures_and_live_prints(pytester: Pytester) -> None: function test_no_brokenpipeerror_message (line 1456) | def test_no_brokenpipeerror_message(pytester: Pytester) -> None: function test_function_return_non_none_warning (line 1474) | def test_function_return_non_none_warning(pytester: Pytester) -> None: function test_doctest_and_normal_imports_with_importlib (line 1485) | def test_doctest_and_normal_imports_with_importlib(pytester: Pytester) -... function test_issue_9765 (line 1521) | def test_issue_9765(pytester: Pytester) -> None: function test_no_terminal_plugin (line 1585) | def test_no_terminal_plugin(pytester: Pytester) -> None: function test_stop_iteration_from_collect (line 1592) | def test_stop_iteration_from_collect(pytester: Pytester) -> None: function test_stop_iteration_runtest_protocol (line 1607) | def test_stop_iteration_runtest_protocol(pytester: Pytester) -> None: FILE: testing/code/test_code.py function test_ne (line 18) | def test_ne() -> None: function test_code_gives_back_name_for_not_existing_file (line 25) | def test_code_gives_back_name_for_not_existing_file() -> None: function test_code_from_function_with_class (line 34) | def test_code_from_function_with_class() -> None: function x (line 42) | def x() -> None: function test_code_fullsource (line 46) | def test_code_fullsource() -> None: function test_code_source (line 52) | def test_code_source() -> None: function test_frame_getsourcelineno_myself (line 60) | def test_frame_getsourcelineno_myself() -> None: function test_getstatement_empty_fullsource (line 70) | def test_getstatement_empty_fullsource() -> None: function test_code_from_func (line 79) | def test_code_from_func() -> None: function test_unicode_handling (line 85) | def test_unicode_handling() -> None: function test_code_getargs (line 95) | def test_code_getargs() -> None: function test_frame_getargs (line 121) | def test_frame_getargs() -> None: class TestExceptionInfo (line 147) | class TestExceptionInfo: method test_bad_getsource (line 148) | def test_bad_getsource(self) -> None: method test_from_current_with_missing (line 158) | def test_from_current_with_missing(self) -> None: class TestTracebackEntry (line 163) | class TestTracebackEntry: method test_getsource (line 164) | def test_getsource(self) -> None: method test_tb_entry_str (line 178) | def test_tb_entry_str(self): class TestReprFuncArgs (line 188) | class TestReprFuncArgs: method test_not_raise_exception_with_mixed_encoding (line 189) | def test_not_raise_exception_with_mixed_encoding(self, tw_mock) -> None: function test_ExceptionChainRepr (line 201) | def test_ExceptionChainRepr(): FILE: testing/code/test_excinfo.py function limited_recursion_depth (line 39) | def limited_recursion_depth(): function test_excinfo_simple (line 46) | def test_excinfo_simple() -> None: function test_excinfo_from_exc_info_simple (line 54) | def test_excinfo_from_exc_info_simple() -> None: function test_excinfo_from_exception_simple (line 63) | def test_excinfo_from_exception_simple() -> None: function test_excinfo_from_exception_missing_traceback_assertion (line 72) | def test_excinfo_from_exception_missing_traceback_assertion() -> None: function test_excinfo_getstatement (line 77) | def test_excinfo_getstatement(): function f (line 104) | def f(): function g (line 110) | def g(): function h (line 117) | def h(): class TestTraceback_f_g_h (line 123) | class TestTraceback_f_g_h: method setup_method (line 124) | def setup_method(self, method): method test_traceback_entries (line 130) | def test_traceback_entries(self): method test_traceback_entry_getsource (line 143) | def test_traceback_entry_getsource(self): method test_traceback_entry_getsource_in_construct (line 149) | def test_traceback_entry_getsource_in_construct(self): method test_traceback_cut (line 173) | def test_traceback_cut(self) -> None: method test_traceback_cut_excludepath (line 183) | def test_traceback_cut_excludepath(self, pytester: Pytester) -> None: method test_traceback_filter (line 194) | def test_traceback_filter(self): method test_traceback_filter_selective (line 208) | def test_traceback_filter_selective(self, tracebackhide, matching): method test_traceback_recursion_index (line 237) | def test_traceback_recursion_index(self): method test_traceback_only_specific_recursion_errors (line 248) | def test_traceback_only_specific_recursion_errors(self, monkeypatch): method test_traceback_no_recursion_index (line 259) | def test_traceback_no_recursion_index(self) -> None: method test_traceback_messy_recursion (line 282) | def test_traceback_messy_recursion(self): method test_getreprcrash (line 300) | def test_getreprcrash(self): method test_getreprcrash_empty (line 322) | def test_getreprcrash_empty(self): function test_excinfo_exconly (line 335) | def test_excinfo_exconly(): function test_excinfo_repr_str (line 345) | def test_excinfo_repr_str() -> None: function test_excinfo_for_later (line 362) | def test_excinfo_for_later() -> None: function test_excinfo_errisinstance (line 368) | def test_excinfo_errisinstance(): function test_excinfo_no_sourcecode (line 373) | def test_excinfo_no_sourcecode(): function test_excinfo_no_python_sourcecode (line 385) | def test_excinfo_no_python_sourcecode(tmp_path: Path) -> None: function test_entrysource_Queue_example (line 401) | def test_entrysource_Queue_example(): function test_codepath_Queue_example (line 413) | def test_codepath_Queue_example() -> None: function test_match_succeeds (line 425) | def test_match_succeeds(): function test_match_raises_error (line 431) | def test_match_raises_error(pytester: Pytester) -> None: function test_raises_accepts_generic_group (line 457) | def test_raises_accepts_generic_group() -> None: function test_raises_accepts_generic_base_group (line 463) | def test_raises_accepts_generic_base_group() -> None: function test_raises_rejects_specific_generic_group (line 469) | def test_raises_rejects_specific_generic_group() -> None: function test_raises_accepts_generic_group_in_tuple (line 474) | def test_raises_accepts_generic_group_in_tuple() -> None: function test_raises_exception_escapes_generic_group (line 480) | def test_raises_exception_escapes_generic_group() -> None: class TestGroupContains (line 490) | class TestGroupContains: method test_contains_exception_type (line 491) | def test_contains_exception_type(self) -> None: method test_doesnt_contain_exception_type (line 497) | def test_doesnt_contain_exception_type(self) -> None: method test_contains_exception_match (line 503) | def test_contains_exception_match(self) -> None: method test_doesnt_contain_exception_match (line 509) | def test_doesnt_contain_exception_match(self) -> None: method test_contains_exception_type_unlimited_depth (line 515) | def test_contains_exception_type_unlimited_depth(self) -> None: method test_contains_exception_type_at_depth_1 (line 521) | def test_contains_exception_type_at_depth_1(self) -> None: method test_doesnt_contain_exception_type_past_depth (line 527) | def test_doesnt_contain_exception_type_past_depth(self) -> None: method test_contains_exception_type_specific_depth (line 533) | def test_contains_exception_type_specific_depth(self) -> None: method test_contains_exception_match_unlimited_depth (line 539) | def test_contains_exception_match_unlimited_depth(self) -> None: method test_contains_exception_match_at_depth_1 (line 547) | def test_contains_exception_match_at_depth_1(self) -> None: method test_doesnt_contain_exception_match_past_depth (line 555) | def test_doesnt_contain_exception_match_past_depth(self) -> None: method test_contains_exception_match_specific_depth (line 565) | def test_contains_exception_match_specific_depth(self) -> None: class TestFormattedExcinfo (line 576) | class TestFormattedExcinfo: method importasmod (line 578) | def importasmod(self, tmp_path: Path, _sys_snapshot): method test_repr_source (line 591) | def test_repr_source(self): method test_repr_source_out_of_bounds (line 605) | def test_repr_source_out_of_bounds(self): method test_repr_source_excinfo (line 623) | def test_repr_source_excinfo(self) -> None: method test_repr_source_not_existing (line 649) | def test_repr_source_not_existing(self): method test_repr_many_line_source_not_existing (line 660) | def test_repr_many_line_source_not_existing(self): method test_repr_source_failing_fullsource (line 678) | def test_repr_source_failing_fullsource(self, monkeypatch) -> None: method test_repr_local (line 693) | def test_repr_local(self) -> None: method test_repr_local_with_error (line 704) | def test_repr_local_with_error(self) -> None: method test_repr_local_with_exception_in_class_property (line 717) | def test_repr_local_with_exception_in_class_property(self) -> None: method test_repr_local_truncated (line 736) | def test_repr_local_truncated(self) -> None: method test_repr_args_not_truncated (line 750) | def test_repr_args_not_truncated(self, importasmod) -> None: method test_repr_tracebackentry_lines (line 773) | def test_repr_tracebackentry_lines(self, importasmod) -> None: method test_repr_tracebackentry_lines2 (line 806) | def test_repr_tracebackentry_lines2(self, importasmod, tw_mock) -> None: method test_repr_tracebackentry_lines_var_kw_args (line 833) | def test_repr_tracebackentry_lines_var_kw_args(self, importasmod, tw_m... method test_repr_tracebackentry_short (line 857) | def test_repr_tracebackentry_short(self, importasmod) -> None: method test_repr_traceback_entry_short_carets (line 890) | def test_repr_traceback_entry_short_carets(self, importasmod) -> None: method test_repr_tracebackentry_no (line 917) | def test_repr_tracebackentry_no(self, importasmod): method test_repr_traceback_tbfilter (line 936) | def test_repr_traceback_tbfilter(self, importasmod): method test_traceback_short_no_source (line 953) | def test_traceback_short_no_source( method test_repr_traceback_and_excinfo (line 982) | def test_repr_traceback_and_excinfo(self, importasmod) -> None: method test_repr_traceback_with_invalid_cwd (line 1010) | def test_repr_traceback_with_invalid_cwd(self, importasmod, monkeypatc... method test_repr_excinfo_addouterr (line 1061) | def test_repr_excinfo_addouterr(self, importasmod, tw_mock): method test_repr_excinfo_reprcrash (line 1075) | def test_repr_excinfo_reprcrash(self, importasmod) -> None: method test_repr_traceback_recursion (line 1090) | def test_repr_traceback_recursion(self, importasmod): method test_reprexcinfo_getrepr (line 1109) | def test_reprexcinfo_getrepr(self, importasmod) -> None: method test_reprexcinfo_unicode (line 1130) | def test_reprexcinfo_unicode(self): method test_toterminal_long (line 1140) | def test_toterminal_long(self, importasmod, tw_mock): method test_toterminal_long_missing_source (line 1171) | def test_toterminal_long_missing_source( method test_toterminal_long_incomplete_source (line 1203) | def test_toterminal_long_incomplete_source( method test_toterminal_long_filenames (line 1235) | def test_toterminal_long_filenames( method test_toterminal_value (line 1262) | def test_toterminal_value(self, importasmod, tw_mock): method test_format_excinfo (line 1297) | def test_format_excinfo(self, reproptions: dict[str, Any]) -> None: method test_traceback_repr_style (line 1314) | def test_traceback_repr_style(self, importasmod, tw_mock): method test_exc_chain_repr (line 1361) | def test_exc_chain_repr(self, importasmod, tw_mock): method test_exc_repr_chain_suppression (line 1456) | def test_exc_repr_chain_suppression(self, importasmod, mode, tw_mock): method test_exc_chain_repr_without_traceback (line 1506) | def test_exc_chain_repr_without_traceback(self, importasmod, reason, d... method test_exc_chain_repr_cycle (line 1549) | def test_exc_chain_repr_cycle(self, importasmod, tw_mock): method test_exec_type_error_filter (line 1612) | def test_exec_type_error_filter(self, importasmod): function test_repr_traceback_with_unicode (line 1628) | def test_repr_traceback_with_unicode(style, encoding): function test_cwd_deleted (line 1642) | def test_cwd_deleted(pytester: Pytester) -> None: function test_regression_negative_line_index (line 1659) | def test_regression_negative_line_index(pytester: Pytester) -> None: function test_exception_repr_extraction_error_on_recursion (line 1683) | def test_exception_repr_extraction_error_on_recursion(): function test_no_recursion_index_on_recursion_error (line 1717) | def test_no_recursion_index_on_recursion_error(): function _exceptiongroup_common (line 1732) | def _exceptiongroup_common( function test_native_exceptiongroup (line 1810) | def test_native_exceptiongroup(pytester: Pytester, outer_chain, inner_ch... function test_exceptiongroup (line 1816) | def test_exceptiongroup(pytester: Pytester, outer_chain, inner_chain) ->... function test_exceptiongroup_short_summary_info (line 1822) | def test_exceptiongroup_short_summary_info(pytester: Pytester): function test_all_entries_hidden (line 1901) | def test_all_entries_hidden(pytester: Pytester, tbstyle: str, group: boo... function test_hidden_entries_of_chained_exceptions_are_not_shown (line 1921) | def test_hidden_entries_of_chained_exceptions_are_not_shown(pytester: Py... function add_note (line 1966) | def add_note(err: BaseException, msg: str) -> None: function test_check_error_notes_success (line 1985) | def test_check_error_notes_success( function test_check_error_notes_failure (line 2003) | def test_check_error_notes_failure( FILE: testing/code/test_source.py function test_source_str_function (line 20) | def test_source_str_function() -> None: function test_source_from_function (line 35) | def test_source_from_function() -> None: function test_source_from_method (line 40) | def test_source_from_method() -> None: function test_source_from_lines (line 49) | def test_source_from_lines() -> None: function test_source_from_inner_function (line 55) | def test_source_from_inner_function() -> None: function test_source_strips (line 63) | def test_source_strips() -> None: function test_source_strip_multiline (line 70) | def test_source_strip_multiline() -> None: class TestAccesses (line 77) | class TestAccesses: method setup_class (line 78) | def setup_class(self) -> None: method test_getrange (line 88) | def test_getrange(self) -> None: method test_getrange_step_not_supported (line 93) | def test_getrange_step_not_supported(self) -> None: method test_getline (line 97) | def test_getline(self) -> None: method test_len (line 101) | def test_len(self) -> None: method test_iter (line 104) | def test_iter(self) -> None: class TestSourceParsing (line 109) | class TestSourceParsing: method setup_class (line 110) | def setup_class(self) -> None: method test_getstatement (line 120) | def test_getstatement(self) -> None: method test_getstatementrange_triple_quoted (line 129) | def test_getstatementrange_triple_quoted(self) -> None: method test_getstatementrange_within_constructs (line 140) | def test_getstatementrange_within_constructs(self) -> None: method test_getstatementrange_bug (line 162) | def test_getstatementrange_bug(self) -> None: method test_getstatementrange_bug2 (line 176) | def test_getstatementrange_bug2(self) -> None: method test_getstatementrange_ast_issue58 (line 193) | def test_getstatementrange_ast_issue58(self) -> None: method test_getstatementrange_out_of_bounds_py3 (line 207) | def test_getstatementrange_out_of_bounds_py3(self) -> None: method test_getstatementrange_with_syntaxerror_issue7 (line 212) | def test_getstatementrange_with_syntaxerror_issue7(self) -> None: function test_getstartingblock_singleline (line 217) | def test_getstartingblock_singleline() -> None: function test_getline_finally (line 229) | def test_getline_finally() -> None: function test_getfuncsource_dynamic (line 244) | def test_getfuncsource_dynamic() -> None: function test_getfuncsource_with_multiline_string (line 257) | def test_getfuncsource_with_multiline_string() -> None: function test_deindent (line 272) | def test_deindent() -> None: function test_source_of_class_at_eof_without_newline (line 286) | def test_source_of_class_at_eof_without_newline(_sys_snapshot, tmp_path:... function x (line 305) | def x(): function test_source_fallback (line 309) | def test_source_fallback() -> None: function test_findsource_fallback (line 316) | def test_findsource_fallback() -> None: function test_findsource (line 325) | def test_findsource(monkeypatch) -> None: function test_getfslineno (line 346) | def test_getfslineno() -> None: function test_code_of_object_instance_with_call (line 379) | def test_code_of_object_instance_with_call() -> None: function getstatement (line 399) | def getstatement(lineno: int, source) -> Source: function test_oneline (line 407) | def test_oneline() -> None: function test_comment_and_no_newline_at_end (line 412) | def test_comment_and_no_newline_at_end() -> None: function test_oneline_and_comment (line 426) | def test_oneline_and_comment() -> None: function test_comments (line 431) | def test_comments() -> None: function test_comment_in_statement (line 452) | def test_comment_in_statement() -> None: function test_source_with_decorator (line 464) | def test_source_with_decorator() -> None: function test_single_line_else (line 490) | def test_single_line_else() -> None: function test_single_line_finally (line 495) | def test_single_line_finally() -> None: function test_issue55 (line 500) | def test_issue55() -> None: function test_multiline (line 509) | def test_multiline() -> None: class TestTry (line 522) | class TestTry: method setup_class (line 523) | def setup_class(self) -> None: method test_body (line 533) | def test_body(self) -> None: method test_except_line (line 537) | def test_except_line(self) -> None: method test_except_body (line 541) | def test_except_body(self) -> None: method test_else (line 545) | def test_else(self) -> None: class TestTryFinally (line 550) | class TestTryFinally: method setup_class (line 551) | def setup_class(self) -> None: method test_body (line 559) | def test_body(self) -> None: method test_finally (line 563) | def test_finally(self) -> None: class TestIf (line 568) | class TestIf: method setup_class (line 569) | def setup_class(self) -> None: method test_body (line 579) | def test_body(self) -> None: method test_elif_clause (line 583) | def test_elif_clause(self) -> None: method test_elif (line 587) | def test_elif(self) -> None: method test_else (line 591) | def test_else(self) -> None: function test_semicolon (line 596) | def test_semicolon() -> None: function test_def_online (line 604) | def test_def_online() -> None: function test_decorator (line 615) | def test_decorator() -> None: function XXX_test_expression_multiline (line 628) | def XXX_test_expression_multiline() -> None: function test_getstartingblock_multiline (line 637) | def test_getstartingblock_multiline() -> None: function test_patched_compile (line 653) | def test_patched_compile() -> None: FILE: testing/conftest.py function restore_tracing (line 19) | def restore_tracing(): function set_column_width (line 31) | def set_column_width(monkeypatch: pytest.MonkeyPatch) -> None: function reset_colors (line 40) | def reset_colors(monkeypatch: pytest.MonkeyPatch) -> None: function pytest_collection_modifyitems (line 51) | def pytest_collection_modifyitems(items) -> Generator[None]: function tw_mock (line 95) | def tw_mock(): function dummy_yaml_custom_test (line 134) | def dummy_yaml_custom_test(pytester: Pytester) -> None: function pytester (line 161) | def pytester(pytester: Pytester, monkeypatch: MonkeyPatch) -> Pytester: function color_mapping (line 167) | def color_mapping(): function mock_timing (line 223) | def mock_timing(monkeypatch: MonkeyPatch): function remove_ci_env_var (line 243) | def remove_ci_env_var(monkeypatch: MonkeyPatch, request: pytest.FixtureR... FILE: testing/deprecated_test.py function test_external_plugins_integrated (line 12) | def test_external_plugins_integrated(pytester: Pytester, plugin) -> None: function test_hookspec_via_function_attributes_are_deprecated (line 20) | def test_hookspec_via_function_attributes_are_deprecated(): function test_hookimpl_via_function_attributes_are_deprecated (line 44) | def test_hookimpl_via_function_attributes_are_deprecated(): function test_yield_fixture_is_deprecated (line 68) | def test_yield_fixture_is_deprecated() -> None: function test_private_is_deprecated (line 76) | def test_private_is_deprecated() -> None: FILE: testing/example_scripts/acceptance/fixture_mock_integration.py function my_fixture (line 16) | def my_fixture(): function test_foobar (line 20) | def test_foobar(my_fixture): FILE: testing/example_scripts/collect/collect_init_tests/tests/__init__.py function test_init (line 5) | def test_init(): FILE: testing/example_scripts/collect/collect_init_tests/tests/test_foo.py function test_foo (line 5) | def test_foo(): FILE: testing/example_scripts/collect/package_infinite_recursion/conftest.py function pytest_ignore_collect (line 5) | def pytest_ignore_collect(collection_path): FILE: testing/example_scripts/collect/package_infinite_recursion/tests/test_basic.py function test (line 5) | def test(): FILE: testing/example_scripts/collect/package_init_given_as_arg/pkg/__init__.py function test_init (line 5) | def test_init(): FILE: testing/example_scripts/collect/package_init_given_as_arg/pkg/test_foo.py function test_foo (line 5) | def test_foo(): FILE: testing/example_scripts/config/collect_pytest_prefix/conftest.py class pytest_something (line 4) | class pytest_something: FILE: testing/example_scripts/config/collect_pytest_prefix/test_foo.py function test_foo (line 5) | def test_foo(): FILE: testing/example_scripts/conftest_usageerror/conftest.py function pytest_configure (line 5) | def pytest_configure(config): function pytest_unconfigure (line 11) | def pytest_unconfigure(config): FILE: testing/example_scripts/customdirectory/conftest.py class ManifestDirectory (line 10) | class ManifestDirectory(pytest.Directory): method collect (line 11) | def collect(self): function pytest_collect_directory (line 22) | def pytest_collect_directory(path, parent): FILE: testing/example_scripts/customdirectory/tests/test_first.py function test_1 (line 6) | def test_1(): FILE: testing/example_scripts/customdirectory/tests/test_second.py function test_2 (line 6) | def test_2(): FILE: testing/example_scripts/customdirectory/tests/test_third.py function test_3 (line 6) | def test_3(): FILE: testing/example_scripts/dataclasses/test_compare_dataclasses.py function test_dataclasses (line 7) | def test_dataclasses() -> None: FILE: testing/example_scripts/dataclasses/test_compare_dataclasses_field_comparison_off.py function test_dataclasses_with_attribute_comparison_off (line 7) | def test_dataclasses_with_attribute_comparison_off() -> None: FILE: testing/example_scripts/dataclasses/test_compare_dataclasses_verbose.py function test_dataclasses_verbose (line 7) | def test_dataclasses_verbose() -> None: FILE: testing/example_scripts/dataclasses/test_compare_dataclasses_with_custom_eq.py function test_dataclasses (line 7) | def test_dataclasses() -> None: FILE: testing/example_scripts/dataclasses/test_compare_initvar.py class Foo (line 9) | class Foo: function test_demonstrate (line 14) | def test_demonstrate(): FILE: testing/example_scripts/dataclasses/test_compare_recursive_dataclasses.py class S (line 8) | class S: class C (line 14) | class C: class C2 (line 20) | class C2: class C3 (line 26) | class C3: function test_recursive_dataclasses (line 33) | def test_recursive_dataclasses(): FILE: testing/example_scripts/dataclasses/test_compare_two_different_dataclasses.py function test_comparing_two_different_data_classes (line 7) | def test_comparing_two_different_data_classes() -> None: FILE: testing/example_scripts/doctest/main_py/__main__.py function test_this_is_ignored (line 5) | def test_this_is_ignored(): FILE: testing/example_scripts/doctest/main_py/test_normal_module.py function test_doc (line 5) | def test_doc(): FILE: testing/example_scripts/fixtures/custom_item/conftest.py class CustomItem (line 7) | class CustomItem(pytest.Item): method runtest (line 8) | def runtest(self): class CustomFile (line 12) | class CustomFile(pytest.File): method collect (line 13) | def collect(self): function pytest_collect_file (line 17) | def pytest_collect_file(file_path, parent): FILE: testing/example_scripts/fixtures/custom_item/foo/test_foo.py function test (line 5) | def test(): FILE: testing/example_scripts/fixtures/fill_fixtures/test_conftest_funcargs_only_available_in_subdir/sub1/conftest.py function arg1 (line 8) | def arg1(request): FILE: testing/example_scripts/fixtures/fill_fixtures/test_conftest_funcargs_only_available_in_subdir/sub1/test_in_sub1.py function test_1 (line 5) | def test_1(arg1): FILE: testing/example_scripts/fixtures/fill_fixtures/test_conftest_funcargs_only_available_in_subdir/sub2/conftest.py function arg2 (line 9) | def arg2(request): FILE: testing/example_scripts/fixtures/fill_fixtures/test_conftest_funcargs_only_available_in_subdir/sub2/test_in_sub2.py function test_2 (line 5) | def test_2(arg2): FILE: testing/example_scripts/fixtures/fill_fixtures/test_detect_recursive_dependency_error.py function fix1 (line 8) | def fix1(fix2): function fix2 (line 13) | def fix2(fix1): function test (line 17) | def test(fix1): FILE: testing/example_scripts/fixtures/fill_fixtures/test_extend_fixture_conftest_conftest/conftest.py function spam (line 8) | def spam(): FILE: testing/example_scripts/fixtures/fill_fixtures/test_extend_fixture_conftest_conftest/pkg/conftest.py function spam (line 8) | def spam(spam): FILE: testing/example_scripts/fixtures/fill_fixtures/test_extend_fixture_conftest_conftest/pkg/test_spam.py function test_spam (line 5) | def test_spam(spam): FILE: testing/example_scripts/fixtures/fill_fixtures/test_extend_fixture_conftest_module/conftest.py function spam (line 8) | def spam(): FILE: testing/example_scripts/fixtures/fill_fixtures/test_extend_fixture_conftest_module/test_extend_fixture_conftest_module.py function spam (line 8) | def spam(spam): function test_spam (line 12) | def test_spam(spam): FILE: testing/example_scripts/fixtures/fill_fixtures/test_extend_fixture_module_class.py function spam (line 8) | def spam(): class TestSpam (line 12) | class TestSpam: method spam (line 14) | def spam(self, spam): method test_spam (line 17) | def test_spam(self, spam): FILE: testing/example_scripts/fixtures/fill_fixtures/test_funcarg_basic.py function some (line 8) | def some(request): function other (line 13) | def other(request): function test_func (line 17) | def test_func(some, other): FILE: testing/example_scripts/fixtures/fill_fixtures/test_funcarg_lookup_classlevel.py class TestClass (line 7) | class TestClass: method something (line 9) | def something(self, request): method test_method (line 12) | def test_method(self, something): FILE: testing/example_scripts/fixtures/fill_fixtures/test_funcarg_lookup_modulelevel.py function something (line 8) | def something(request): class TestClass (line 12) | class TestClass: method test_method (line 13) | def test_method(self, something): function test_func (line 17) | def test_func(something): FILE: testing/example_scripts/fixtures/fill_fixtures/test_funcarg_lookupfails.py function xyzsomething (line 8) | def xyzsomething(request): function test_func (line 12) | def test_func(some): FILE: testing/example_scripts/fixtures/test_fixture_named_request.py function request (line 8) | def request(): function test (line 12) | def test(): FILE: testing/example_scripts/fixtures/test_getfixturevalue_dynamic.py function dynamic (line 8) | def dynamic(): function a (line 13) | def a(request): function b (line 18) | def b(a): function test (line 22) | def test(b, request): FILE: testing/example_scripts/issue88_initial_file_multinodes/conftest.py class MyFile (line 7) | class MyFile(pytest.File): method collect (line 8) | def collect(self): function pytest_collect_file (line 12) | def pytest_collect_file(file_path, parent): class MyItem (line 16) | class MyItem(pytest.Item): method runtest (line 17) | def runtest(self): FILE: testing/example_scripts/issue88_initial_file_multinodes/test_hello.py function test_hello (line 5) | def test_hello(): FILE: testing/example_scripts/issue_519.py function pytest_generate_tests (line 9) | def pytest_generate_tests(metafunc): function checked_order (line 18) | def checked_order(): function fix1 (line 38) | def fix1(request, arg1, checked_order): function fix2 (line 44) | def fix2(request, fix1, arg2, checked_order): function test_one (line 49) | def test_one(fix2): function test_two (line 53) | def test_two(fix2): FILE: testing/example_scripts/marks/marks_considered_keywords/test_marks_as_keywords.py function test_mark (line 8) | def test_mark(): FILE: testing/example_scripts/perf_examples/collect_stats/generate_folders.py function generate_folders (line 15) | def generate_folders(root, elements, *more_numbers): FILE: testing/example_scripts/perf_examples/collect_stats/template_test.py function test_x (line 5) | def test_x(): FILE: testing/example_scripts/tmpdir/tmp_path_fixture.py function test_fixture (line 8) | def test_fixture(tmp_path, a): FILE: testing/example_scripts/unittest/test_parametrized_fixture_error_message.py function two (line 10) | def two(request): class TestSomethingElse (line 15) | class TestSomethingElse(unittest.TestCase): method test_two (line 16) | def test_two(self): FILE: testing/example_scripts/unittest/test_setup_skip.py class Base (line 9) | class Base(unittest.TestCase): method setUp (line 10) | def setUp(self): class Test (line 15) | class Test(Base): method test_foo (line 16) | def test_foo(self): FILE: testing/example_scripts/unittest/test_setup_skip_class.py class Base (line 9) | class Base(unittest.TestCase): method setUpClass (line 11) | def setUpClass(cls): class Test (line 16) | class Test(Base): method test_foo (line 17) | def test_foo(self): FILE: testing/example_scripts/unittest/test_setup_skip_module.py function setUpModule (line 9) | def setUpModule(): class Base (line 14) | class Base(unittest.TestCase): method test (line 15) | def test(self): FILE: testing/example_scripts/unittest/test_unittest_asyncio.py class AsyncArguments (line 10) | class AsyncArguments(IsolatedAsyncioTestCase): method asyncTearDown (line 11) | async def asyncTearDown(self): method test_something_async (line 14) | async def test_something_async(self): method test_something_async_fails (line 20) | async def test_something_async_fails(self): method test_teardowns (line 26) | def test_teardowns(self): FILE: testing/example_scripts/unittest/test_unittest_asynctest.py class Test (line 14) | class Test(asynctest.TestCase): method tearDown (line 15) | async def tearDown(self): method test_error (line 18) | async def test_error(self): method test_ok (line 22) | async def test_ok(self): method test_teardowns (line 25) | def test_teardowns(self): FILE: testing/example_scripts/unittest/test_unittest_plain_async.py class Test (line 7) | class Test(unittest.TestCase): method test_foo (line 8) | async def test_foo(self): FILE: testing/example_scripts/warnings/test_group_warnings_by_message.py function func (line 9) | def func(msg): function test_foo (line 14) | def test_foo(i): function test_foo_1 (line 18) | def test_foo_1(): function test_bar (line 23) | def test_bar(i): FILE: testing/example_scripts/warnings/test_group_warnings_by_message_summary/test_1.py function func (line 9) | def func(msg): function test_foo (line 14) | def test_foo(i): function test_foo_1 (line 18) | def test_foo_1(): function test_bar (line 23) | def test_bar(i): FILE: testing/example_scripts/warnings/test_group_warnings_by_message_summary/test_2.py function test_2 (line 7) | def test_2(): FILE: testing/examples/test_issue519.py function test_519 (line 6) | def test_519(pytester: Pytester) -> None: FILE: testing/freeze/tests/test_trivial.py function test_upper (line 5) | def test_upper(): function test_lower (line 9) | def test_lower(): FILE: testing/io/test_pprint.py class EmptyDataclass (line 19) | class EmptyDataclass: class DataclassWithOneItem (line 24) | class DataclassWithOneItem: class DataclassWithTwoItems (line 29) | class DataclassWithTwoItems: function test_consistent_pretty_printer (line 407) | def test_consistent_pretty_printer(data: Any, expected: str) -> None: FILE: testing/io/test_saferepr.py function test_simple_repr (line 11) | def test_simple_repr(): function test_maxsize (line 16) | def test_maxsize(): function test_no_maxsize (line 23) | def test_no_maxsize(): function test_maxsize_error_on_instance (line 30) | def test_maxsize_error_on_instance(): function test_exceptions (line 40) | def test_exceptions() -> None: function test_baseexception (line 69) | def test_baseexception(): function test_buggy_builtin_repr (line 130) | def test_buggy_builtin_repr(): function test_big_repr (line 141) | def test_big_repr(): function test_repr_on_newstyle (line 147) | def test_repr_on_newstyle() -> None: function test_unicode (line 155) | def test_unicode(): function test_broken_getattribute (line 161) | def test_broken_getattribute(): function test_saferepr_unlimited (line 178) | def test_saferepr_unlimited(): function test_saferepr_unlimited_exc (line 188) | def test_saferepr_unlimited_exc(): function test_saferepr_dict_preserves_insertion_order (line 198) | def test_saferepr_dict_preserves_insertion_order() -> None: function test_saferepr_dict_truncation_preserves_insertion_order (line 211) | def test_saferepr_dict_truncation_preserves_insertion_order() -> None: function test_saferepr_dict_fillvalue_when_level_is_zero (line 224) | def test_saferepr_dict_fillvalue_when_level_is_zero() -> None: function test_saferepr_dict_empty (line 229) | def test_saferepr_dict_empty() -> None: FILE: testing/io/test_terminalwriter.py function test_terminal_width_COLUMNS (line 22) | def test_terminal_width_COLUMNS(monkeypatch: MonkeyPatch) -> None: function test_terminalwriter_width_bogus (line 28) | def test_terminalwriter_width_bogus(monkeypatch: MonkeyPatch) -> None: function test_terminalwriter_computes_width (line 35) | def test_terminalwriter_computes_width(monkeypatch: MonkeyPatch) -> None: function test_terminalwriter_dumb_term_no_markup (line 41) | def test_terminalwriter_dumb_term_no_markup(monkeypatch: MonkeyPatch) ->... function test_terminalwriter_not_unicode (line 57) | def test_terminalwriter_not_unicode() -> None: class TestTerminalWriter (line 69) | class TestTerminalWriter: method tw (line 71) | def tw(self, request, tmp_path: Path) -> Generator[terminalwriter.Term... method test_line (line 97) | def test_line(self, tw) -> None: method test_line_unicode (line 103) | def test_line_unicode(self, tw) -> None: method test_sep_no_title (line 109) | def test_sep_no_title(self, tw) -> None: method test_sep_with_title (line 115) | def test_sep_with_title(self, tw) -> None: method test_sep_longer_than_width (line 121) | def test_sep_longer_than_width(self, tw) -> None: method test_markup (line 130) | def test_markup(self, tw, bold: bool, color: str) -> None: method test_markup_bad (line 134) | def test_markup_bad(self, tw) -> None: method test_line_write_markup (line 140) | def test_line_write_markup(self, tw) -> None: method test_attr_fullwidth (line 149) | def test_attr_fullwidth(self, tw) -> None: function test_attr_hasmarkup (line 158) | def test_attr_hasmarkup() -> None: function assert_color (line 170) | def assert_color(expected: bool, default: bool | None = None) -> None: function test_should_do_markup_PY_COLORS_eq_1 (line 187) | def test_should_do_markup_PY_COLORS_eq_1(monkeypatch: MonkeyPatch) -> None: function test_should_not_do_markup_PY_COLORS_eq_0 (line 192) | def test_should_not_do_markup_PY_COLORS_eq_0(monkeypatch: MonkeyPatch) -... function test_should_not_do_markup_NO_COLOR (line 197) | def test_should_not_do_markup_NO_COLOR(monkeypatch: MonkeyPatch) -> None: function test_should_do_markup_FORCE_COLOR (line 202) | def test_should_do_markup_FORCE_COLOR(monkeypatch: MonkeyPatch) -> None: function test_NO_COLOR_and_FORCE_COLOR (line 215) | def test_NO_COLOR_and_FORCE_COLOR( function test_empty_NO_COLOR_and_FORCE_COLOR_ignored (line 226) | def test_empty_NO_COLOR_and_FORCE_COLOR_ignored(monkeypatch: MonkeyPatch... class TestTerminalWriterLineWidth (line 234) | class TestTerminalWriterLineWidth: method test_init (line 235) | def test_init(self) -> None: method test_update (line 239) | def test_update(self) -> None: method test_update_with_newline (line 244) | def test_update_with_newline(self) -> None: method test_update_with_wide_text (line 249) | def test_update_with_wide_text(self) -> None: method test_composed (line 254) | def test_composed(self) -> None: method test_combining (line 261) | def test_combining(self) -> None: function test_code_highlight (line 298) | def test_code_highlight(has_markup, code_highlight, expected, color_mapp... function test_highlight_empty_source (line 314) | def test_highlight_empty_source() -> None: FILE: testing/io/test_wcwidth.py function test_wcwidth (line 23) | def test_wcwidth(c: str, expected: int) -> None: function test_wcswidth (line 39) | def test_wcswidth(s: str, expected: int) -> None: FILE: testing/logging/test_fixture.py function cleanup_disabled_logging (line 18) | def cleanup_disabled_logging() -> Iterator[None]: function test_fixture_help (line 30) | def test_fixture_help(pytester: Pytester) -> None: function test_change_level (line 35) | def test_change_level(caplog: pytest.LogCaptureFixture) -> None: function test_change_level_logging_disabled (line 50) | def test_change_level_logging_disabled(caplog: pytest.LogCaptureFixture)... function test_change_level_undo (line 67) | def test_change_level_undo(pytester: Pytester) -> None: function test_change_disabled_level_undo (line 93) | def test_change_disabled_level_undo(pytester: Pytester) -> None: function test_change_level_undoes_handler_level (line 122) | def test_change_level_undoes_handler_level(pytester: Pytester) -> None: function test_with_statement_at_level (line 150) | def test_with_statement_at_level(caplog: pytest.LogCaptureFixture) -> None: function test_with_statement_at_level_logging_disabled (line 165) | def test_with_statement_at_level_logging_disabled( function test_with_statement_filtering (line 193) | def test_with_statement_filtering(caplog: pytest.LogCaptureFixture) -> N... function test_force_enable_logging_level_string (line 221) | def test_force_enable_logging_level_string( function test_log_access (line 242) | def test_log_access(caplog: pytest.LogCaptureFixture) -> None: function test_messages (line 250) | def test_messages(caplog: pytest.LogCaptureFixture) -> None: function test_record_tuples (line 271) | def test_record_tuples(caplog: pytest.LogCaptureFixture) -> None: function test_unicode (line 278) | def test_unicode(caplog: pytest.LogCaptureFixture) -> None: function test_clear (line 286) | def test_clear(caplog: pytest.LogCaptureFixture) -> None: function logging_during_setup_and_teardown (line 297) | def logging_during_setup_and_teardown( function private_assert_caplog_records_is_setup_call (line 307) | def private_assert_caplog_records_is_setup_call( function test_captures_for_all_stages (line 315) | def test_captures_for_all_stages( function test_clear_for_call_stage (line 328) | def test_clear_for_call_stage( function test_ini_controls_global_log_level (line 348) | def test_ini_controls_global_log_level(pytester: Pytester) -> None: function test_can_override_global_log_level (line 375) | def test_can_override_global_log_level(pytester: Pytester) -> None: function test_captures_despite_exception (line 414) | def test_captures_despite_exception(pytester: Pytester) -> None: function test_log_report_captures_according_to_config_option_upon_failure (line 444) | def test_log_report_captures_according_to_config_option_upon_failure( FILE: testing/logging/test_formatter.py function test_coloredlogformatter (line 10) | def test_coloredlogformatter() -> None: function test_coloredlogformatter_with_width_precision (line 37) | def test_coloredlogformatter_with_width_precision() -> None: function test_multiline_message (line 64) | def test_multiline_message() -> None: function test_colored_short_level (line 153) | def test_colored_short_level() -> None: FILE: testing/logging/test_reporting.py function test_nothing_logged (line 17) | def test_nothing_logged(pytester: Pytester) -> None: function test_messages_logged (line 36) | def test_messages_logged(pytester: Pytester) -> None: function test_root_logger_affected (line 58) | def test_root_logger_affected(pytester: Pytester) -> None: function test_log_cli_level_log_level_interaction (line 94) | def test_log_cli_level_log_level_interaction(pytester: Pytester) -> None: function test_setup_logging (line 124) | def test_setup_logging(pytester: Pytester) -> None: function test_teardown_logging (line 151) | def test_teardown_logging(pytester: Pytester) -> None: function test_log_cli_enabled_disabled (line 179) | def test_log_cli_enabled_disabled(pytester: Pytester, enabled: bool) -> ... function test_log_cli_default_level (line 209) | def test_log_cli_default_level(pytester: Pytester) -> None: function test_log_cli_default_level_multiple_tests (line 243) | def test_log_cli_default_level_multiple_tests( function test_log_cli_default_level_sections (line 280) | def test_log_cli_default_level_sections( function test_live_logs_unknown_sections (line 356) | def test_live_logs_unknown_sections( function test_sections_single_new_line_after_test_outcome (line 420) | def test_sections_single_new_line_after_test_outcome( function test_log_cli_level (line 500) | def test_log_cli_level(pytester: Pytester) -> None: function test_log_cli_ini_level (line 550) | def test_log_cli_ini_level(pytester: Pytester) -> None: function test_log_cli_auto_enable (line 590) | def test_log_cli_auto_enable(pytester: Pytester, cli_args: str) -> None: function test_log_file_cli (line 634) | def test_log_file_cli(pytester: Pytester) -> None: function test_log_file_mode_cli (line 667) | def test_log_file_mode_cli(pytester: Pytester) -> None: function test_log_file_mode_cli_invalid (line 707) | def test_log_file_mode_cli_invalid(pytester: Pytester) -> None: function test_log_file_cli_level (line 734) | def test_log_file_cli_level(pytester: Pytester) -> None: function test_log_level_not_changed_by_default (line 765) | def test_log_level_not_changed_by_default(pytester: Pytester) -> None: function test_log_file_ini (line 777) | def test_log_file_ini(pytester: Pytester) -> None: function test_log_file_mode_ini (line 814) | def test_log_file_mode_ini(pytester: Pytester) -> None: function test_log_file_ini_level (line 855) | def test_log_file_ini_level(pytester: Pytester) -> None: function test_log_file_unicode (line 892) | def test_log_file_unicode(pytester: Pytester) -> None: function test_live_logging_suspends_capture (line 926) | def test_live_logging_suspends_capture( function test_collection_live_logging (line 975) | def test_collection_live_logging(pytester: Pytester) -> None: function test_collection_collect_only_live_logging (line 991) | def test_collection_collect_only_live_logging(pytester: Pytester, verbos... function test_collection_logging_to_file (line 1026) | def test_collection_logging_to_file(pytester: Pytester) -> None: function test_log_in_hooks (line 1062) | def test_log_in_hooks(pytester: Pytester) -> None: function test_log_in_runtest_logreport (line 1096) | def test_log_in_runtest_logreport(pytester: Pytester) -> None: function test_log_set_path (line 1128) | def test_log_set_path(pytester: Pytester) -> None: function test_log_set_path_with_log_file_mode (line 1174) | def test_log_set_path_with_log_file_mode(pytester: Pytester) -> None: function test_colored_captured_log (line 1234) | def test_colored_captured_log(pytester: Pytester) -> None: function test_colored_ansi_esc_caplogtext (line 1258) | def test_colored_ansi_esc_caplogtext(pytester: Pytester) -> None: function test_logging_emit_error (line 1275) | def test_logging_emit_error(pytester: Pytester) -> None: function test_logging_emit_error_supressed (line 1301) | def test_logging_emit_error_supressed(pytester: Pytester) -> None: function test_log_file_cli_subdirectories_are_successfully_created (line 1317) | def test_log_file_cli_subdirectories_are_successfully_created( function test_disable_loggers (line 1327) | def test_disable_loggers(pytester: Pytester) -> None: function test_disable_loggers_does_not_propagate (line 1346) | def test_disable_loggers_does_not_propagate(pytester: Pytester) -> None: function test_log_disabling_works_with_log_cli (line 1370) | def test_log_disabling_works_with_log_cli(pytester: Pytester) -> None: function test_without_date_format_log (line 1396) | def test_without_date_format_log(pytester: Pytester) -> None: function test_date_format_log (line 1416) | def test_date_format_log(pytester: Pytester) -> None: function test_date_format_percentf_log (line 1441) | def test_date_format_percentf_log(pytester: Pytester) -> None: function test_date_format_percentf_tz_log (line 1466) | def test_date_format_percentf_tz_log(pytester: Pytester) -> None: function test_log_file_cli_fallback_options (line 1493) | def test_log_file_cli_fallback_options(pytester: Pytester) -> None: FILE: testing/plugins_integration/bdd_wallet.py function test_publish (line 13) | def test_publish(): function wallet (line 18) | def wallet(): function fill_wallet (line 26) | def fill_wallet(wallet): function buy_apples (line 31) | def buy_apples(wallet): function buy_bananas (line 36) | def buy_bananas(wallet): function check (line 41) | def check(wallet): FILE: testing/plugins_integration/pytest_anyio_integration.py function test_sleep (line 10) | async def test_sleep(): FILE: testing/plugins_integration/pytest_asyncio_integration.py function test_sleep (line 10) | async def test_sleep(): FILE: testing/plugins_integration/pytest_mock_integration.py function test_mocker (line 5) | def test_mocker(mocker): FILE: testing/plugins_integration/pytest_rerunfailures_integration.py class MyTestCase (line 6) | class MyTestCase(unittest.TestCase): method test_fail_the_first_time (line 9) | def test_fail_the_first_time(self) -> None: FILE: testing/plugins_integration/pytest_trio_integration.py function test_sleep (line 10) | async def test_sleep(): FILE: testing/plugins_integration/pytest_twisted_integration.py function sleep (line 8) | def sleep(): function test_inlineCallbacks (line 15) | def test_inlineCallbacks(): function test_inlineCallbacks_async (line 20) | async def test_inlineCallbacks_async(): FILE: testing/plugins_integration/simple_integration.py function test_foo (line 7) | def test_foo(): function test_bar (line 12) | def test_bar(i): FILE: testing/python/approx.py function mocked_doctest_runner (line 23) | def mocked_doctest_runner(monkeypatch): function temporary_verbosity (line 51) | def temporary_verbosity(config, verbosity=0): function assert_approx_raises_regex (line 61) | def assert_approx_raises_regex(pytestconfig): class TestApprox (line 99) | class TestApprox: method test_error_messages_native_dtypes (line 100) | def test_error_messages_native_dtypes(self, assert_approx_raises_regex): method test_error_messages_numpy_dtypes (line 202) | def test_error_messages_numpy_dtypes(self, assert_approx_raises_regex): method test_error_messages_invalid_args (line 260) | def test_error_messages_invalid_args(self, assert_approx_raises_regex): method test_error_messages_with_different_verbosity (line 286) | def test_error_messages_with_different_verbosity(self, assert_approx_r... method test_repr_string (line 338) | def test_repr_string(self): method test_repr_complex_numbers (line 357) | def test_repr_complex_numbers(self): method test_repr_nd_array (line 382) | def test_repr_nd_array(self, value, expected_repr_string): method test_bool (line 388) | def test_bool(self): method test_mixed_sequence (line 394) | def test_mixed_sequence(self, assert_approx_raises_regex) -> None: method test_operator_overloading (line 425) | def test_operator_overloading(self): method test_exactly_equal (line 431) | def test_exactly_equal(self): method test_opposite_sign (line 445) | def test_opposite_sign(self): method test_zero_tolerance (line 450) | def test_zero_tolerance(self): method test_negative_tolerance (line 470) | def test_negative_tolerance(self, rel: float | None, abs: float | None... method test_negative_tolerance_message (line 475) | def test_negative_tolerance_message(self): method test_inf_tolerance (line 482) | def test_inf_tolerance(self): method test_inf_tolerance_expecting_zero (line 491) | def test_inf_tolerance_expecting_zero(self) -> None: method test_nan_tolerance (line 499) | def test_nan_tolerance(self) -> None: method test_reasonable_defaults (line 507) | def test_reasonable_defaults(self): method test_default_tolerances (line 512) | def test_default_tolerances(self): method test_custom_tolerances (line 531) | def test_custom_tolerances(self): method test_relative_tolerance (line 547) | def test_relative_tolerance(self): method test_absolute_tolerance (line 553) | def test_absolute_tolerance(self): method test_expecting_zero (line 559) | def test_expecting_zero(self): method test_expecting_inf (line 574) | def test_expecting_inf(self): method test_expecting_nan (line 585) | def test_expecting_nan(self): method test_int (line 600) | def test_int(self): method test_decimal (line 608) | def test_decimal(self): method test_fraction (line 620) | def test_fraction(self): method test_complex (line 631) | def test_complex(self): method test_expecting_bool (line 644) | def test_expecting_bool(self) -> None: method test_expecting_bool_numpy (line 651) | def test_expecting_bool_numpy(self) -> None: method test_list (line 660) | def test_list(self): method test_list_decimal (line 670) | def test_list_decimal(self): method test_list_wrong_len (line 676) | def test_list_wrong_len(self): method test_tuple (line 680) | def test_tuple(self): method test_tuple_wrong_len (line 690) | def test_tuple_wrong_len(self): method test_tuple_vs_other (line 694) | def test_tuple_vs_other(self): method test_dict (line 697) | def test_dict(self): method test_dict_decimal (line 709) | def test_dict_decimal(self): method test_dict_wrong_len (line 717) | def test_dict_wrong_len(self): method test_dict_nonnumeric (line 722) | def test_dict_nonnumeric(self): method test_dict_vs_other (line 727) | def test_dict_vs_other(self): method test_dict_for_div_by_zero (line 730) | def test_dict_for_div_by_zero(self, assert_approx_raises_regex): method test_dict_differing_lengths (line 744) | def test_dict_differing_lengths(self, assert_approx_raises_regex): method test_numpy_array (line 755) | def test_numpy_array(self): method test_numpy_tolerance_args (line 773) | def test_numpy_tolerance_args(self): method test_numpy_expecting_nan (line 803) | def test_numpy_expecting_nan(self): method test_numpy_expecting_inf (line 821) | def test_numpy_expecting_inf(self): method test_numpy_array_wrong_shape (line 835) | def test_numpy_array_wrong_shape(self): method test_numpy_array_implicit_conversion (line 844) | def test_numpy_array_implicit_conversion(self): method test_numpy_array_protocol (line 861) | def test_numpy_array_protocol(self): method test_doctests (line 891) | def test_doctests(self, mocked_doctest_runner) -> None: method test_unicode_plus_minus (line 901) | def test_unicode_plus_minus(self, pytester: Pytester) -> None: method test_expected_value_type_error (line 926) | def test_expected_value_type_error(self, x, name): method test_nonnumeric_okay_if_equal (line 942) | def test_nonnumeric_okay_if_equal(self, x): method test_nonnumeric_false_if_unequal (line 953) | def test_nonnumeric_false_if_unequal(self, x): method test_nonnumeric_dict_repr (line 967) | def test_nonnumeric_dict_repr(self): method test_nonnumeric_list_repr (line 975) | def test_nonnumeric_list_repr(self): method test_comparison_operator_type_error (line 989) | def test_comparison_operator_type_error(self, op): method test_numpy_array_with_scalar (line 994) | def test_numpy_array_with_scalar(self): method test_numpy_scalar_with_array (line 1005) | def test_numpy_scalar_with_array(self): method test_generic_ordered_sequence (line 1016) | def test_generic_ordered_sequence(self): method test_decimal_approx_repr (line 1030) | def test_decimal_approx_repr(self, monkeypatch) -> None: method test_allow_ordered_sequences_only (line 1035) | def test_allow_ordered_sequences_only(self) -> None: method test_strange_sequence (line 1040) | def test_strange_sequence(self): method test_approx_dicts_with_mismatch_on_keys (line 1051) | def test_approx_dicts_with_mismatch_on_keys(self) -> None: method test_approx_on_unordered_mapping_with_mismatch (line 1065) | def test_approx_on_unordered_mapping_with_mismatch( method test_approx_on_unordered_mapping_matching (line 1091) | def test_approx_on_unordered_mapping_matching(self, pytester: Pytester... class MyVec3 (line 1106) | class MyVec3: # incomplete method __init__ (line 1113) | def __init__(self, x: int, y: int, z: int): method __repr__ (line 1116) | def __repr__(self) -> str: method __len__ (line 1119) | def __len__(self) -> int: method __getitem__ (line 1122) | def __getitem__(self, key: int) -> int: class TestRecursiveSequenceMap (line 1132) | class TestRecursiveSequenceMap: method test_map_over_scalar (line 1133) | def test_map_over_scalar(self): method test_map_over_empty_list (line 1136) | def test_map_over_empty_list(self): method test_map_over_list (line 1139) | def test_map_over_list(self): method test_map_over_tuple (line 1142) | def test_map_over_tuple(self): method test_map_over_nested_lists (line 1145) | def test_map_over_nested_lists(self): method test_map_over_mixed_sequence (line 1152) | def test_map_over_mixed_sequence(self): method test_map_over_sequence_like (line 1159) | def test_map_over_sequence_like(self): FILE: testing/python/collect.py class TestModule (line 20) | class TestModule: method test_failing_import (line 21) | def test_failing_import(self, pytester: Pytester) -> None: method test_import_duplicate (line 25) | def test_import_duplicate(self, pytester: Pytester) -> None: method test_import_prepend_append (line 47) | def test_import_prepend_append( method test_syntax_error_in_module (line 73) | def test_syntax_error_in_module(self, pytester: Pytester) -> None: method test_module_considers_pluginmanager_at_import (line 78) | def test_module_considers_pluginmanager_at_import(self, pytester: Pyte... method test_invalid_test_module_name (line 82) | def test_invalid_test_module_name(self, pytester: Pytester) -> None: method test_show_traceback_import_error (line 94) | def test_show_traceback_import_error( method test_show_traceback_import_error_unicode (line 130) | def test_show_traceback_import_error_unicode(self, pytester: Pytester)... class TestClass (line 146) | class TestClass: method test_class_with_init_warning (line 147) | def test_class_with_init_warning(self, pytester: Pytester) -> None: method test_class_with_new_warning (line 163) | def test_class_with_new_warning(self, pytester: Pytester) -> None: method test_class_subclassobject (line 179) | def test_class_subclassobject(self, pytester: Pytester) -> None: method test_static_method (line 189) | def test_static_method(self, pytester: Pytester) -> None: method test_setup_teardown_class_as_classmethod (line 211) | def test_setup_teardown_class_as_classmethod(self, pytester: Pytester)... method test_issue1035_obj_has_getattr (line 228) | def test_issue1035_obj_has_getattr(self, pytester: Pytester) -> None: method test_issue1579_namedtuple (line 240) | def test_issue1579_namedtuple(self, pytester: Pytester) -> None: method test_issue2234_property (line 254) | def test_issue2234_property(self, pytester: Pytester) -> None: method test_does_not_discover_properties (line 266) | def test_does_not_discover_properties(self, pytester: Pytester) -> None: method test_does_not_discover_instance_descriptors (line 279) | def test_does_not_discover_instance_descriptors(self, pytester: Pytest... method test_abstract_class_is_not_collected (line 303) | def test_abstract_class_is_not_collected(self, pytester: Pytester) -> ... class TestFunction (line 330) | class TestFunction: method test_getmodulecollector (line 331) | def test_getmodulecollector(self, pytester: Pytester) -> None: method test_function_as_object_instance_ignored (line 338) | def test_function_as_object_instance_ignored(self, pytester: Pytester)... method make_function (line 358) | def make_function(pytester: Pytester, **kwargs: Any) -> Any: method test_function_equality (line 367) | def test_function_equality(self, pytester: Pytester) -> None: method test_repr_produces_actual_test_id (line 381) | def test_repr_produces_actual_test_id(self, pytester: Pytester) -> None: method test_issue197_parametrize_emptyset (line 387) | def test_issue197_parametrize_emptyset(self, pytester: Pytester) -> None: method test_single_tuple_unwraps_values (line 399) | def test_single_tuple_unwraps_values(self, pytester: Pytester) -> None: method test_issue213_parametrize_value_no_equal (line 411) | def test_issue213_parametrize_value_no_equal(self, pytester: Pytester)... method test_parametrize_with_non_hashable_values (line 426) | def test_parametrize_with_non_hashable_values(self, pytester: Pytester... method test_parametrize_with_non_hashable_values_indirect (line 446) | def test_parametrize_with_non_hashable_values_indirect( method test_parametrize_overrides_fixture (line 477) | def test_parametrize_overrides_fixture(self, pytester: Pytester) -> None: method test_parametrize_overrides_parametrized_fixture (line 506) | def test_parametrize_overrides_parametrized_fixture( method test_parametrize_overrides_parametrized_fixture_with_unrelated_indirect (line 527) | def test_parametrize_overrides_parametrized_fixture_with_unrelated_ind... method test_parametrize_overrides_indirect_dependency_fixture (line 563) | def test_parametrize_overrides_indirect_dependency_fixture( method test_parametrize_with_mark (line 596) | def test_parametrize_with_mark(self, pytester: Pytester) -> None: method test_parametrize_with_empty_string_arguments (line 617) | def test_parametrize_with_empty_string_arguments(self, pytester: Pytes... method test_function_equality_with_callspec (line 630) | def test_function_equality_with_callspec(self, pytester: Pytester) -> ... method test_pyfunc_call (line 642) | def test_pyfunc_call(self, pytester: Pytester) -> None: method test_multiple_parametrize (line 659) | def test_multiple_parametrize(self, pytester: Pytester) -> None: method test_issue751_multiple_parametrize_with_ids (line 675) | def test_issue751_multiple_parametrize_with_ids(self, pytester: Pytest... method test_parametrize_skipif (line 694) | def test_parametrize_skipif(self, pytester: Pytester) -> None: method test_parametrize_skip (line 709) | def test_parametrize_skip(self, pytester: Pytester) -> None: method test_parametrize_skipif_no_skip (line 724) | def test_parametrize_skipif_no_skip(self, pytester: Pytester) -> None: method test_parametrize_xfail (line 739) | def test_parametrize_xfail(self, pytester: Pytester) -> None: method test_parametrize_passed (line 754) | def test_parametrize_passed(self, pytester: Pytester) -> None: method test_parametrize_xfail_passed (line 769) | def test_parametrize_xfail_passed(self, pytester: Pytester) -> None: method test_function_originalname (line 784) | def test_function_originalname(self, pytester: Pytester) -> None: method test_function_with_square_brackets (line 807) | def test_function_with_square_brackets(self, pytester: Pytester) -> None: class TestSorting (line 823) | class TestSorting: method test_check_equality (line 824) | def test_check_equality(self, pytester: Pytester) -> None: method test_allow_sane_sorting_for_decorators (line 852) | def test_allow_sane_sorting_for_decorators(self, pytester: Pytester) -... method test_ordered_by_definition_order (line 874) | def test_ordered_by_definition_order(self, pytester: Pytester) -> None: class TestConftestCustomization (line 905) | class TestConftestCustomization: method test_pytest_pycollect_module (line 906) | def test_pytest_pycollect_module(self, pytester: Pytester) -> None: method test_customized_pymakemodule_issue205_subdir (line 922) | def test_customized_pymakemodule_issue205_subdir(self, pytester: Pytes... method test_customized_pymakeitem (line 950) | def test_customized_pymakeitem(self, pytester: Pytester) -> None: method test_pytest_pycollect_makeitem (line 985) | def test_pytest_pycollect_makeitem(self, pytester: Pytester) -> None: method test_issue2369_collect_module_fileext (line 1000) | def test_issue2369_collect_module_fileext(self, pytester: Pytester) ->... method test_early_ignored_attributes (line 1037) | def test_early_ignored_attributes(self, pytester: Pytester) -> None: function test_setup_only_available_in_subdir (line 1066) | def test_setup_only_available_in_subdir(pytester: Pytester) -> None: function test_modulecol_roundtrip (line 1103) | def test_modulecol_roundtrip(pytester: Pytester) -> None: class TestTracebackCutting (line 1110) | class TestTracebackCutting: method test_skip_simple (line 1111) | def test_skip_simple(self): method test_traceback_argsetup (line 1120) | def test_traceback_argsetup(self, pytester: Pytester) -> None: method test_traceback_error_during_import (line 1145) | def test_traceback_error_during_import(self, pytester: Pytester) -> None: method test_traceback_filter_error_during_fixture_collection (line 1166) | def test_traceback_filter_error_during_fixture_collection( method test_filter_traceback_generated_code (line 1194) | def test_filter_traceback_generated_code(self) -> None: method test_filter_traceback_path_no_longer_valid (line 1218) | def test_filter_traceback_path_no_longer_valid(self, pytester: Pyteste... class TestReportInfo (line 1249) | class TestReportInfo: method test_itemreport_reportinfo (line 1250) | def test_itemreport_reportinfo(self, pytester: Pytester) -> None: method test_func_reportinfo (line 1266) | def test_func_reportinfo(self, pytester: Pytester) -> None: method test_class_reportinfo (line 1273) | def test_class_reportinfo(self, pytester: Pytester) -> None: method test_reportinfo_with_nasty_getattr (line 1291) | def test_reportinfo_with_nasty_getattr(self, pytester: Pytester) -> None: function test_customized_python_discovery (line 1318) | def test_customized_python_discovery(pytester: Pytester) -> None: function test_customized_python_discovery_functions (line 1348) | def test_customized_python_discovery_functions(pytester: Pytester) -> None: function test_unorderable_types (line 1369) | def test_unorderable_types(pytester: Pytester) -> None: function test_dont_collect_non_function_callable (line 1389) | def test_dont_collect_non_function_callable(pytester: Pytester) -> None: function test_class_injection_does_not_break_collection (line 1417) | def test_class_injection_does_not_break_collection(pytester: Pytester) -... function test_syntax_error_with_non_ascii_chars (line 1447) | def test_syntax_error_with_non_ascii_chars(pytester: Pytester) -> None: function test_collect_error_with_fulltrace (line 1454) | def test_collect_error_with_fulltrace(pytester: Pytester) -> None: function test_skip_duplicates_by_default (line 1473) | def test_skip_duplicates_by_default(pytester: Pytester) -> None: function test_keep_duplicates (line 1494) | def test_keep_duplicates(pytester: Pytester) -> None: function test_package_collection_infinite_recursion (line 1515) | def test_package_collection_infinite_recursion(pytester: Pytester) -> None: function test_package_collection_init_given_as_argument (line 1521) | def test_package_collection_init_given_as_argument(pytester: Pytester) -... function test_package_with_modules (line 1533) | def test_package_with_modules(pytester: Pytester) -> None: function test_package_ordering (line 1580) | def test_package_ordering(pytester: Pytester) -> None: function test_collection_hierarchy (line 1619) | def test_collection_hierarchy(pytester: Pytester) -> None: FILE: testing/python/fixtures.py function test_getfuncargnames_functions (line 21) | def test_getfuncargnames_functions(): function test_getfuncargnames_methods (line 45) | def test_getfuncargnames_methods(): function test_getfuncargnames_staticmethod (line 71) | def test_getfuncargnames_staticmethod(): function test_getfuncargnames_staticmethod_inherited (line 82) | def test_getfuncargnames_staticmethod_inherited() -> None: function test_getfuncargnames_partial (line 106) | def test_getfuncargnames_partial(): function test_getfuncargnames_staticmethod_partial (line 120) | def test_getfuncargnames_staticmethod_partial(): class TestFillFixtures (line 135) | class TestFillFixtures: method test_funcarg_lookupfails (line 136) | def test_funcarg_lookupfails(self, pytester: Pytester) -> None: method test_detect_recursive_dependency_error (line 148) | def test_detect_recursive_dependency_error(self, pytester: Pytester) -... method test_funcarg_basic (line 155) | def test_funcarg_basic(self, pytester: Pytester) -> None: method test_funcarg_lookup_modulelevel (line 166) | def test_funcarg_lookup_modulelevel(self, pytester: Pytester) -> None: method test_funcarg_lookup_classlevel (line 171) | def test_funcarg_lookup_classlevel(self, pytester: Pytester) -> None: method test_conftest_funcargs_only_available_in_subdir (line 176) | def test_conftest_funcargs_only_available_in_subdir( method test_extend_fixture_module_class (line 183) | def test_extend_fixture_module_class(self, pytester: Pytester) -> None: method test_extend_fixture_conftest_module (line 190) | def test_extend_fixture_conftest_module(self, pytester: Pytester) -> N... method test_extend_fixture_conftest_conftest (line 197) | def test_extend_fixture_conftest_conftest(self, pytester: Pytester) ->... method test_extend_fixture_conftest_plugin (line 204) | def test_extend_fixture_conftest_plugin(self, pytester: Pytester) -> N... method test_extend_fixture_plugin_plugin (line 235) | def test_extend_fixture_plugin_plugin(self, pytester: Pytester) -> None: method test_override_parametrized_fixture_conftest_module (line 267) | def test_override_parametrized_fixture_conftest_module( method test_override_parametrized_fixture_conftest_conftest (line 297) | def test_override_parametrized_fixture_conftest_conftest( method test_override_non_parametrized_fixture_conftest_module (line 338) | def test_override_non_parametrized_fixture_conftest_module( method test_override_non_parametrized_fixture_conftest_conftest (line 371) | def test_override_non_parametrized_fixture_conftest_conftest( method test_override_autouse_fixture_with_parametrized_fixture_conftest_conftest (line 415) | def test_override_autouse_fixture_with_parametrized_fixture_conftest_c... method test_override_fixture_reusing_super_fixture_parametrization (line 461) | def test_override_fixture_reusing_super_fixture_parametrization( method test_override_parametrize_fixture_and_indirect (line 491) | def test_override_parametrize_fixture_and_indirect( method test_override_top_level_fixture_reusing_super_fixture_parametrization (line 527) | def test_override_top_level_fixture_reusing_super_fixture_parametrizat... method test_override_parametrized_fixture_with_new_parametrized_fixture (line 561) | def test_override_parametrized_fixture_with_new_parametrized_fixture( method test_override_parametrized_fixture_via_transitive_fixture (line 594) | def test_override_parametrized_fixture_via_transitive_fixture( method test_autouse_fixture_plugin (line 627) | def test_autouse_fixture_plugin(self, pytester: Pytester) -> None: method test_funcarg_lookup_error (line 651) | def test_funcarg_lookup_error(self, pytester: Pytester) -> None: method test_fixture_excinfo_leak (line 689) | def test_fixture_excinfo_leak(self, pytester: Pytester) -> None: class TestRequestBasic (line 714) | class TestRequestBasic: method test_request_attributes (line 715) | def test_request_attributes(self, pytester: Pytester) -> None: method test_request_attributes_method (line 735) | def test_request_attributes_method(self, pytester: Pytester) -> None: method test_request_contains_funcarg_arg2fixturedefs (line 753) | def test_request_contains_funcarg_arg2fixturedefs(self, pytester: Pyte... method test_request_garbage (line 776) | def test_request_garbage(self, pytester: Pytester) -> None: method test_getfixturevalue_recursive (line 812) | def test_getfixturevalue_recursive(self, pytester: Pytester) -> None: method test_getfixturevalue_teardown (line 836) | def test_getfixturevalue_teardown(self, pytester: Pytester) -> None: method test_getfixturevalue_teardown_previously_requested_does_not_warn (line 874) | def test_getfixturevalue_teardown_previously_requested_does_not_warn( method test_getfixturevalue_teardown_new_fixture_deprecated (line 899) | def test_getfixturevalue_teardown_new_fixture_deprecated( method test_getfixturevalue_teardown_new_inactive_fixture_errors (line 932) | def test_getfixturevalue_teardown_new_inactive_fixture_errors( method test_getfixturevalue_teardown_new_inactive_fixture_errors_top_request (line 961) | def test_getfixturevalue_teardown_new_inactive_fixture_errors_top_requ... method test_getfixturevalue (line 983) | def test_getfixturevalue(self, pytester: Pytester) -> None: method test_request_addfinalizer (line 1020) | def test_request_addfinalizer(self, pytester: Pytester) -> None: method test_request_addfinalizer_failing_setup (line 1044) | def test_request_addfinalizer_failing_setup(self, pytester: Pytester) ... method test_request_addfinalizer_failing_setup_module (line 1062) | def test_request_addfinalizer_failing_setup_module( method test_request_addfinalizer_partial_setup_failure (line 1082) | def test_request_addfinalizer_partial_setup_failure( method test_request_subrequest_addfinalizer_exceptions (line 1103) | def test_request_subrequest_addfinalizer_exceptions( method test_request_getmodulepath (line 1148) | def test_request_getmodulepath(self, pytester: Pytester) -> None: method test_request_fixturenames (line 1155) | def test_request_fixturenames(self, pytester: Pytester) -> None: method test_request_fixturenames_dynamic_fixture (line 1178) | def test_request_fixturenames_dynamic_fixture(self, pytester: Pytester... method test_setupdecorator_and_xunit (line 1184) | def test_setupdecorator_and_xunit(self, pytester: Pytester) -> None: method test_fixtures_sub_subdir_normalize_sep (line 1216) | def test_fixtures_sub_subdir_normalize_sep(self, pytester: Pytester) -... method test_show_fixtures_color_yes (line 1242) | def test_show_fixtures_color_yes(self, pytester: Pytester) -> None: method test_newstyle_with_request (line 1247) | def test_newstyle_with_request(self, pytester: Pytester) -> None: method test_setupcontext_no_param (line 1261) | def test_setupcontext_no_param(self, pytester: Pytester) -> None: class TestRequestSessionScoped (line 1280) | class TestRequestSessionScoped: method session_request (line 1282) | def session_request(self, request): method test_session_scoped_unavailable_attributes (line 1286) | def test_session_scoped_unavailable_attributes(self, session_request, ... class TestRequestMarking (line 1294) | class TestRequestMarking: method test_applymarker (line 1295) | def test_applymarker(self, pytester: Pytester) -> None: method test_accesskeywords (line 1321) | def test_accesskeywords(self, pytester: Pytester) -> None: method test_accessmarker_dynamic (line 1337) | def test_accessmarker_dynamic(self, pytester: Pytester) -> None: class TestFixtureUsages (line 1365) | class TestFixtureUsages: method test_noargfixturedec (line 1366) | def test_noargfixturedec(self, pytester: Pytester) -> None: method test_receives_funcargs (line 1381) | def test_receives_funcargs(self, pytester: Pytester) -> None: method test_receives_funcargs_scope_mismatch (line 1403) | def test_receives_funcargs_scope_mismatch(self, pytester: Pytester) ->... method test_receives_funcargs_scope_mismatch_issue660 (line 1430) | def test_receives_funcargs_scope_mismatch_issue660( method test_invalid_scope (line 1459) | def test_invalid_scope(self, pytester: Pytester) -> None: method test_parameters_without_eq_semantics (line 1477) | def test_parameters_without_eq_semantics(self, scope, pytester: Pytest... method test_funcarg_parametrized_and_used_twice (line 1506) | def test_funcarg_parametrized_and_used_twice(self, pytester: Pytester)... method test_factory_uses_unknown_funcarg_as_dependency_error (line 1528) | def test_factory_uses_unknown_funcarg_as_dependency_error( method test_factory_setup_as_classes_fails (line 1558) | def test_factory_setup_as_classes_fails(self, pytester: Pytester) -> N... method test_usefixtures_marker (line 1573) | def test_usefixtures_marker(self, pytester: Pytester) -> None: method test_empty_usefixtures_marker (line 1598) | def test_empty_usefixtures_marker(self, pytester: Pytester) -> None: method test_usefixtures_ini (line 1615) | def test_usefixtures_ini(self, pytester: Pytester) -> None: method test_usefixtures_seen_in_showmarkers (line 1644) | def test_usefixtures_seen_in_showmarkers(self, pytester: Pytester) -> ... method test_request_instance_issue203 (line 1652) | def test_request_instance_issue203(self, pytester: Pytester) -> None: method test_fixture_parametrized_with_iterator (line 1669) | def test_fixture_parametrized_with_iterator(self, pytester: Pytester) ... method test_setup_functions_as_fixtures (line 1698) | def test_setup_functions_as_fixtures(self, pytester: Pytester) -> None: method test_parameterized_fixture_caching (line 1737) | def test_parameterized_fixture_caching(self, pytester: Pytester) -> None: method test_unwrapping_pytest_fixture (line 1769) | def test_unwrapping_pytest_fixture(self, pytester: Pytester) -> None: method test_fixture_wrapped_looks_liked_wrapped_function (line 1806) | def test_fixture_wrapped_looks_liked_wrapped_function( class TestFixtureManagerParseFactories (line 1827) | class TestFixtureManagerParseFactories: method pytester (line 1829) | def pytester(self, pytester: Pytester) -> Pytester: method test_parsefactories_evil_objects_issue214 (line 1849) | def test_parsefactories_evil_objects_issue214(self, pytester: Pytester... method test_parsefactories_conftest (line 1865) | def test_parsefactories_conftest(self, pytester: Pytester) -> None: method test_parsefactories_conftest_and_module_and_class (line 1879) | def test_parsefactories_conftest_and_module_and_class( method test_parsefactories_relative_node_ids (line 1906) | def test_parsefactories_relative_node_ids( method test_package_xunit_fixture (line 1963) | def test_package_xunit_fixture(self, pytester: Pytester) -> None: method test_package_fixture_complex (line 2018) | def test_package_fixture_complex(self, pytester: Pytester) -> None: method test_collect_custom_items (line 2061) | def test_collect_custom_items(self, pytester: Pytester) -> None: class TestAutouseDiscovery (line 2067) | class TestAutouseDiscovery: method pytester (line 2069) | def pytester(self, pytester: Pytester) -> Pytester: method test_parsefactories_conftest (line 2095) | def test_parsefactories_conftest(self, pytester: Pytester) -> None: method test_two_classes_separated_autouse (line 2109) | def test_two_classes_separated_autouse(self, pytester: Pytester) -> None: method test_setup_at_classlevel (line 2132) | def test_setup_at_classlevel(self, pytester: Pytester) -> None: method test_setup_enabled_functionnode (line 2150) | def test_setup_enabled_functionnode(self, pytester: Pytester) -> None: method test_callables_nocode (line 2177) | def test_callables_nocode(self, pytester: Pytester) -> None: method test_autouse_in_conftests (line 2194) | def test_autouse_in_conftests(self, pytester: Pytester) -> None: method test_autouse_in_module_and_two_classes (line 2219) | def test_autouse_in_module_and_two_classes(self, pytester: Pytester) -... class TestAutouseManagement (line 2245) | class TestAutouseManagement: method test_autouse_conftest_mid_directory (line 2246) | def test_autouse_conftest_mid_directory(self, pytester: Pytester) -> N... method test_funcarg_and_setup (line 2277) | def test_funcarg_and_setup(self, pytester: Pytester) -> None: method test_uses_parametrized_resource (line 2304) | def test_uses_parametrized_resource(self, pytester: Pytester) -> None: method test_session_parametrized_function (line 2330) | def test_session_parametrized_function(self, pytester: Pytester) -> None: method test_class_function_parametrization_finalization (line 2357) | def test_class_function_parametrization_finalization( method test_scope_ordering (line 2400) | def test_scope_ordering(self, pytester: Pytester) -> None: method test_parametrization_setup_teardown_ordering (line 2423) | def test_parametrization_setup_teardown_ordering(self, pytester: Pytes... method test_ordering_autouse_before_explicit (line 2452) | def test_ordering_autouse_before_explicit(self, pytester: Pytester) ->... method test_ordering_dependencies_torndown_first (line 2473) | def test_ordering_dependencies_torndown_first( method test_reordering_catastrophic_performance (line 2499) | def test_reordering_catastrophic_performance(self, pytester: Pytester)... class TestFixtureMarker (line 2519) | class TestFixtureMarker: method test_parametrize (line 2520) | def test_parametrize(self, pytester: Pytester) -> None: method test_multiple_parametrization_issue_736 (line 2537) | def test_multiple_parametrization_issue_736(self, pytester: Pytester) ... method test_override_parametrized_fixture_issue_979 (line 2559) | def test_override_parametrized_fixture_issue_979( method test_scope_session (line 2582) | def test_scope_session(self, pytester: Pytester) -> None: method test_scope_session_exc (line 2606) | def test_scope_session_exc(self, pytester: Pytester) -> None: method test_scope_session_exc_two_fix (line 2627) | def test_scope_session_exc_two_fix(self, pytester: Pytester) -> None: method test_scope_exc (line 2653) | def test_scope_exc(self, pytester: Pytester) -> None: method test_scope_module_uses_session (line 2682) | def test_scope_module_uses_session(self, pytester: Pytester) -> None: method test_scope_module_and_finalizer (line 2706) | def test_scope_module_and_finalizer(self, pytester: Pytester) -> None: method test_scope_mismatch_various (line 2746) | def test_scope_mismatch_various(self, pytester: Pytester) -> None: method test_scope_mismatch_already_computed_dynamic (line 2773) | def test_scope_mismatch_already_computed_dynamic(self, pytester: Pytes... method test_dynamic_scope (line 2800) | def test_dynamic_scope(self, pytester: Pytester) -> None: method test_dynamic_scope_bad_return (line 2842) | def test_dynamic_scope_bad_return(self, pytester: Pytester) -> None: method test_register_only_with_mark (line 2862) | def test_register_only_with_mark(self, pytester: Pytester) -> None: method test_parametrize_and_scope (line 2884) | def test_parametrize_and_scope(self, pytester: Pytester) -> None: method test_scope_mismatch (line 2904) | def test_scope_mismatch(self, pytester: Pytester) -> None: method test_parametrize_separated_order (line 2926) | def test_parametrize_separated_order(self, pytester: Pytester) -> None: method test_module_parametrized_ordering (line 2947) | def test_module_parametrized_ordering(self, pytester: Pytester) -> None: method test_dynamic_parametrized_ordering (line 3006) | def test_dynamic_parametrized_ordering(self, pytester: Pytester) -> None: method test_class_ordering (line 3055) | def test_class_ordering(self, pytester: Pytester) -> None: method test_parametrize_separated_order_higher_scope_first (line 3115) | def test_parametrize_separated_order_higher_scope_first( method test_parametrized_fixture_teardown_order (line 3193) | def test_parametrized_fixture_teardown_order(self, pytester: Pytester)... method test_fixture_finalizer (line 3234) | def test_fixture_finalizer(self, pytester: Pytester) -> None: method test_class_scope_with_normal_tests (line 3269) | def test_class_scope_with_normal_tests(self, pytester: Pytester) -> None: method test_request_is_clean (line 3297) | def test_request_is_clean(self, pytester: Pytester) -> None: method test_parametrize_separated_lifecycle (line 3313) | def test_parametrize_separated_lifecycle(self, pytester: Pytester) -> ... method test_parametrize_function_scoped_finalizers_called (line 3342) | def test_parametrize_function_scoped_finalizers_called( method test_finalizer_order_on_parametrization (line 3369) | def test_finalizer_order_on_parametrization( method test_class_scope_parametrization_ordering (line 3406) | def test_class_scope_parametrization_ordering(self, pytester: Pytester... method test_parametrize_setup_function (line 3445) | def test_parametrize_setup_function(self, pytester: Pytester) -> None: method test_fixture_marked_function_not_collected_as_test (line 3478) | def test_fixture_marked_function_not_collected_as_test( method test_params_and_ids (line 3495) | def test_params_and_ids(self, pytester: Pytester) -> None: method test_params_and_ids_yieldfixture (line 3512) | def test_params_and_ids_yieldfixture(self, pytester: Pytester) -> None: method test_deterministic_fixture_collection (line 3528) | def test_deterministic_fixture_collection( class TestRequestScopeAccess (line 3574) | class TestRequestScopeAccess: method test_setup (line 3585) | def test_setup(self, pytester: Pytester, scope, ok, error) -> None: method test_funcarg (line 3605) | def test_funcarg(self, pytester: Pytester, scope, ok, error) -> None: class TestErrors (line 3626) | class TestErrors: method test_subfactory_missing_funcarg (line 3627) | def test_subfactory_missing_funcarg(self, pytester: Pytester) -> None: method test_issue498_fixture_finalizer_failing (line 3644) | def test_issue498_fixture_finalizer_failing(self, pytester: Pytester) ... method test_setupfunc_missing_funcarg (line 3675) | def test_setupfunc_missing_funcarg(self, pytester: Pytester) -> None: method test_cached_exception_doesnt_get_longer (line 3692) | def test_cached_exception_doesnt_get_longer(self, pytester: Pytester) ... class TestShowFixtures (line 3715) | class TestShowFixtures: method test_funcarg_compat (line 3716) | def test_funcarg_compat(self, pytester: Pytester) -> None: method test_show_help (line 3720) | def test_show_help(self, pytester: Pytester) -> None: method test_show_fixtures (line 3724) | def test_show_fixtures(self, pytester: Pytester) -> None: method test_show_fixtures_verbose (line 3735) | def test_show_fixtures_verbose(self, pytester: Pytester) -> None: method test_show_fixtures_testmodule (line 3746) | def test_show_fixtures_testmodule(self, pytester: Pytester) -> None: method test_show_fixtures_conftest (line 3770) | def test_show_fixtures_conftest(self, pytester: Pytester, testmod) -> ... method test_show_fixtures_trimmed_doc (line 3796) | def test_show_fixtures_trimmed_doc(self, pytester: Pytester) -> None: method test_show_fixtures_indented_doc (line 3833) | def test_show_fixtures_indented_doc(self, pytester: Pytester) -> None: method test_show_fixtures_indented_doc_first_line_unindented (line 3859) | def test_show_fixtures_indented_doc_first_line_unindented( method test_show_fixtures_indented_in_class (line 3888) | def test_show_fixtures_indented_in_class(self, pytester: Pytester) -> ... method test_show_fixtures_different_files (line 3916) | def test_show_fixtures_different_files(self, pytester: Pytester) -> None: method test_show_fixtures_with_same_name (line 3957) | def test_show_fixtures_with_same_name(self, pytester: Pytester) -> None: method test_fixture_disallow_twice (line 3997) | def test_fixture_disallow_twice(self): class TestContextManagerFixtureFuncs (line 4007) | class TestContextManagerFixtureFuncs: method test_simple (line 4008) | def test_simple(self, pytester: Pytester) -> None: method test_scoped (line 4036) | def test_scoped(self, pytester: Pytester) -> None: method test_setup_exception (line 4061) | def test_setup_exception(self, pytester: Pytester) -> None: method test_teardown_exception (line 4081) | def test_teardown_exception(self, pytester: Pytester) -> None: method test_yields_more_than_one (line 4101) | def test_yields_more_than_one(self, pytester: Pytester) -> None: method test_custom_name (line 4121) | def test_custom_name(self, pytester: Pytester) -> None: class TestParameterizedSubRequest (line 4136) | class TestParameterizedSubRequest: method test_call_from_fixture (line 4137) | def test_call_from_fixture(self, pytester: Pytester) -> None: method test_call_from_test (line 4167) | def test_call_from_test(self, pytester: Pytester) -> None: method test_external_fixture (line 4193) | def test_external_fixture(self, pytester: Pytester) -> None: method test_non_relative_path (line 4224) | def test_non_relative_path(self, pytester: Pytester) -> None: function test_pytest_fixture_setup_and_post_finalizer_hook (line 4288) | def test_pytest_fixture_setup_and_post_finalizer_hook(pytester: Pytester... function test_fixture_post_finalizer_called_once (line 4331) | def test_fixture_post_finalizer_called_once(pytester: Pytester) -> None: function test_fixture_post_finalizer_hook_exception (line 4393) | def test_fixture_post_finalizer_hook_exception(pytester: Pytester) -> None: class TestScopeOrdering (line 4447) | class TestScopeOrdering: method test_func_closure_module_auto (line 4451) | def test_func_closure_module_auto( method test_func_closure_with_native_fixtures (line 4487) | def test_func_closure_with_native_fixtures( method test_func_closure_module (line 4544) | def test_func_closure_module(self, pytester: Pytester) -> None: method test_func_closure_scopes_reordered (line 4564) | def test_func_closure_scopes_reordered(self, pytester: Pytester) -> None: method test_func_closure_same_scope_closer_root_first (line 4598) | def test_func_closure_same_scope_closer_root_first( method test_func_closure_all_scopes_complex (line 4641) | def test_func_closure_all_scopes_complex(self, pytester: Pytester) -> ... method test_parametrized_package_scope_reordering (line 4686) | def test_parametrized_package_scope_reordering(self, pytester: Pyteste... method test_multiple_packages (line 4719) | def test_multiple_packages(self, pytester: Pytester) -> None: method test_class_fixture_self_instance (line 4793) | def test_class_fixture_self_instance(self, pytester: Pytester) -> None: function test_call_fixture_function_error (line 4826) | def test_call_fixture_function_error(): function test_fixture_double_decorator (line 4837) | def test_fixture_double_decorator(pytester: Pytester) -> None: function test_fixture_class (line 4858) | def test_fixture_class(pytester: Pytester) -> None: function test_fixture_param_shadowing (line 4873) | def test_fixture_param_shadowing(pytester: Pytester) -> None: function test_fixture_named_request (line 4916) | def test_fixture_named_request(pytester: Pytester) -> None: function test_indirect_fixture_does_not_break_scope (line 4927) | def test_indirect_fixture_does_not_break_scope(pytester: Pytester) -> None: function test_fixture_parametrization_nparray (line 4978) | def test_fixture_parametrization_nparray(pytester: Pytester) -> None: function test_fixture_arg_ordering (line 4998) | def test_fixture_arg_ordering(pytester: Pytester) -> None: function test_yield_fixture_with_no_value (line 5033) | def test_yield_fixture_with_no_value(pytester: Pytester) -> None: function test_deduplicate_names (line 5053) | def test_deduplicate_names() -> None: function test_staticmethod_classmethod_fixture_instance (line 5060) | def test_staticmethod_classmethod_fixture_instance(pytester: Pytester) -... function test_scoped_fixture_caching (line 5105) | def test_scoped_fixture_caching(pytester: Pytester) -> None: function test_scoped_fixture_caching_exception (line 5139) | def test_scoped_fixture_caching_exception(pytester: Pytester) -> None: function test_scoped_fixture_teardown_order (line 5179) | def test_scoped_fixture_teardown_order(pytester: Pytester) -> None: function test_subfixture_teardown_order (line 5234) | def test_subfixture_teardown_order(pytester: Pytester) -> None: function test_parametrized_fixture_scope_allowed (line 5286) | def test_parametrized_fixture_scope_allowed(pytester: Pytester) -> None: function test_collect_positional_only (line 5314) | def test_collect_positional_only(pytester: Pytester) -> None: function test_parametrization_dependency_pruning (line 5333) | def test_parametrization_dependency_pruning(pytester: Pytester) -> None: function test_fixture_closure_with_overrides (line 5369) | def test_fixture_closure_with_overrides(pytester: Pytester) -> None: function test_fixture_closure_with_overrides_and_intermediary (line 5408) | def test_fixture_closure_with_overrides_and_intermediary(pytester: Pytes... function test_fixture_closure_with_broken_override_chain (line 5454) | def test_fixture_closure_with_broken_override_chain(pytester: Pytester) ... function test_fixture_closure_handles_circular_dependencies (line 5497) | def test_fixture_closure_handles_circular_dependencies(pytester: Pyteste... function test_fixture_closure_handles_diamond_dependencies (line 5533) | def test_fixture_closure_handles_diamond_dependencies(pytester: Pytester... function test_fixture_closure_with_complex_override_and_shared_deps (line 5560) | def test_fixture_closure_with_complex_override_and_shared_deps( function test_fixture_closure_with_parametrize_ignore (line 5603) | def test_fixture_closure_with_parametrize_ignore(pytester: Pytester) -> ... function test_overridden_fixture_depends_on_parametrized (line 5629) | def test_overridden_fixture_depends_on_parametrized(pytester: Pytester) ... FILE: testing/python/integration.py function test_wrapped_getfslineno (line 11) | def test_wrapped_getfslineno() -> None: class TestMockDecoration (line 29) | class TestMockDecoration: method test_wrapped_getfuncargnames (line 30) | def test_wrapped_getfuncargnames(self) -> None: method test_getfuncargnames_patching (line 47) | def test_getfuncargnames_patching(self): method test_unittest_mock (line 63) | def test_unittest_mock(self, pytester: Pytester) -> None: method test_unittest_mock_and_fixture (line 78) | def test_unittest_mock_and_fixture(self, pytester: Pytester) -> None: method test_unittest_mock_and_pypi_mock (line 99) | def test_unittest_mock_and_pypi_mock(self, pytester: Pytester) -> None: method test_mock_sentinel_check_against_numpy_like (line 122) | def test_mock_sentinel_check_against_numpy_like(self, pytester: Pytest... method test_mock (line 150) | def test_mock(self, pytester: Pytester) -> None: method test_mock_sorting (line 183) | def test_mock_sorting(self, pytester: Pytester) -> None: method test_mock_double_patch_issue473 (line 207) | def test_mock_double_patch_issue473(self, pytester: Pytester) -> None: class TestReRunTests (line 226) | class TestReRunTests: method test_rerun (line 227) | def test_rerun(self, pytester: Pytester) -> None: function test_pytestconfig_is_session_scoped (line 266) | def test_pytestconfig_is_session_scoped() -> None: class TestNoselikeTestAttribute (line 274) | class TestNoselikeTestAttribute: method test_module_with_global_test (line 275) | def test_module_with_global_test(self, pytester: Pytester) -> None: method test_class_and_method (line 288) | def test_class_and_method(self, pytester: Pytester) -> None: method test_unittest_class (line 307) | def test_unittest_class(self, pytester: Pytester) -> None: method test_class_with_nasty_getattr (line 326) | def test_class_with_nasty_getattr(self, pytester: Pytester) -> None: class TestParameterize (line 358) | class TestParameterize: method test_idfn_marker (line 361) | def test_idfn_marker(self, pytester: Pytester) -> None: method test_idfn_fixture (line 382) | def test_idfn_fixture(self, pytester: Pytester) -> None: method test_param_rejects_usefixtures (line 410) | def test_param_rejects_usefixtures(self, pytester: Pytester) -> None: function test_function_instance (line 428) | def test_function_instance(pytester: Pytester) -> None: FILE: testing/python/metafunc.py class TestMetafunc (line 30) | class TestMetafunc: method Metafunc (line 31) | def Metafunc(self, func, config=None) -> python.Metafunc: method test_no_funcargs (line 61) | def test_no_funcargs(self) -> None: method test_function_basic (line 69) | def test_function_basic(self) -> None: method test_parametrize_single_arg_trailing_comma (line 79) | def test_parametrize_single_arg_trailing_comma(self) -> None: method test_parametrize_error (line 119) | def test_parametrize_error(self) -> None: method test_parametrize_error_iterator (line 138) | def test_parametrize_error_iterator(self) -> None: method test_parametrize_bad_scope (line 168) | def test_parametrize_bad_scope(self) -> None: method test_parametrize_request_name (line 179) | def test_parametrize_request_name(self, pytester: Pytester) -> None: method test_find_parametrized_scope (line 192) | def test_find_parametrized_scope(self) -> None: method test_parametrize_and_id (line 247) | def test_parametrize_and_id(self) -> None: method test_parametrize_and_id_unicode (line 258) | def test_parametrize_and_id_unicode(self) -> None: method test_parametrize_with_wrong_number_of_ids (line 269) | def test_parametrize_with_wrong_number_of_ids(self) -> None: method test_parametrize_ids_iterator_without_mark (line 283) | def test_parametrize_ids_iterator_without_mark(self) -> None: method test_parametrize_empty_list (line 301) | def test_parametrize_empty_list(self) -> None: method test_parametrize_with_userobjects (line 322) | def test_parametrize_with_userobjects(self) -> None: method test_idval_hypothesis (line 342) | def test_idval_hypothesis(self, value) -> None: method test_unicode_idval (line 347) | def test_unicode_idval(self) -> None: method test_unicode_idval_with_config (line 369) | def test_unicode_idval_with_config(self) -> None: method test_bytes_idval (line 398) | def test_bytes_idval(self) -> None: method test_class_or_function_idval (line 412) | def test_class_or_function_idval(self) -> None: method test_notset_idval (line 428) | def test_notset_idval(self) -> None: method test_idmaker_autoname (line 436) | def test_idmaker_autoname(self) -> None: method test_idmaker_with_bytes_regex (line 463) | def test_idmaker_with_bytes_regex(self) -> None: method test_idmaker_native_strings (line 469) | def test_idmaker_native_strings(self) -> None: method test_idmaker_non_printable_characters (line 508) | def test_idmaker_non_printable_characters(self) -> None: method test_idmaker_manual_ids_must_be_printable (line 526) | def test_idmaker_manual_ids_must_be_printable(self) -> None: method test_idmaker_enum (line 540) | def test_idmaker_enum(self) -> None: method test_idmaker_idfn (line 548) | def test_idmaker_idfn(self) -> None: method test_idmaker_idfn_unique_names (line 570) | def test_idmaker_idfn_unique_names(self) -> None: method test_idmaker_with_idfn_and_config (line 590) | def test_idmaker_with_idfn_and_config(self) -> None: method test_idmaker_with_ids_and_config (line 627) | def test_idmaker_with_ids_and_config(self) -> None: method test_idmaker_with_param_id_and_config (line 659) | def test_idmaker_with_param_id_and_config(self) -> None: method test_idmaker_duplicated_empty_str (line 689) | def test_idmaker_duplicated_empty_str(self) -> None: method test_parametrize_ids_exception (line 696) | def test_parametrize_ids_exception(self, pytester: Pytester) -> None: method test_parametrize_ids_returns_non_string (line 721) | def test_parametrize_ids_returns_non_string(self, pytester: Pytester) ... method test_idmaker_with_ids (line 749) | def test_idmaker_with_ids(self) -> None: method test_idmaker_with_paramset_id (line 760) | def test_idmaker_with_paramset_id(self) -> None: method test_idmaker_with_ids_unique_names (line 771) | def test_idmaker_with_ids_unique_names(self) -> None: method test_parametrize_indirect (line 782) | def test_parametrize_indirect(self) -> None: method test_parametrize_indirect_list (line 795) | def test_parametrize_indirect_list(self) -> None: method test_parametrize_indirect_list_all (line 808) | def test_parametrize_indirect_list_all(self) -> None: method test_parametrize_indirect_list_empty (line 819) | def test_parametrize_indirect_list_empty(self) -> None: method test_parametrize_indirect_wrong_type (line 830) | def test_parametrize_indirect_wrong_type(self) -> None: method test_parametrize_indirect_list_functional (line 841) | def test_parametrize_indirect_list_functional(self, pytester: Pytester... method test_parametrize_indirect_list_error (line 869) | def test_parametrize_indirect_list_error(self) -> None: method test_parametrize_uses_no_fixture_error_indirect_false (line 879) | def test_parametrize_uses_no_fixture_error_indirect_false( method test_parametrize_uses_no_fixture_error_indirect_true (line 901) | def test_parametrize_uses_no_fixture_error_indirect_true( method test_parametrize_indirect_uses_no_fixture_error_indirect_string (line 923) | def test_parametrize_indirect_uses_no_fixture_error_indirect_string( method test_parametrize_indirect_uses_no_fixture_error_indirect_list (line 942) | def test_parametrize_indirect_uses_no_fixture_error_indirect_list( method test_parametrize_argument_not_in_indirect_list (line 961) | def test_parametrize_argument_not_in_indirect_list( method test_parametrize_gives_indicative_error_on_function_with_default_argument (line 980) | def test_parametrize_gives_indicative_error_on_function_with_default_a... method test_parametrize_functional (line 997) | def test_parametrize_functional(self, pytester: Pytester) -> None: method test_parametrize_onearg (line 1018) | def test_parametrize_onearg(self) -> None: method test_parametrize_onearg_indirect (line 1027) | def test_parametrize_onearg_indirect(self) -> None: method test_parametrize_twoargs (line 1035) | def test_parametrize_twoargs(self) -> None: method test_high_scoped_parametrize_reordering (line 1044) | def test_high_scoped_parametrize_reordering(self, pytester: Pytester) ... method test_parametrize_multiple_times (line 1078) | def test_parametrize_multiple_times(self, pytester: Pytester) -> None: method test_parametrize_CSV (line 1095) | def test_parametrize_CSV(self, pytester: Pytester) -> None: method test_parametrize_class_scenarios (line 1107) | def test_parametrize_class_scenarios(self, pytester: Pytester) -> None: method test_parametrize_iterator_deprecation (line 1149) | def test_parametrize_iterator_deprecation(self) -> None: class TestMetafuncFunctional (line 1168) | class TestMetafuncFunctional: method test_attributes (line 1169) | def test_attributes(self, pytester: Pytester) -> None: method test_two_functions (line 1199) | def test_two_functions(self, pytester: Pytester) -> None: method test_noself_in_method (line 1223) | def test_noself_in_method(self, pytester: Pytester) -> None: method test_generate_tests_in_class (line 1237) | def test_generate_tests_in_class(self, pytester: Pytester) -> None: method test_two_functions_not_same_instance (line 1251) | def test_two_functions_not_same_instance(self, pytester: Pytester) -> ... method test_issue28_setup_method_in_generate_tests (line 1268) | def test_issue28_setup_method_in_generate_tests(self, pytester: Pytest... method test_parametrize_functional2 (line 1284) | def test_parametrize_functional2(self, pytester: Pytester) -> None: method test_parametrize_single_arg_trailing_comma_functional (line 1299) | def test_parametrize_single_arg_trailing_comma_functional( method test_parametrize_and_inner_getfixturevalue (line 1334) | def test_parametrize_and_inner_getfixturevalue(self, pytester: Pyteste... method test_parametrize_on_setup_arg (line 1358) | def test_parametrize_on_setup_arg(self, pytester: Pytester) -> None: method test_parametrize_with_ids (line 1381) | def test_parametrize_with_ids(self, pytester: Pytester) -> None: method test_parametrize_without_ids (line 1405) | def test_parametrize_without_ids(self, pytester: Pytester) -> None: method test_parametrize_with_None_in_ids (line 1425) | def test_parametrize_with_None_in_ids(self, pytester: Pytester) -> None: method test_fixture_parametrized_empty_ids (line 1447) | def test_fixture_parametrized_empty_ids(self, pytester: Pytester) -> N... method test_parametrized_empty_ids (line 1464) | def test_parametrized_empty_ids(self, pytester: Pytester) -> None: method test_parametrized_ids_invalid_type (line 1478) | def test_parametrized_ids_invalid_type(self, pytester: Pytester) -> None: method test_parametrize_with_identical_ids_get_unique_names (line 1498) | def test_parametrize_with_identical_ids_get_unique_names( method test_parametrize_scope_overrides (line 1519) | def test_parametrize_scope_overrides( method test_parametrize_issue323 (line 1545) | def test_parametrize_issue323(self, pytester: Pytester) -> None: method test_usefixtures_seen_in_generate_tests (line 1563) | def test_usefixtures_seen_in_generate_tests(self, pytester: Pytester) ... method test_generate_tests_only_done_in_subdir (line 1579) | def test_generate_tests_only_done_in_subdir(self, pytester: Pytester) ... method test_generate_same_function_names_issue403 (line 1609) | def test_generate_same_function_names_issue403(self, pytester: Pyteste... method test_parametrize_misspelling (line 1627) | def test_parametrize_misspelling(self, pytester: Pytester) -> None: method test_parametrize_missing_scope_doesnt_crash (line 1654) | def test_parametrize_missing_scope_doesnt_crash( method test_parametrize_module_level_test_with_class_scope (line 1670) | def test_parametrize_module_level_test_with_class_scope( method test_reordering_with_scopeless_and_just_indirect_parametrization (line 1702) | def test_reordering_with_scopeless_and_just_indirect_parametrization( method test_parametrize_generator_multiple_runs (line 1762) | def test_parametrize_generator_multiple_runs(self, pytester: Pytester)... method test_parametrize_iterator_class_multiple_tests (line 1791) | def test_parametrize_iterator_class_multiple_tests( class TestMetafuncFunctionalAuto (line 1822) | class TestMetafuncFunctionalAuto: method test_parametrize_auto_scope (line 1826) | def test_parametrize_auto_scope(self, pytester: Pytester) -> None: method test_parametrize_auto_scope_indirect (line 1848) | def test_parametrize_auto_scope_indirect(self, pytester: Pytester) -> ... method test_parametrize_auto_scope_override_fixture (line 1871) | def test_parametrize_auto_scope_override_fixture(self, pytester: Pytes... method test_parametrize_all_indirects (line 1888) | def test_parametrize_all_indirects(self, pytester: Pytester) -> None: method test_parametrize_some_arguments_auto_scope (line 1915) | def test_parametrize_some_arguments_auto_scope( method test_parametrize_issue634 (line 1950) | def test_parametrize_issue634(self, pytester: Pytester) -> None: class TestMarkersWithParametrization (line 1985) | class TestMarkersWithParametrization: method test_simple_mark (line 1988) | def test_simple_mark(self, pytester: Pytester) -> None: method test_select_based_on_mark (line 2009) | def test_select_based_on_mark(self, pytester: Pytester) -> None: method test_simple_xfail (line 2028) | def test_simple_xfail(self, pytester: Pytester) -> None: method test_simple_xfail_single_argname (line 2045) | def test_simple_xfail_single_argname(self, pytester: Pytester) -> None: method test_xfail_with_arg (line 2061) | def test_xfail_with_arg(self, pytester: Pytester) -> None: method test_xfail_with_kwarg (line 2077) | def test_xfail_with_kwarg(self, pytester: Pytester) -> None: method test_xfail_with_arg_and_kwarg (line 2093) | def test_xfail_with_arg_and_kwarg(self, pytester: Pytester) -> None: method test_xfail_passing_is_xpass (line 2110) | def test_xfail_passing_is_xpass(self, pytester: Pytester, strict: bool... method test_parametrize_called_in_generate_tests (line 2129) | def test_parametrize_called_in_generate_tests(self, pytester: Pytester... method test_parametrize_ID_generation_string_int_works (line 2152) | def test_parametrize_ID_generation_string_int_works( method test_parametrize_marked_value (line 2173) | def test_parametrize_marked_value(self, pytester: Pytester, strict: bo... method test_pytest_make_parametrize_id (line 2195) | def test_pytest_make_parametrize_id(self, pytester: Pytester) -> None: method test_pytest_make_parametrize_id_with_argname (line 2214) | def test_pytest_make_parametrize_id_with_argname(self, pytester: Pytes... method test_parametrize_positional_args (line 2239) | def test_parametrize_positional_args(self, pytester: Pytester) -> None: method test_parametrize_iterator (line 2252) | def test_parametrize_iterator(self, pytester: Pytester) -> None: class TestHiddenParam (line 2289) | class TestHiddenParam: method test_parametrize_ids (line 2292) | def test_parametrize_ids(self, pytester: Pytester) -> None: method test_param_id (line 2317) | def test_param_id(self, pytester: Pytester) -> None: method test_multiple_hidden_param_is_forbidden (line 2341) | def test_multiple_hidden_param_is_forbidden(self, pytester: Pytester) ... method test_multiple_hidden_param_is_forbidden_idmaker (line 2372) | def test_multiple_hidden_param_is_forbidden_idmaker(self) -> None: method test_idmaker_error_without_nodeid (line 2385) | def test_idmaker_error_without_nodeid(self) -> None: method test_multiple_parametrize (line 2390) | def test_multiple_parametrize(self, pytester: Pytester) -> None: FILE: testing/python/raises.py function wrap_escape (line 14) | def wrap_escape(s: str) -> str: class TestRaises (line 18) | class TestRaises: method test_check_callable (line 19) | def test_check_callable(self) -> None: method test_raises (line 23) | def test_raises(self): method test_raises_function (line 27) | def test_raises_function(self): method test_raises_does_not_allow_none (line 31) | def test_raises_does_not_allow_none(self): method test_raises_false_and_arg (line 42) | def test_raises_false_and_arg(self): method test_raises_does_not_allow_empty_tuple (line 53) | def test_raises_does_not_allow_empty_tuple(self): method test_raises_callable_no_exception (line 60) | def test_raises_callable_no_exception(self) -> None: method test_raises_falsey_type_error (line 70) | def test_raises_falsey_type_error(self) -> None: method test_raises_repr_inflight (line 75) | def test_raises_repr_inflight(self): method test_raises_as_contextmanager (line 92) | def test_raises_as_contextmanager(self, pytester: Pytester) -> None: method test_does_not_raise (line 120) | def test_does_not_raise(self, pytester: Pytester) -> None: method test_does_not_raise_does_raise (line 141) | def test_does_not_raise_does_raise(self, pytester: Pytester) -> None: method test_raises_with_invalid_regex (line 160) | def test_raises_with_invalid_regex(self, pytester: Pytester) -> None: method test_noclass (line 180) | def test_noclass(self) -> None: method test_invalid_arguments_to_raises (line 184) | def test_invalid_arguments_to_raises(self) -> None: method test_tuple (line 189) | def test_tuple(self): method test_no_raise_message (line 193) | def test_no_raise_message(self) -> None: method test_raises_cyclic_reference (line 212) | def test_raises_cyclic_reference(self, method): method test_raises_match (line 244) | def test_raises_match(self) -> None: method test_match_failure_string_quoting (line 287) | def test_match_failure_string_quoting(self): method test_match_failure_exact_string_message (line 297) | def test_match_failure_exact_string_message(self): method test_raises_match_wrong_type (line 310) | def test_raises_match_wrong_type(self): method test_raises_exception_looks_iterable (line 323) | def test_raises_exception_looks_iterable(self): method test_raises_with_raising_dunder_class (line 340) | def test_raises_with_raising_dunder_class(self) -> None: method test_raises_context_manager_with_kwargs (line 354) | def test_raises_context_manager_with_kwargs(self): method test_expected_exception_is_not_a_baseexception (line 367) | def test_expected_exception_is_not_a_baseexception(self) -> None: method test_issue_11872 (line 394) | def test_issue_11872(self) -> None: method test_raises_match_compiled_regex (line 411) | def test_raises_match_compiled_regex(self) -> None: method test_pipe_is_treated_as_regex_metacharacter (line 434) | def test_pipe_is_treated_as_regex_metacharacter(self) -> None: FILE: testing/python/raises_group.py function wrap_escape (line 24) | def wrap_escape(s: str) -> str: function fails_raises_group (line 28) | def fails_raises_group(msg: str, add_prefix: bool = True) -> RaisesExc[F... function test_raises_group (line 36) | def test_raises_group() -> None: function test_incorrect_number_exceptions (line 90) | def test_incorrect_number_exceptions() -> None: function test_flatten_subgroups (line 152) | def test_flatten_subgroups() -> None: function test_catch_unwrapped_exceptions (line 279) | def test_catch_unwrapped_exceptions() -> None: function test_match (line 359) | def test_match() -> None: function test_check (line 408) | def test_check() -> None: function test_unwrapped_match_check (line 439) | def test_unwrapped_match_check() -> None: function test_matches (line 470) | def test_matches() -> None: function test_message (line 481) | def test_message() -> None: function test_assert_message (line 553) | def test_assert_message() -> None: function test_message_indent (line 676) | def test_message_indent() -> None: function test_suggestion_on_nested_and_brief_error (line 744) | def test_suggestion_on_nested_and_brief_error() -> None: function test_assert_message_nested (line 811) | def test_assert_message_nested() -> None: function test_check_no_patched_repr (line 906) | def test_check_no_patched_repr() -> None: # pragma: no cover function test_misordering_example (line 931) | def test_misordering_example() -> None: function test_brief_error_on_one_fail (line 966) | def test_brief_error_on_one_fail() -> None: function test_identity_oopsies (line 1011) | def test_identity_oopsies() -> None: function test_raisesexc (line 1072) | def test_raisesexc() -> None: function test_raisesexc_match (line 1128) | def test_raisesexc_match() -> None: function test_RaisesExc_check (line 1166) | def test_RaisesExc_check() -> None: function test_raisesexc_tostring (line 1200) | def test_raisesexc_tostring() -> None: function test_raisesgroup_tostring (line 1213) | def test_raisesgroup_tostring() -> None: function test_assert_matches (line 1230) | def test_assert_matches() -> None: function test_xfail_raisesgroup (line 1258) | def test_xfail_raisesgroup(pytester: Pytester) -> None: function test_xfail_RaisesExc (line 1274) | def test_xfail_RaisesExc(pytester: Pytester) -> None: function test_parametrizing_conditional_raisesgroup (line 1294) | def test_parametrizing_conditional_raisesgroup( function test_annotated_group (line 1303) | def test_annotated_group() -> None: function test_tuples (line 1338) | def test_tuples() -> None: FILE: testing/python/show_fixtures_per_test.py function test_no_items_should_not_show_output (line 6) | def test_no_items_should_not_show_output(pytester: Pytester) -> None: function test_fixtures_in_module (line 12) | def test_fixtures_in_module(pytester: Pytester) -> None: function test_fixtures_in_conftest (line 41) | def test_fixtures_in_conftest(pytester: Pytester) -> None: function test_should_show_fixtures_used_by_test (line 87) | def test_should_show_fixtures_used_by_test(pytester: Pytester) -> None: function test_verbose_include_private_fixtures_and_loc (line 124) | def test_verbose_include_private_fixtures_and_loc(pytester: Pytester) ->... function test_doctest_items (line 163) | def test_doctest_items(pytester: Pytester) -> None: function test_multiline_docstring_in_module (line 187) | def test_multiline_docstring_in_module(pytester: Pytester) -> None: function test_verbose_include_multiline_docstring (line 221) | def test_verbose_include_multiline_docstring(pytester: Pytester) -> None: FILE: testing/test_argcomplete.py function equal_with_bash (line 15) | def equal_with_bash(prefix, ffc, fc, out=None): function _wrapcall (line 32) | def _wrapcall(*args, **kargs): class FilesCompleter (line 39) | class FilesCompleter: method __init__ (line 42) | def __init__(self, allowednames=(), directories=True): method __call__ (line 50) | def __call__(self, prefix, **kwargs): class TestArgComplete (line 72) | class TestArgComplete: method test_compare_with_compgen (line 74) | def test_compare_with_compgen( method test_remove_dir_prefix (line 92) | def test_remove_dir_prefix(self): FILE: testing/test_assertion.py function mock_config (line 22) | def mock_config(verbose: int = 0, assertion_override: int | None = None): class TestMockConfig (line 44) | class TestMockConfig: method test_verbose_exposes_value (line 48) | def test_verbose_exposes_value(self): method test_get_assertion_override_not_set_verbose_value (line 53) | def test_get_assertion_override_not_set_verbose_value(self): method test_get_assertion_override_set_custom_value (line 61) | def test_get_assertion_override_set_custom_value(self): method test_get_unsupported_type_error (line 72) | def test_get_unsupported_type_error(self): class TestImportHookInstallation (line 79) | class TestImportHookInstallation: method test_conftest_assertion_rewrite (line 82) | def test_conftest_assertion_rewrite( method test_rewrite_assertions_pytester_plugin (line 113) | def test_rewrite_assertions_pytester_plugin(self, pytester: Pytester) ... method test_pytest_plugins_rewrite (line 147) | def test_pytest_plugins_rewrite(self, pytester: Pytester, mode) -> None: method test_pytest_plugins_rewrite_module_names (line 176) | def test_pytest_plugins_rewrite_module_names( method test_pytest_plugins_rewrite_module_names_correctly (line 200) | def test_pytest_plugins_rewrite_module_names_correctly( method test_installed_plugin_rewrite (line 223) | def test_installed_plugin_rewrite( method test_rewrite_ast (line 328) | def test_rewrite_ast(self, pytester: Pytester) -> None: method test_register_assert_rewrite_checks_types (line 373) | def test_register_assert_rewrite_checks_types(self) -> None: class TestBinReprIntegration (line 381) | class TestBinReprIntegration: method test_pytest_assertrepr_compare_called (line 382) | def test_pytest_assertrepr_compare_called(self, pytester: Pytester) ->... function callop (line 407) | def callop(op: str, left: Any, right: Any, verbose: int = 0) -> list[str... function callequal (line 412) | def callequal(left: Any, right: Any, verbose: int = 0) -> list[str] | None: class TestAssert_reprcompare (line 416) | class TestAssert_reprcompare: method test_different_types (line 417) | def test_different_types(self) -> None: method test_summary (line 420) | def test_summary(self) -> None: method test_text_diff (line 426) | def test_text_diff(self) -> None: method test_text_skipping (line 434) | def test_text_skipping(self) -> None: method test_text_skipping_verbose (line 441) | def test_text_skipping_verbose(self) -> None: method test_multiline_text_diff (line 447) | def test_multiline_text_diff(self) -> None: method test_bytes_diff_normal (line 455) | def test_bytes_diff_normal(self) -> None: method test_bytes_diff_verbose (line 466) | def test_bytes_diff_verbose(self) -> None: method test_list (line 479) | def test_list(self) -> None: method test_iterable_full_diff (line 533) | def test_iterable_full_diff(self, left, right, expected) -> None: method test_iterable_quiet (line 546) | def test_iterable_quiet(self) -> None: method test_iterable_full_diff_ci (line 555) | def test_iterable_full_diff_ci( method test_list_different_lengths (line 579) | def test_list_different_lengths(self) -> None: method test_list_wrap_for_multiple_lines (line 587) | def test_list_wrap_for_multiple_lines(self) -> None: method test_list_wrap_for_width_rewrap_same_length (line 621) | def test_list_wrap_for_width_rewrap_same_length(self) -> None: method test_list_dont_wrap_strings (line 642) | def test_list_dont_wrap_strings(self) -> None: method test_dict_wrap (line 667) | def test_dict_wrap(self) -> None: method test_dict (line 716) | def test_dict(self) -> None: method test_dict_omitting (line 721) | def test_dict_omitting(self) -> None: method test_dict_omitting_with_verbosity_1 (line 729) | def test_dict_omitting_with_verbosity_1(self) -> None: method test_dict_omitting_with_verbosity_2 (line 739) | def test_dict_omitting_with_verbosity_2(self) -> None: method test_dict_different_items (line 746) | def test_dict_different_items(self) -> None: method test_sequence_different_items (line 784) | def test_sequence_different_items(self) -> None: method test_set (line 838) | def test_set(self) -> None: method test_frozenzet (line 843) | def test_frozenzet(self) -> None: method test_Sequence (line 848) | def test_Sequence(self) -> None: method test_list_tuples (line 873) | def test_list_tuples(self) -> None: method test_list_bad_repr (line 881) | def test_list_bad_repr(self) -> None: method test_one_repr_empty (line 899) | def test_one_repr_empty(self) -> None: method test_repr_no_exc (line 909) | def test_repr_no_exc(self) -> None: method test_unicode (line 914) | def test_unicode(self) -> None: method test_nonascii_text (line 922) | def test_nonascii_text(self) -> None: method test_format_nonascii_explanation (line 935) | def test_format_nonascii_explanation(self) -> None: method test_mojibake (line 938) | def test_mojibake(self) -> None: method test_nfc_nfd_same_string (line 949) | def test_nfc_nfd_same_string(self) -> None: class TestAssert_reprcompare_dataclass (line 970) | class TestAssert_reprcompare_dataclass: method test_dataclasses (line 971) | def test_dataclasses(self, pytester: Pytester) -> None: method test_recursive_dataclasses (line 989) | def test_recursive_dataclasses(self, pytester: Pytester) -> None: method test_recursive_dataclasses_verbose (line 1007) | def test_recursive_dataclasses_verbose(self, pytester: Pytester) -> None: method test_dataclasses_verbose (line 1037) | def test_dataclasses_verbose(self, pytester: Pytester) -> None: method test_dataclasses_with_attribute_comparison_off (line 1050) | def test_dataclasses_with_attribute_comparison_off( method test_comparing_two_different_data_classes (line 1059) | def test_comparing_two_different_data_classes(self, pytester: Pytester... method test_data_classes_with_custom_eq (line 1066) | def test_data_classes_with_custom_eq(self, pytester: Pytester) -> None: method test_data_classes_with_initvar (line 1075) | def test_data_classes_with_initvar(self, pytester: Pytester) -> None: class TestAssert_reprcompare_attrsclass (line 1083) | class TestAssert_reprcompare_attrsclass: method test_attrs (line 1084) | def test_attrs(self) -> None: method test_attrs_recursive (line 1100) | def test_attrs_recursive(self) -> None: method test_attrs_recursive_verbose (line 1121) | def test_attrs_recursive_verbose(self) -> None: method test_attrs_verbose (line 1140) | def test_attrs_verbose(self) -> None: method test_attrs_with_attribute_comparison_off (line 1155) | def test_attrs_with_attribute_comparison_off(self) -> None: method test_comparing_two_different_attrs_classes (line 1172) | def test_comparing_two_different_attrs_classes(self) -> None: method test_attrs_with_auto_detect_and_custom_eq (line 1189) | def test_attrs_with_auto_detect_and_custom_eq(self) -> None: method test_attrs_with_custom_eq (line 1205) | def test_attrs_with_custom_eq(self) -> None: class TestAssert_reprcompare_namedtuple (line 1220) | class TestAssert_reprcompare_namedtuple: method test_namedtuple (line 1221) | def test_namedtuple(self) -> None: method test_comparing_two_different_namedtuple (line 1244) | def test_comparing_two_different_namedtuple(self) -> None: class TestFormatExplanation (line 1266) | class TestFormatExplanation: method test_special_chars_full (line 1267) | def test_special_chars_full(self, pytester: Pytester) -> None: method test_fmt_simple (line 1279) | def test_fmt_simple(self) -> None: method test_fmt_where (line 1283) | def test_fmt_where(self) -> None: method test_fmt_and (line 1288) | def test_fmt_and(self) -> None: method test_fmt_where_nested (line 1293) | def test_fmt_where_nested(self) -> None: method test_fmt_newline (line 1298) | def test_fmt_newline(self) -> None: method test_fmt_newline_escaped (line 1303) | def test_fmt_newline_escaped(self) -> None: method test_fmt_newline_before_where (line 1308) | def test_fmt_newline_before_where(self) -> None: method test_fmt_multi_newline_before_where (line 1329) | def test_fmt_multi_newline_before_where(self) -> None: class TestTruncateExplanation (line 1353) | class TestTruncateExplanation: method test_doesnt_truncate_when_input_is_empty_list (line 1358) | def test_doesnt_truncate_when_input_is_empty_list(self) -> None: method test_doesnt_truncate_at_when_input_is_5_lines_and_LT_max_chars (line 1363) | def test_doesnt_truncate_at_when_input_is_5_lines_and_LT_max_chars(sel... method test_truncates_at_8_lines_when_given_list_of_empty_strings (line 1368) | def test_truncates_at_8_lines_when_given_list_of_empty_strings(self) -... method test_truncates_at_8_lines_when_first_8_lines_are_LT_max_chars (line 1379) | def test_truncates_at_8_lines_when_first_8_lines_are_LT_max_chars(self... method test_truncates_at_8_lines_when_there_is_one_line_to_remove (line 1390) | def test_truncates_at_8_lines_when_there_is_one_line_to_remove(self) -... method test_truncates_full_line_because_of_max_chars (line 1397) | def test_truncates_full_line_because_of_max_chars(self) -> None: method test_truncates_edgecase_when_truncation_message_makes_the_result_longer_for_chars (line 1408) | def test_truncates_edgecase_when_truncation_message_makes_the_result_l... method test_truncates_edgecase_when_truncation_message_makes_the_result_longer_for_lines (line 1416) | def test_truncates_edgecase_when_truncation_message_makes_the_result_l... method test_truncates_at_8_lines_when_first_8_lines_are_EQ_max_chars (line 1424) | def test_truncates_at_8_lines_when_first_8_lines_are_EQ_max_chars(self... method test_truncates_at_4_lines_when_first_4_lines_are_GT_max_chars (line 1434) | def test_truncates_at_4_lines_when_first_4_lines_are_GT_max_chars(self... method test_truncates_at_1_line_when_first_line_is_GT_max_chars (line 1444) | def test_truncates_at_1_line_when_first_line_is_GT_max_chars(self) -> ... method test_full_output_truncated (line 1454) | def test_full_output_truncated(self, monkeypatch, pytester: Pytester) ... method test_truncation_with_ini (line 1513) | def test_truncation_with_ini( function test_python25_compile_issue257 (line 1560) | def test_python25_compile_issue257(pytester: Pytester) -> None: function test_rewritten (line 1578) | def test_rewritten(pytester: Pytester) -> None: function test_reprcompare_notin (line 1588) | def test_reprcompare_notin() -> None: function test_reprcompare_whitespaces (line 1598) | def test_reprcompare_whitespaces() -> None: class TestSetAssertions (line 1609) | class TestSetAssertions: method test_set_extra_item (line 1611) | def test_set_extra_item(self, op, pytester: Pytester) -> None: method test_set_proper_superset_equal (line 1644) | def test_set_proper_superset_equal(self, pytester: Pytester, op) -> None: method test_pytest_assertrepr_compare_integration (line 1663) | def test_pytest_assertrepr_compare_integration(self, pytester: Pyteste... function test_assertrepr_loaded_per_dir (line 1685) | def test_assertrepr_loaded_per_dir(pytester: Pytester) -> None: function test_assertion_options (line 1711) | def test_assertion_options(pytester: Pytester) -> None: function test_triple_quoted_string_issue113 (line 1725) | def test_triple_quoted_string_issue113(pytester: Pytester) -> None: function test_traceback_failure (line 1737) | def test_traceback_failure(pytester: Pytester) -> None: function test_exception_handling_no_traceback (line 1792) | def test_exception_handling_no_traceback(pytester: Pytester) -> None: function test_warn_missing (line 1849) | def test_warn_missing(pytester: Pytester, cmdline_args, warning_output) ... function test_recursion_source_decode (line 1856) | def test_recursion_source_decode(pytester: Pytester) -> None: function test_AssertionError_message (line 1877) | def test_AssertionError_message(pytester: Pytester) -> None: function test_diff_newline_at_end (line 1895) | def test_diff_newline_at_end(pytester: Pytester) -> None: function test_assert_tuple_warning (line 1915) | def test_assert_tuple_warning(pytester: Pytester) -> None: function test_assert_indirect_tuple_no_warning (line 1937) | def test_assert_indirect_tuple_no_warning(pytester: Pytester) -> None: function test_assert_with_unicode (line 1950) | def test_assert_with_unicode(pytester: Pytester) -> None: function test_raise_unprintable_assertion_error (line 1961) | def test_raise_unprintable_assertion_error(pytester: Pytester) -> None: function test_raise_assertion_error_raising_repr (line 1974) | def test_raise_assertion_error_raising_repr(pytester: Pytester) -> None: function test_issue_1944 (line 1988) | def test_issue_1944(pytester: Pytester) -> None: function test_exit_from_assertrepr_compare (line 2005) | def test_exit_from_assertrepr_compare(monkeypatch) -> None: function test_assertion_location_with_coverage (line 2015) | def test_assertion_location_with_coverage(pytester: Pytester) -> None: function test_reprcompare_verbose_long (line 2035) | def test_reprcompare_verbose_long() -> None: function test_comparisons_handle_colors (line 2096) | def test_comparisons_handle_colors( function test_fine_grained_assertion_verbosity (line 2112) | def test_fine_grained_assertion_verbosity(pytester: Pytester): function test_full_output_vvv (line 2181) | def test_full_output_vvv(pytester: Pytester) -> None: function test_dict_extra_items_preserve_insertion_order (line 2214) | def test_dict_extra_items_preserve_insertion_order(pytester: Pytester) -... FILE: testing/test_assertrewrite.py function rewrite (line 43) | def rewrite(src: str) -> ast.Module: function getmsg (line 49) | def getmsg( class TestAssertionRewrite (line 76) | class TestAssertionRewrite: method test_place_initial_imports (line 77) | def test_place_initial_imports(self) -> None: method test_location_is_set (line 119) | def test_location_is_set(self) -> None: method test_positions_are_preserved (line 142) | def test_positions_are_preserved(self) -> None: method test_dont_rewrite (line 342) | def test_dont_rewrite(self) -> None: method test_dont_rewrite_plugin (line 349) | def test_dont_rewrite_plugin(self, pytester: Pytester) -> None: method test_rewrites_plugin_as_a_package (line 359) | def test_rewrites_plugin_as_a_package(self, pytester: Pytester) -> None: method test_honors_pep_235 (line 375) | def test_honors_pep_235(self, pytester: Pytester, monkeypatch) -> None: method test_name (line 394) | def test_name(self, request) -> None: method test_assertrepr_compare_same_width (line 428) | def test_assertrepr_compare_same_width(self, request) -> None: method test_dont_rewrite_if_hasattr_fails (line 448) | def test_dont_rewrite_if_hasattr_fails(self, request) -> None: method test_assert_already_has_message (line 474) | def test_assert_already_has_message(self) -> None: method test_assertion_message (line 480) | def test_assertion_message(self, pytester: Pytester) -> None: method test_assertion_message_multiline (line 493) | def test_assertion_message_multiline(self, pytester: Pytester) -> None: method test_assertion_message_tuple (line 506) | def test_assertion_message_tuple(self, pytester: Pytester) -> None: method test_assertion_message_expr (line 517) | def test_assertion_message_expr(self, pytester: Pytester) -> None: method test_assertion_message_escape (line 528) | def test_assertion_message_escape(self, pytester: Pytester) -> None: method test_assertion_messages_bytes (line 541) | def test_assertion_messages_bytes(self, pytester: Pytester) -> None: method test_assertion_message_verbosity (line 547) | def test_assertion_message_verbosity(self, pytester: Pytester) -> None: method test_boolop (line 575) | def test_boolop(self) -> None: method test_short_circuit_evaluation (line 654) | def test_short_circuit_evaluation(self) -> None: method test_unary_op (line 666) | def test_unary_op(self) -> None: method test_binary_op (line 691) | def test_binary_op(self) -> None: method test_boolop_percent (line 704) | def test_boolop_percent(self) -> None: method test_at_operator_issue1290 (line 715) | def test_at_operator_issue1290(self, pytester: Pytester) -> None: method test_starred_with_side_effect (line 729) | def test_starred_with_side_effect(self, pytester: Pytester) -> None: method test_call (line 741) | def test_call(self) -> None: method test_attribute (line 812) | def test_attribute(self) -> None: method test_comparisons (line 837) | def test_comparisons(self) -> None: method test_len (line 869) | def test_len(self, request) -> None: method test_custom_reprcompare (line 877) | def test_custom_reprcompare(self, monkeypatch) -> None: method test_assert_raising__bool__in_comparison (line 898) | def test_assert_raising__bool__in_comparison(self) -> None: method test_assert_handling_raise_in__iter__ (line 919) | def test_assert_handling_raise_in__iter__(self, pytester: Pytester) ->... method test_formatchar (line 938) | def test_formatchar(self) -> None: method test_custom_repr (line 946) | def test_custom_repr(self, request) -> None: method test_custom_repr_non_ascii (line 962) | def test_custom_repr_non_ascii(self) -> None: method test_assert_fixture (line 978) | def test_assert_fixture(self, pytester: Pytester) -> None: class TestRewriteOnImport (line 996) | class TestRewriteOnImport: method test_pycache_is_a_file (line 997) | def test_pycache_is_a_file(self, pytester: Pytester) -> None: method test_pycache_is_readonly (line 1006) | def test_pycache_is_readonly(self, pytester: Pytester) -> None: method test_zipfile (line 1020) | def test_zipfile(self, pytester: Pytester) -> None: method test_load_resource_via_files_with_rewrite (line 1038) | def test_load_resource_via_files_with_rewrite(self, pytester: Pytester... method test_readonly (line 1063) | def test_readonly(self, pytester: Pytester) -> None: method test_dont_write_bytecode (line 1078) | def test_dont_write_bytecode(self, pytester: Pytester, monkeypatch) ->... method test_orphaned_pyc_file (line 1092) | def test_orphaned_pyc_file(self, pytester: Pytester, monkeypatch) -> N... method test_cached_pyc_includes_pytest_version (line 1121) | def test_cached_pyc_includes_pytest_version( method test_pyc_vs_pyo (line 1141) | def test_pyc_vs_pyo( method test_package (line 1167) | def test_package(self, pytester: Pytester) -> None: method test_translate_newlines (line 1179) | def test_translate_newlines(self, pytester: Pytester) -> None: method test_package_without__init__py (line 1185) | def test_package_without__init__py(self, pytester: Pytester) -> None: method test_rewrite_warning (line 1191) | def test_rewrite_warning(self, pytester: Pytester) -> None: method test_rewrite_warning_ignore (line 1202) | def test_rewrite_warning_ignore(self, pytester: Pytester) -> None: method test_rewrite_module_imported_from_conftest (line 1218) | def test_rewrite_module_imported_from_conftest(self, pytester: Pyteste... method test_remember_rewritten_modules (line 1232) | def test_remember_rewritten_modules( method test_rewrite_warning_using_pytest_plugins (line 1252) | def test_rewrite_warning_using_pytest_plugins(self, pytester: Pytester... method test_rewrite_warning_using_pytest_plugins_env_var (line 1267) | def test_rewrite_warning_using_pytest_plugins_env_var( class TestAssertionRewriteHookDetails (line 1288) | class TestAssertionRewriteHookDetails: method test_sys_meta_path_munged (line 1289) | def test_sys_meta_path_munged(self, pytester: Pytester) -> None: method test_write_pyc (line 1297) | def test_write_pyc(self, pytester: Pytester, tmp_path) -> None: method test_resources_provider_for_loader (line 1312) | def test_resources_provider_for_loader(self, pytester: Pytester) -> None: method test_read_pyc (line 1342) | def test_read_pyc(self, tmp_path: Path) -> None: method test_read_pyc_success (line 1365) | def test_read_pyc_success(self, tmp_path: Path, pytester: Pytester) ->... method test_read_pyc_more_invalid (line 1387) | def test_read_pyc_more_invalid(self, tmp_path: Path) -> None: method test_reload_is_same_and_reloads (line 1432) | def test_reload_is_same_and_reloads(self, pytester: Pytester) -> None: method test_get_data_support (line 1464) | def test_get_data_support(self, pytester: Pytester) -> None: function test_issue731 (line 1484) | def test_issue731(pytester: Pytester) -> None: class TestIssue925 (line 1503) | class TestIssue925: method test_simple_case (line 1504) | def test_simple_case(self, pytester: Pytester) -> None: method test_long_case (line 1514) | def test_long_case(self, pytester: Pytester) -> None: method test_many_brackets (line 1524) | def test_many_brackets(self, pytester: Pytester) -> None: class TestIssue2121 (line 1535) | class TestIssue2121: method test_rewrite_python_files_contain_subdirs (line 1536) | def test_rewrite_python_files_contain_subdirs(self, pytester: Pytester... class TestAssertionRewriteWalrusOperator (line 1555) | class TestAssertionRewriteWalrusOperator: method test_assertion_walrus_operator (line 1558) | def test_assertion_walrus_operator(self, pytester: Pytester) -> None: method test_assertion_walrus_operator_dont_rewrite (line 1576) | def test_assertion_walrus_operator_dont_rewrite(self, pytester: Pytest... method test_assertion_inline_walrus_operator (line 1595) | def test_assertion_inline_walrus_operator(self, pytester: Pytester) ->... method test_assertion_inline_walrus_operator_reverse (line 1610) | def test_assertion_inline_walrus_operator_reverse(self, pytester: Pyte... method test_assertion_walrus_no_variable_name_conflict (line 1625) | def test_assertion_walrus_no_variable_name_conflict( method test_assertion_walrus_operator_true_assertion_and_changes_variable_value (line 1639) | def test_assertion_walrus_operator_true_assertion_and_changes_variable... method test_assertion_walrus_operator_fail_assertion (line 1653) | def test_assertion_walrus_operator_fail_assertion(self, pytester: Pyte... method test_assertion_walrus_operator_boolean_composite (line 1665) | def test_assertion_walrus_operator_boolean_composite( method test_assertion_walrus_operator_compare_boolean_fails (line 1679) | def test_assertion_walrus_operator_compare_boolean_fails( method test_assertion_walrus_operator_boolean_none_fails (line 1693) | def test_assertion_walrus_operator_boolean_none_fails( method test_assertion_walrus_operator_value_changes_cleared_after_each_test (line 1707) | def test_assertion_walrus_operator_value_changes_cleared_after_each_test( method test_assertion_namedexpr_compare_left_overwrite (line 1724) | def test_assertion_namedexpr_compare_left_overwrite( class TestIssue11028 (line 1741) | class TestIssue11028: method test_assertion_walrus_operator_in_operand (line 1742) | def test_assertion_walrus_operator_in_operand(self, pytester: Pytester... method test_assertion_walrus_operator_in_operand_json_dumps (line 1752) | def test_assertion_walrus_operator_in_operand_json_dumps( method test_assertion_walrus_operator_equals_operand_function (line 1766) | def test_assertion_walrus_operator_equals_operand_function( method test_assertion_walrus_operator_equals_operand_function_keyword_arg (line 1781) | def test_assertion_walrus_operator_equals_operand_function_keyword_arg( method test_assertion_walrus_operator_equals_operand_function_arg_as_function (line 1796) | def test_assertion_walrus_operator_equals_operand_function_arg_as_func... method test_assertion_walrus_operator_gt_operand_function (line 1811) | def test_assertion_walrus_operator_gt_operand_function( class TestIssue11239 (line 1828) | class TestIssue11239: method test_assertion_walrus_different_test_cases (line 1829) | def test_assertion_walrus_different_test_cases(self, pytester: Pyteste... function test_source_mtime_long_long (line 1853) | def test_source_mtime_long_long(pytester: Pytester, offset) -> None: function test_rewrite_infinite_recursion (line 1875) | def test_rewrite_infinite_recursion( class TestEarlyRewriteBailout (line 1909) | class TestEarlyRewriteBailout: method hook (line 1911) | def hook( method test_basic (line 1940) | def test_basic(self, pytester: Pytester, hook: AssertionRewritingHook)... method test_pattern_contains_subdirectories (line 1973) | def test_pattern_contains_subdirectories( method test_cwd_changed (line 1998) | def test_cwd_changed(self, pytester: Pytester, monkeypatch) -> None: class TestAssertionPass (line 2024) | class TestAssertionPass: method test_option_default (line 2025) | def test_option_default(self, pytester: Pytester) -> None: method flag_on (line 2030) | def flag_on(self, pytester: Pytester): method hook_on (line 2034) | def hook_on(self, pytester: Pytester): method test_hook_call (line 2042) | def test_hook_call(self, pytester: Pytester, flag_on, hook_on) -> None: method test_hook_call_with_parens (line 2063) | def test_hook_call_with_parens(self, pytester: Pytester, flag_on, hook... method test_hook_not_called_without_hookimpl (line 2074) | def test_hook_not_called_without_hookimpl( method test_hook_not_called_without_cmd_option (line 2101) | def test_hook_not_called_without_cmd_option( function test_get_assertion_exprs (line 2218) | def test_get_assertion_exprs(src, expected) -> None: function test_try_makedirs (line 2223) | def test_try_makedirs(monkeypatch, tmp_path: Path) -> None: class TestPyCacheDir (line 2268) | class TestPyCacheDir: method test_get_cache_dir (line 2278) | def test_get_cache_dir(self, monkeypatch, prefix, source, expected) ->... method test_sys_pycache_prefix_integration (line 2284) | def test_sys_pycache_prefix_integration( class TestReprSizeVerbosity (line 2321) | class TestReprSizeVerbosity: method test_get_maxsize_for_saferepr (line 2336) | def test_get_maxsize_for_saferepr(self, verbose: int, expected_size) -... method test_get_maxsize_for_saferepr_no_config (line 2344) | def test_get_maxsize_for_saferepr_no_config(self) -> None: method create_test_file (line 2347) | def create_test_file(self, pytester: Pytester, size: int) -> None: method test_default_verbosity (line 2356) | def test_default_verbosity(self, pytester: Pytester) -> None: method test_increased_verbosity (line 2361) | def test_increased_verbosity(self, pytester: Pytester) -> None: method test_max_increased_verbosity (line 2366) | def test_max_increased_verbosity(self, pytester: Pytester) -> None: class TestIssue11140 (line 2372) | class TestIssue11140: method test_constant_not_picked_as_module_docstring (line 2373) | def test_constant_not_picked_as_module_docstring(self, pytester: Pytes... class TestSafereprUnbounded (line 2386) | class TestSafereprUnbounded: class Help (line 2387) | class Help: method bound_method (line 2388) | def bound_method(self): # pragma: no cover method test_saferepr_bound_method (line 2391) | def test_saferepr_bound_method(self): method test_saferepr_unbounded (line 2395) | def test_saferepr_unbounded(self): FILE: testing/test_cacheprovider.py class TestNewAPI (line 23) | class TestNewAPI: method test_config_cache_mkdir (line 24) | def test_config_cache_mkdir(self, pytester: Pytester) -> None: method test_cache_dir_permissions (line 34) | def test_cache_dir_permissions(self, pytester: Pytester) -> None: method test_config_cache_dataerror (line 49) | def test_config_cache_dataerror(self, pytester: Pytester) -> None: method test_cache_writefail_cachefile_silent (line 61) | def test_cache_writefail_cachefile_silent(self, pytester: Pytester) ->... method unwritable_cache_dir (line 72) | def unwritable_cache_dir(self, pytester: Pytester) -> Generator[Path]: method test_cache_writefail_permissions (line 86) | def test_cache_writefail_permissions( method test_cache_failure_warns (line 96) | def test_cache_failure_warns( method test_config_cache (line 120) | def test_config_cache(self, pytester: Pytester) -> None: method test_cachefuncarg (line 138) | def test_cachefuncarg(self, pytester: Pytester) -> None: method test_custom_rel_cache_dir (line 155) | def test_custom_rel_cache_dir(self, pytester: Pytester) -> None: method test_custom_abs_cache_dir (line 167) | def test_custom_abs_cache_dir( method test_custom_cache_dir_with_env_var (line 182) | def test_custom_cache_dir_with_env_var( function test_cache_reportheader (line 198) | def test_cache_reportheader( function test_cache_reportheader_external_abspath (line 212) | def test_cache_reportheader_external_abspath( function test_cache_show (line 230) | def test_cache_show(pytester: Pytester) -> None: class TestLastFailed (line 282) | class TestLastFailed: method test_lastfailed_usecase (line 283) | def test_lastfailed_usecase( method test_failedfirst_order (line 331) | def test_failedfirst_order(self, pytester: Pytester) -> None: method test_lastfailed_failedfirst_order (line 350) | def test_lastfailed_failedfirst_order(self, pytester: Pytester) -> None: method test_lastfailed_difference_invocations (line 363) | def test_lastfailed_difference_invocations( method test_lastfailed_usecase_splice (line 394) | def test_lastfailed_usecase_splice( method test_lastfailed_xpass (line 409) | def test_lastfailed_xpass(self, pytester: Pytester) -> None: method test_non_serializable_parametrize (line 423) | def test_non_serializable_parametrize(self, pytester: Pytester) -> None: method test_terminal_report_lastfailed (line 442) | def test_terminal_report_lastfailed(self, pytester: Pytester, parent: ... method test_terminal_report_failedfirst (line 499) | def test_terminal_report_failedfirst(self, pytester: Pytester) -> None: method test_lastfailed_collectfailure (line 518) | def test_lastfailed_collectfailure( method test_lastfailed_failure_subset (line 551) | def test_lastfailed_failure_subset( method test_lastfailed_creates_cache_when_needed (line 609) | def test_lastfailed_creates_cache_when_needed(self, pytester: Pytester... method test_xfail_not_considered_failure (line 623) | def test_xfail_not_considered_failure(self, pytester: Pytester) -> None: method test_xfail_strict_considered_failure (line 635) | def test_xfail_strict_considered_failure(self, pytester: Pytester) -> ... method test_failed_changed_to_xfail_or_skip (line 650) | def test_failed_changed_to_xfail_or_skip( method test_lf_and_ff_prints_no_needless_message (line 679) | def test_lf_and_ff_prints_no_needless_message( method get_cached_last_failed (line 696) | def get_cached_last_failed(self, pytester: Pytester) -> list[str]: method test_cache_cumulative (line 701) | def test_cache_cumulative(self, pytester: Pytester) -> None: method test_lastfailed_no_failures_behavior_all_passed (line 765) | def test_lastfailed_no_failures_behavior_all_passed( method test_lastfailed_no_failures_behavior_empty_cache (line 807) | def test_lastfailed_no_failures_behavior_empty_cache( method test_lastfailed_skip_collection (line 823) | def test_lastfailed_skip_collection(self, pytester: Pytester) -> None: method test_lastfailed_skip_collection_with_nesting (line 875) | def test_lastfailed_skip_collection_with_nesting(self, pytester: Pytes... method test_lastfailed_with_known_failures_not_being_selected (line 902) | def test_lastfailed_with_known_failures_not_being_selected( method test_lastfailed_args_with_deselected (line 962) | def test_lastfailed_args_with_deselected(self, pytester: Pytester) -> ... method test_lastfailed_with_class_items (line 1012) | def test_lastfailed_with_class_items(self, pytester: Pytester) -> None: method test_lastfailed_with_all_filtered (line 1048) | def test_lastfailed_with_all_filtered(self, pytester: Pytester) -> None: method test_packages (line 1086) | def test_packages(self, pytester: Pytester) -> None: method test_non_python_file_skipped (line 1116) | def test_non_python_file_skipped( class TestNewFirst (line 1139) | class TestNewFirst: method test_newfirst_usecase (line 1140) | def test_newfirst_usecase(self, pytester: Pytester) -> None: method test_newfirst_parametrize (line 1198) | def test_newfirst_parametrize(self, pytester: Pytester) -> None: class TestReadme (line 1263) | class TestReadme: method check_readme (line 1264) | def check_readme(self, pytester: Pytester) -> bool: method test_readme_passed (line 1270) | def test_readme_passed(self, pytester: Pytester) -> None: method test_readme_failed (line 1275) | def test_readme_failed(self, pytester: Pytester) -> None: class Action (line 1281) | class Action(Enum): function test_gitignore (line 1289) | def test_gitignore( function test_preserve_keys_order (line 1319) | def test_preserve_keys_order(pytester: Pytester) -> None: function test_does_not_create_boilerplate_in_existing_dirs (line 1330) | def test_does_not_create_boilerplate_in_existing_dirs(pytester: Pytester... function test_cachedir_tag (line 1348) | def test_cachedir_tag(pytester: Pytester) -> None: function test_clioption_with_cacheshow_and_help (line 1360) | def test_clioption_with_cacheshow_and_help(pytester: Pytester) -> None: function test_make_cachedir_cleans_up_on_base_exception (line 1365) | def test_make_cachedir_cleans_up_on_base_exception( FILE: testing/test_capture.py function StdCaptureFD (line 33) | def StdCaptureFD( function StdCapture (line 43) | def StdCapture( function TeeStdCapture (line 53) | def TeeStdCapture( class TestCaptureManager (line 63) | class TestCaptureManager: method test_capturing_basic_api (line 65) | def test_capturing_basic_api(self, method) -> None: method test_init_capturing (line 94) | def test_init_capturing(self): function test_capturing_unicode (line 106) | def test_capturing_unicode(pytester: Pytester, method: str) -> None: function test_capturing_bytes_in_utf8_encoding (line 122) | def test_capturing_bytes_in_utf8_encoding(pytester: Pytester, method: st... function test_collect_capturing (line 133) | def test_collect_capturing(pytester: Pytester) -> None: class TestPerTestCapturing (line 154) | class TestPerTestCapturing: method test_capture_and_fixtures (line 155) | def test_capture_and_fixtures(self, pytester: Pytester) -> None: method test_capture_scope_cache (line 182) | def test_capture_scope_cache(self, pytester: Pytester) -> None: method test_no_carry_over (line 209) | def test_no_carry_over(self, pytester: Pytester) -> None: method test_teardown_capturing (line 224) | def test_teardown_capturing(self, pytester: Pytester) -> None: method test_teardown_capturing_final (line 249) | def test_teardown_capturing_final(self, pytester: Pytester) -> None: method test_capturing_outerr (line 269) | def test_capturing_outerr(self, pytester: Pytester) -> None: class TestLoggingInteraction (line 297) | class TestLoggingInteraction: method test_logging_stream_ownership (line 298) | def test_logging_stream_ownership(self, pytester: Pytester) -> None: method test_logging_and_immediate_setupteardown (line 312) | def test_logging_and_immediate_setupteardown(self, pytester: Pytester)... method test_logging_and_crossscope_fixtures (line 338) | def test_logging_and_crossscope_fixtures(self, pytester: Pytester) -> ... method test_conftestlogging_is_shown (line 364) | def test_conftestlogging_is_shown(self, pytester: Pytester) -> None: method test_conftestlogging_and_test_logging (line 378) | def test_conftestlogging_and_test_logging(self, pytester: Pytester) ->... method test_logging_after_cap_stopped (line 400) | def test_logging_after_cap_stopped(self, pytester: Pytester) -> None: class TestCaptureFixture (line 435) | class TestCaptureFixture: method test_std_functional (line 437) | def test_std_functional(self, pytester: Pytester, opt) -> None: method test_capteesys (line 449) | def test_capteesys(self, pytester: Pytester) -> None: method test_capsyscapfd (line 481) | def test_capsyscapfd(self, pytester: Pytester) -> None: method test_capturing_getfixturevalue (line 501) | def test_capturing_getfixturevalue(self, pytester: Pytester) -> None: method test_capsyscapfdbinary (line 524) | def test_capsyscapfdbinary(self, pytester: Pytester) -> None: method test_capture_is_represented_on_failure_issue128 (line 537) | def test_capture_is_represented_on_failure_issue128( method test_stdfd_functional (line 550) | def test_stdfd_functional(self, pytester: Pytester) -> None: method test_cafd_preserves_newlines (line 564) | def test_cafd_preserves_newlines(self, capfd, nl) -> None: method test_capfdbinary (line 569) | def test_capfdbinary(self, pytester: Pytester) -> None: method test_capsysbinary (line 583) | def test_capsysbinary(self, pytester: Pytester) -> None: method test_partial_setup_failure (line 619) | def test_partial_setup_failure(self, pytester: Pytester) -> None: method test_keyboardinterrupt_disables_capturing (line 629) | def test_keyboardinterrupt_disables_capturing(self, pytester: Pytester... method test_capture_and_logging (line 642) | def test_capture_and_logging(self, pytester: Pytester) -> None: method test_disabled_capture_fixture (line 656) | def test_disabled_capture_fixture( method test_disabled_capture_fixture_twice (line 682) | def test_disabled_capture_fixture_twice(self, pytester: Pytester) -> N... method test_fixture_use_by_other_fixtures (line 711) | def test_fixture_use_by_other_fixtures(self, pytester: Pytester, fixtu... method test_fixture_use_by_other_fixtures_teardown (line 745) | def test_fixture_use_by_other_fixtures_teardown( function test_setup_failure_does_not_kill_capturing (line 773) | def test_setup_failure_does_not_kill_capturing(pytester: Pytester) -> None: function test_capture_conftest_runtest_setup (line 789) | def test_capture_conftest_runtest_setup(pytester: Pytester) -> None: function test_capture_badoutput_issue412 (line 802) | def test_capture_badoutput_issue412(pytester: Pytester) -> None: function test_capture_early_option_parsing (line 824) | def test_capture_early_option_parsing(pytester: Pytester) -> None: function test_capture_binary_output (line 837) | def test_capture_binary_output(pytester: Pytester) -> None: function test_error_during_readouterr (line 858) | def test_error_during_readouterr(pytester: Pytester) -> None: class TestCaptureIO (line 877) | class TestCaptureIO: method test_text (line 878) | def test_text(self) -> None: method test_unicode_and_str_mixture (line 885) | def test_unicode_and_str_mixture(self) -> None: method test_write_bytes_to_buffer (line 890) | def test_write_bytes_to_buffer(self) -> None: class TestTeeCaptureIO (line 899) | class TestTeeCaptureIO(TestCaptureIO): method test_text (line 900) | def test_text(self) -> None: method test_unicode_and_str_mixture (line 911) | def test_unicode_and_str_mixture(self) -> None: function test_dontreadfrominput (line 918) | def test_dontreadfrominput() -> None: function test_captureresult (line 944) | def test_captureresult() -> None: function tmpfile (line 975) | def tmpfile(pytester: Pytester) -> Generator[BinaryIO]: function lsof_check (line 983) | def lsof_check(): class TestFDCapture (line 1002) | class TestFDCapture: method test_simple (line 1003) | def test_simple(self, tmpfile: BinaryIO) -> None: method test_simple_many (line 1017) | def test_simple_many(self, tmpfile: BinaryIO) -> None: method test_simple_many_check_open_files (line 1021) | def test_simple_many_check_open_files(self, pytester: Pytester) -> None: method test_simple_fail_second_start (line 1026) | def test_simple_fail_second_start(self, tmpfile: BinaryIO) -> None: method test_stderr (line 1032) | def test_stderr(self) -> None: method test_stdin (line 1040) | def test_stdin(self) -> None: method test_writeorg (line 1047) | def test_writeorg(self, tmpfile: BinaryIO) -> None: method test_simple_resume_suspend (line 1061) | def test_simple_resume_suspend(self) -> None: method test_capfd_sys_stdout_mode (line 1092) | def test_capfd_sys_stdout_mode(self, capfd) -> None: function saved_fd (line 1097) | def saved_fd(fd): class TestStdCapture (line 1106) | class TestStdCapture: method getcapture (line 1110) | def getcapture(self, **kw): method test_capturing_done_simple (line 1118) | def test_capturing_done_simple(self) -> None: method test_capturing_reset_simple (line 1126) | def test_capturing_reset_simple(self) -> None: method test_capturing_readouterr (line 1134) | def test_capturing_readouterr(self) -> None: method test_capture_results_accessible_by_attribute (line 1145) | def test_capture_results_accessible_by_attribute(self) -> None: method test_capturing_readouterr_unicode (line 1153) | def test_capturing_readouterr_unicode(self) -> None: method test_reset_twice_error (line 1159) | def test_reset_twice_error(self) -> None: method test_capturing_modify_sysouterr_in_between (line 1167) | def test_capturing_modify_sysouterr_in_between(self) -> None: method test_capturing_error_recursive (line 1183) | def test_capturing_error_recursive(self) -> None: method test_just_out_capture (line 1193) | def test_just_out_capture(self) -> None: method test_just_err_capture (line 1201) | def test_just_err_capture(self) -> None: method test_stdin_restored (line 1209) | def test_stdin_restored(self) -> None: method test_stdin_nulled_by_default (line 1216) | def test_stdin_nulled_by_default(self) -> None: class TestTeeStdCapture (line 1224) | class TestTeeStdCapture(TestStdCapture): method test_capturing_error_recursive (line 1227) | def test_capturing_error_recursive(self) -> None: class TestStdCaptureFD (line 1240) | class TestStdCaptureFD(TestStdCapture): method test_simple_only_fd (line 1243) | def test_simple_only_fd(self, pytester: Pytester) -> None: method test_intermingling (line 1261) | def test_intermingling(self): method test_many (line 1275) | def test_many(self, capfd): class TestStdCaptureFDinvalidFD (line 1283) | class TestStdCaptureFDinvalidFD: method test_stdcapture_fd_invalid_fd (line 1284) | def test_stdcapture_fd_invalid_fd(self, pytester: Pytester) -> None: method test_fdcapture_invalid_fd_with_fd_reuse (line 1327) | def test_fdcapture_invalid_fd_with_fd_reuse(self, pytester: Pytester) ... method test_fdcapture_invalid_fd_without_fd_reuse (line 1342) | def test_fdcapture_invalid_fd_without_fd_reuse(self, pytester: Pyteste... function test_capture_not_started_but_reset (line 1359) | def test_capture_not_started_but_reset() -> None: function test_using_capsys_fixture_works_with_sys_stdout_encoding (line 1364) | def test_using_capsys_fixture_works_with_sys_stdout_encoding( function test_capsys_results_accessible_by_attribute (line 1375) | def test_capsys_results_accessible_by_attribute(capsys: CaptureFixture[s... function test_fdcapture_tmpfile_remains_the_same (line 1383) | def test_fdcapture_tmpfile_remains_the_same() -> None: function test_close_and_capture_again (line 1396) | def test_close_and_capture_again(pytester: Pytester) -> None: function test_capturing_and_logging_fundamentals (line 1421) | def test_capturing_and_logging_fundamentals(pytester: Pytester, method: ... function test_error_attribute_issue555 (line 1461) | def test_error_attribute_issue555(pytester: Pytester) -> None: function test_windowsconsoleio_workaround_non_standard_streams (line 1478) | def test_windowsconsoleio_workaround_non_standard_streams() -> None: function test_dontreadfrominput_has_encoding (line 1493) | def test_dontreadfrominput_has_encoding(pytester: Pytester) -> None: function test_crash_on_closing_tmpfile_py27 (line 1507) | def test_crash_on_closing_tmpfile_py27( function test_global_capture_with_live_logging (line 1544) | def test_global_capture_with_live_logging(pytester: Pytester) -> None: function test_capture_with_live_logging (line 1603) | def test_capture_with_live_logging( function test_typeerror_encodedfile_write (line 1636) | def test_typeerror_encodedfile_write(pytester: Pytester) -> None: function test_stderr_write_returns_len (line 1655) | def test_stderr_write_returns_len(capsys: CaptureFixture[str]) -> None: function test_encodedfile_writelines (line 1660) | def test_encodedfile_writelines(tmpfile: BinaryIO) -> None: function test__get_multicapture (line 1673) | def test__get_multicapture() -> None: function test_logging_while_collecting (line 1680) | def test_logging_while_collecting(pytester: Pytester) -> None: function test_libedit_workaround (line 1709) | def test_libedit_workaround(pytester: Pytester) -> None: FILE: testing/test_collect_imported_tests.py function setup_files (line 11) | def setup_files(pytester: Pytester) -> None: function test_collect_imports_disabled (line 43) | def test_collect_imports_disabled(pytester: Pytester) -> None: function test_collect_imports_enabled (line 81) | def test_collect_imports_enabled(pytester: Pytester, configure_ini: bool... FILE: testing/test_collection.py function ensure_file (line 27) | def ensure_file(file_path: Path) -> Path: class TestCollector (line 34) | class TestCollector: method test_collect_versus_item (line 35) | def test_collect_versus_item(self) -> None: method test_check_equality (line 42) | def test_check_equality(self, pytester: Pytester) -> None: method test_getparent_and_accessors (line 73) | def test_getparent_and_accessors(self, pytester: Pytester) -> None: method test_getcustomfile_roundtrip (line 102) | def test_getcustomfile_roundtrip(self, pytester: Pytester) -> None: method test_can_skip_class_with_test_attr (line 122) | def test_can_skip_class_with_test_attr(self, pytester: Pytester) -> None: class TestCollectFS (line 138) | class TestCollectFS: method test_ignored_certain_directories (line 139) | def test_ignored_certain_directories(self, pytester: Pytester) -> None: method test_ignored_virtualenvs (line 166) | def test_ignored_virtualenvs(self, pytester: Pytester, env_path: PureP... method test_ignored_virtualenvs_norecursedirs_precedence (line 182) | def test_ignored_virtualenvs_norecursedirs_precedence( method test__in_venv (line 196) | def test__in_venv(self, pytester: Pytester, env_path: PurePath) -> None: method test_custom_norecursedirs (line 205) | def test_custom_norecursedirs(self, pytester: Pytester) -> None: method test_testpaths_ini (line 227) | def test_testpaths_ini(self, pytester: Pytester, monkeypatch: MonkeyPa... method test_missing_permissions_on_unselected_directory_doesnt_crash (line 263) | def test_missing_permissions_on_unselected_directory_doesnt_crash( class TestCollectPluginHookRelay (line 281) | class TestCollectPluginHookRelay: method test_pytest_collect_file (line 282) | def test_pytest_collect_file(self, pytester: Pytester) -> None: class TestPrunetraceback (line 297) | class TestPrunetraceback: method test_custom_repr_failure (line 298) | def test_custom_repr_failure(self, pytester: Pytester) -> None: method test_collect_report_postprocessing (line 325) | def test_collect_report_postprocessing(self, pytester: Pytester) -> None: method test_collection_error_traceback_is_clean (line 344) | def test_collection_error_traceback_is_clean(self, pytester: Pytester)... class TestCustomConftests (line 368) | class TestCustomConftests: method test_ignore_collect_path (line 369) | def test_ignore_collect_path(self, pytester: Pytester) -> None: method test_ignore_collect_not_called_on_argument (line 385) | def test_ignore_collect_not_called_on_argument(self, pytester: Pyteste... method test_collectignore_exclude_on_option (line 400) | def test_collectignore_exclude_on_option(self, pytester: Pytester) -> ... method test_collectignoreglob_exclude_on_option (line 430) | def test_collectignoreglob_exclude_on_option(self, pytester: Pytester)... method test_pytest_fs_collect_hooks_are_seen (line 450) | def test_pytest_fs_collect_hooks_are_seen(self, pytester: Pytester) ->... method test_pytest_collect_file_from_sister_dir (line 466) | def test_pytest_collect_file_from_sister_dir(self, pytester: Pytester)... class TestSession (line 498) | class TestSession: method test_collect_topdir (line 499) | def test_collect_topdir(self, pytester: Pytester) -> None: method get_reported_items (line 514) | def get_reported_items(self, hookrec: HookRecorder) -> list[Item]: method test_collect_protocol_single_function (line 524) | def test_collect_protocol_single_function(self, pytester: Pytester) ->... method test_collect_protocol_method (line 547) | def test_collect_protocol_method(self, pytester: Pytester) -> None: method test_collect_custom_nodes_multi_id (line 565) | def test_collect_custom_nodes_multi_id(self, pytester: Pytester) -> None: method test_collect_subdir_event_ordering (line 600) | def test_collect_subdir_event_ordering(self, pytester: Pytester) -> None: method test_collect_two_commandline_args (line 617) | def test_collect_two_commandline_args(self, pytester: Pytester) -> None: method test_serialization_byid (line 642) | def test_serialization_byid(self, pytester: Pytester) -> None: method test_find_byid_without_instance_parents (line 652) | def test_find_byid_without_instance_parents(self, pytester: Pytester) ... method test_collect_parametrized_order (line 668) | def test_collect_parametrized_order(self, pytester: Pytester) -> None: class Test_getinitialnodes (line 686) | class Test_getinitialnodes: method test_global_file (line 687) | def test_global_file(self, pytester: Pytester) -> None: method test_pkgfile (line 700) | def test_pkgfile(self, pytester: Pytester, monkeypatch: MonkeyPatch) -... class Test_genitems (line 724) | class Test_genitems: method test_check_collect_hashes (line 725) | def test_check_collect_hashes(self, pytester: Pytester) -> None: method test_example_items1 (line 744) | def test_example_items1(self, pytester: Pytester) -> None: method test_classmethod_is_discovered (line 780) | def test_classmethod_is_discovered(self, pytester: Pytester) -> None: method test_class_and_functions_discovery_using_glob (line 794) | def test_class_and_functions_discovery_using_glob(self, pytester: Pyte... function test_matchnodes_two_collections_same_file (line 820) | def test_matchnodes_two_collections_same_file(pytester: Pytester) -> None: class TestNodeKeywords (line 861) | class TestNodeKeywords: method test_no_under (line 862) | def test_no_under(self, pytester: Pytester) -> None: method test_issue345 (line 875) | def test_issue345(self, pytester: Pytester) -> None: method test_keyword_matching_is_case_insensitive_by_default (line 888) | def test_keyword_matching_is_case_insensitive_by_default( method test_duplicates_handled_correctly (line 927) | def test_duplicates_handled_correctly(self, pytester: Pytester) -> None: method test_unpacked_marks_added_to_keywords (line 945) | def test_unpacked_marks_added_to_keywords(self, pytester: Pytester) ->... class TestCollectDirectoryHook (line 976) | class TestCollectDirectoryHook: method test_custom_directory_example (line 977) | def test_custom_directory_example(self, pytester: Pytester) -> None: method test_directory_ignored_if_none (line 991) | def test_directory_ignored_if_none(self, pytester: Pytester) -> None: function test_exit_on_collection_error (line 1038) | def test_exit_on_collection_error(pytester: Pytester) -> None: function test_exit_on_collection_with_maxfail_smaller_than_n_errors (line 1056) | def test_exit_on_collection_with_maxfail_smaller_than_n_errors( function test_exit_on_collection_with_maxfail_bigger_than_n_errors (line 1079) | def test_exit_on_collection_with_maxfail_bigger_than_n_errors( function test_continue_on_collection_errors (line 1103) | def test_continue_on_collection_errors(pytester: Pytester) -> None: function test_continue_on_collection_errors_maxfail (line 1118) | def test_continue_on_collection_errors_maxfail(pytester: Pytester) -> None: function test_fixture_scope_sibling_conftests (line 1134) | def test_fixture_scope_sibling_conftests(pytester: Pytester) -> None: function test_collect_init_tests (line 1170) | def test_collect_init_tests(pytester: Pytester) -> None: function test_collect_invalid_signature_message (line 1245) | def test_collect_invalid_signature_message(pytester: Pytester) -> None: function test_collect_handles_raising_on_dunder_class (line 1265) | def test_collect_handles_raising_on_dunder_class(pytester: Pytester) -> ... function test_collect_with_chdir_during_import (line 1292) | def test_collect_with_chdir_during_import(pytester: Pytester) -> None: function test_collect_pyargs_with_testpaths (line 1325) | def test_collect_pyargs_with_testpaths( function test_initial_conftests_with_testpaths (line 1355) | def test_initial_conftests_with_testpaths(pytester: Pytester) -> None: function test_large_option_breaks_initial_conftests (line 1386) | def test_large_option_breaks_initial_conftests(pytester: Pytester) -> None: function test_collect_symlink_file_arg (line 1405) | def test_collect_symlink_file_arg(pytester: Pytester) -> None: function test_collect_symlink_out_of_tree (line 1420) | def test_collect_symlink_out_of_tree(pytester: Pytester) -> None: function test_collect_symlink_dir (line 1449) | def test_collect_symlink_dir(pytester: Pytester) -> None: function test_collectignore_via_conftest (line 1458) | def test_collectignore_via_conftest(pytester: Pytester) -> None: function test_collect_pkg_init_and_file_in_args (line 1476) | def test_collect_pkg_init_and_file_in_args(pytester: Pytester) -> None: function test_collect_pkg_init_only (line 1513) | def test_collect_pkg_init_only(pytester: Pytester) -> None: function test_collect_sub_with_symlinks (line 1529) | def test_collect_sub_with_symlinks(use_pkg: bool, pytester: Pytester) ->... function test_collector_respects_tbstyle (line 1552) | def test_collector_respects_tbstyle(pytester: Pytester) -> None: function test_does_not_eagerly_collect_packages (line 1569) | def test_does_not_eagerly_collect_packages(pytester: Pytester) -> None: function test_does_not_put_src_on_path (line 1577) | def test_does_not_put_src_on_path(pytester: Pytester) -> None: function test_fscollector_from_parent (line 1590) | def test_fscollector_from_parent(pytester: Pytester, request: FixtureReq... function test_class_from_parent (line 1610) | def test_class_from_parent(request: FixtureRequest) -> None: class TestImportModeImportlib (line 1626) | class TestImportModeImportlib: method test_collect_duplicate_names (line 1627) | def test_collect_duplicate_names(self, pytester: Pytester) -> None: method test_conftest (line 1644) | def test_conftest(self, pytester: Pytester) -> None: method setup_conftest_and_foo (line 1661) | def setup_conftest_and_foo(self, pytester: Pytester) -> None: method test_modules_importable_as_side_effect (line 1678) | def test_modules_importable_as_side_effect(self, pytester: Pytester) -... method test_modules_not_importable_as_side_effect (line 1685) | def test_modules_not_importable_as_side_effect(self, pytester: Pyteste... method test_using_python_path (line 1700) | def test_using_python_path(self, pytester: Pytester) -> None: function test_does_not_crash_on_error_from_decorated_function (line 1730) | def test_does_not_crash_on_error_from_decorated_function(pytester: Pytes... function test_does_not_crash_on_recursive_symlink (line 1744) | def test_does_not_crash_on_recursive_symlink(pytester: Pytester) -> None: function test_collect_short_file_windows (line 1759) | def test_collect_short_file_windows(pytester: Pytester) -> None: function test_collect_short_file_windows_multi_level_symlink (line 1784) | def test_collect_short_file_windows_multi_level_symlink( function test_pyargs_collection_tree (line 1819) | def test_pyargs_collection_tree(pytester: Pytester, monkeypatch: MonkeyP... function test_do_not_collect_symlink_siblings (line 1864) | def test_do_not_collect_symlink_siblings( function test_respect_system_exceptions (line 1897) | def test_respect_system_exceptions( function test_yield_disallowed_in_tests (line 1920) | def test_yield_disallowed_in_tests(pytester: Pytester): function test_annotations_deferred_future (line 1937) | def test_annotations_deferred_future(pytester: Pytester): function test_annotations_deferred_314 (line 1959) | def test_annotations_deferred_314(pytester: Pytester): function test_namespace_packages (line 1978) | def test_namespace_packages(pytester: Pytester, import_mode: str): class TestOverlappingCollectionArguments (line 2038) | class TestOverlappingCollectionArguments: method test_parent_child (line 2043) | def test_parent_child(self, pytester: Pytester, args: tuple[str, ...])... method test_multiple_nested_paths (line 2076) | def test_multiple_nested_paths(self, pytester: Pytester) -> None: method test_same_path_twice (line 2111) | def test_same_path_twice(self, pytester: Pytester) -> None: method test_keep_duplicates_flag (line 2134) | def test_keep_duplicates_flag(self, pytester: Pytester) -> None: method test_specific_file_then_parent_dir (line 2166) | def test_specific_file_then_parent_dir(self, pytester: Pytester) -> None: method test_package_scope_fixture_with_overlapping_paths (line 2194) | def test_package_scope_fixture_with_overlapping_paths( method test_execution_order_preserved (line 2228) | def test_execution_order_preserved(self, pytester: Pytester) -> None: method test_overlapping_node_ids_class_and_method (line 2257) | def test_overlapping_node_ids_class_and_method(self, pytester: Pyteste... method test_overlapping_node_ids_file_and_class (line 2308) | def test_overlapping_node_ids_file_and_class(self, pytester: Pytester)... method test_same_node_id_twice (line 2358) | def test_same_node_id_twice(self, pytester: Pytester) -> None: method test_overlapping_with_parametrization (line 2382) | def test_overlapping_with_parametrization(self, pytester: Pytester) ->... method test_root_and_subdir (line 2434) | def test_root_and_subdir(self, pytester: Pytester, order: tuple[str, .... method test_complex_combined_handling (line 2462) | def test_complex_combined_handling(self, pytester: Pytester) -> None: function test_strict_parametrization_ids (line 2730) | def test_strict_parametrization_ids( function test_strict_parametrization_ids_with_hidden_param (line 2772) | def test_strict_parametrization_ids_with_hidden_param(pytester: Pytester... FILE: testing/test_compat.py function test_real_func_loop_limit (line 20) | def test_real_func_loop_limit() -> None: function test_get_real_func (line 43) | def test_get_real_func() -> None: function test_get_real_func_partial (line 71) | def test_get_real_func_partial() -> None: class ErrorsHelper (line 81) | class ErrorsHelper: method raise_baseexception (line 83) | def raise_baseexception(self): method raise_exception (line 87) | def raise_exception(self): method raise_fail_outcome (line 91) | def raise_fail_outcome(self): function test_helper_failures (line 95) | def test_helper_failures() -> None: function test_safe_getattr (line 103) | def test_safe_getattr() -> None: function test_safe_isclass (line 111) | def test_safe_isclass() -> None: function test_cached_property (line 123) | def test_cached_property() -> None: function test_assert_never_union (line 143) | def test_assert_never_union() -> None: function test_assert_never_enum (line 160) | def test_assert_never_enum() -> None: function test_assert_never_literal (line 178) | def test_assert_never_literal() -> None: function test_deprecated (line 195) | def test_deprecated() -> None: FILE: testing/test_config.py class TestParseIni (line 37) | class TestParseIni: method test_getcfg_and_config (line 41) | def test_getcfg_and_config( method test_setupcfg_uses_toolpytest_with_pytest (line 66) | def test_setupcfg_uses_toolpytest_with_pytest(self, pytester: Pytester... method test_append_parse_args (line 81) | def test_append_parse_args( method test_report_chars_option (line 102) | def test_report_chars_option( method test_tox_ini_wrong_version (line 115) | def test_tox_ini_wrong_version(self, pytester: Pytester) -> None: method test_ini_names (line 138) | def test_ini_names(self, pytester: Pytester, name, section) -> None: method test_toml_config_names (line 152) | def test_toml_config_names(self, pytester: Pytester, name: str) -> None: method test_pyproject_toml (line 165) | def test_pyproject_toml(self, pytester: Pytester) -> None: method test_empty_pyproject_toml (line 176) | def test_empty_pyproject_toml(self, pytester: Pytester) -> None: method test_empty_pyproject_toml_found_many (line 182) | def test_empty_pyproject_toml_found_many(self, pytester: Pytester) -> ... method test_pytest_toml (line 198) | def test_pytest_toml(self, pytester: Pytester) -> None: method test_empty_pytest_toml (line 211) | def test_empty_pytest_toml(self, pytester: Pytester, name: str) -> None: method test_pytest_toml_trumps_pyproject_toml (line 218) | def test_pytest_toml_trumps_pyproject_toml(self, pytester: Pytester) -... method test_pytest_toml_trumps_pytest_ini (line 236) | def test_pytest_toml_trumps_pytest_ini(self, pytester: Pytester) -> None: method test_dot_pytest_toml_trumps_pytest_ini (line 254) | def test_dot_pytest_toml_trumps_pytest_ini(self, pytester: Pytester) -... method test_pytest_ini_trumps_pyproject_toml (line 272) | def test_pytest_ini_trumps_pyproject_toml(self, pytester: Pytester) ->... method test_toxini_before_lower_pytestini (line 284) | def test_toxini_before_lower_pytestini(self, pytester: Pytester) -> None: method test_ini_parse_error (line 307) | def test_ini_parse_error(self, pytester: Pytester) -> None: method test_toml_parse_error (line 315) | def test_toml_parse_error(self, pytester: Pytester) -> None: method test_pytest_toml_parse_error (line 325) | def test_pytest_toml_parse_error(self, pytester: Pytester) -> None: method test_confcutdir_default_without_configfile (line 336) | def test_confcutdir_default_without_configfile(self, pytester: Pyteste... method test_confcutdir_default_with_configfile (line 344) | def test_confcutdir_default_with_configfile(self, pytester: Pytester) ... method test_confcutdir (line 354) | def test_confcutdir(self, pytester: Pytester) -> None: method test_invalid_config_options (line 433) | def test_invalid_config_options( method test_silence_unknown_key_warning (line 465) | def test_silence_unknown_key_warning(self, pytester: Pytester) -> None: method test_strict_config_ini_option (line 479) | def test_strict_config_ini_option( method test_disable_warnings_plugin_disables_config_warnings (line 495) | def test_disable_warnings_plugin_disables_config_warnings( method test_missing_required_plugins (line 599) | def test_missing_required_plugins( method test_early_config_cmdline (line 652) | def test_early_config_cmdline( method test_args_source_args (line 673) | def test_args_source_args(self, pytester: Pytester): method test_args_source_invocation_dir (line 677) | def test_args_source_invocation_dir(self, pytester: Pytester): method test_args_source_testpaths (line 681) | def test_args_source_testpaths(self, pytester: Pytester): class TestConfigCmdlineParsing (line 692) | class TestConfigCmdlineParsing: method test_parsing_again_fails (line 693) | def test_parsing_again_fails(self, pytester: Pytester) -> None: method test_explicitly_specified_config_file_is_loaded (line 697) | def test_explicitly_specified_config_file_is_loaded( method test_absolute_win32_path (line 750) | def test_absolute_win32_path(self, pytester: Pytester) -> None: class TestConfigAPI (line 761) | class TestConfigAPI: method test_config_trace (line 762) | def test_config_trace(self, pytester: Pytester) -> None: method test_config_getoption_declared_option_name (line 770) | def test_config_getoption_declared_option_name(self, pytester: Pyteste... method test_config_getoption_undeclared_option_name (line 787) | def test_config_getoption_undeclared_option_name(self, pytester: Pytes... method test_config_getoption_unicode (line 794) | def test_config_getoption_unicode(self, pytester: Pytester) -> None: method test_config_getvalueorskip (line 804) | def test_config_getvalueorskip(self, pytester: Pytester) -> None: method test_config_getvalueorskip_None (line 810) | def test_config_getvalueorskip_None(self, pytester: Pytester) -> None: method test_getconftest_pathlist (line 821) | def test_getconftest_pathlist(self, pytester: Pytester, tmp_path: Path... method test_addini (line 833) | def test_addini(self, pytester: Pytester, maybe_type: str) -> None: method test_addini_paths (line 857) | def test_addini_paths(self, pytester: Pytester, config_type: str) -> N... method make_conftest_for_args (line 886) | def make_conftest_for_args(self, pytester: Pytester) -> None: method test_addini_args_ini_files (line 895) | def test_addini_args_ini_files(self, pytester: Pytester) -> None: method test_addini_args_pyproject_toml (line 905) | def test_addini_args_pyproject_toml(self, pytester: Pytester) -> None: method check_config_args (line 915) | def check_config_args(self, pytester: Pytester) -> None: method make_conftest_for_linelist (line 922) | def make_conftest_for_linelist(self, pytester: Pytester) -> None: method test_addini_linelist_ini_files (line 931) | def test_addini_linelist_ini_files(self, pytester: Pytester) -> None: method test_addini_linelist_pprojecttoml (line 942) | def test_addini_linelist_pprojecttoml(self, pytester: Pytester) -> None: method check_config_linelist (line 952) | def check_config_linelist(self, pytester: Pytester) -> None: method test_addini_bool (line 963) | def test_addini_bool( method test_addini_int (line 983) | def test_addini_int(self, pytester: Pytester, str_val: str, int_val: b... method test_addini_int_invalid (line 1000) | def test_addini_int_invalid(self, pytester: Pytester) -> None: method test_addini_float (line 1020) | def test_addini_float( method test_addini_float_invalid (line 1039) | def test_addini_float_invalid(self, pytester: Pytester) -> None: method test_addinivalue_line_existing (line 1058) | def test_addinivalue_line_existing(self, pytester: Pytester) -> None: method test_addinivalue_line_new (line 1080) | def test_addinivalue_line_new(self, pytester: Pytester) -> None: method test_addini_default_values (line 1098) | def test_addini_default_values(self, pytester: Pytester) -> None: method test_addini_with_aliases (line 1144) | def test_addini_with_aliases(self, pytester: Pytester) -> None: method test_addini_aliases_with_canonical_in_file (line 1164) | def test_addini_aliases_with_canonical_in_file(self, pytester: Pyteste... method test_addini_aliases_multiple (line 1184) | def test_addini_aliases_multiple(self, pytester: Pytester) -> None: method test_addini_aliases_with_override_of_old (line 1203) | def test_addini_aliases_with_override_of_old(self, pytester: Pytester)... method test_addini_aliases_with_override_of_new (line 1226) | def test_addini_aliases_with_override_of_new(self, pytester: Pytester)... method test_addini_aliases_with_types (line 1249) | def test_addini_aliases_with_types(self, pytester: Pytester) -> None: method test_addini_aliases_conflict_error (line 1272) | def test_addini_aliases_conflict_error(self, pytester: Pytester) -> None: method test_addini_aliases_duplicate_error (line 1289) | def test_addini_aliases_duplicate_error(self, pytester: Pytester) -> N... method test_get_ini_default_for_type (line 1316) | def test_get_ini_default_for_type(self, type: Any, expected: Any) -> N... method test_confcutdir_check_isdir (line 1319) | def test_confcutdir_check_isdir(self, pytester: Pytester) -> None: method test_iter_rewritable_modules (line 1350) | def test_iter_rewritable_modules(self, names, expected) -> None: method test_add_cleanup (line 1353) | def test_add_cleanup(self, pytester: Pytester) -> None: class TestConfigFromdictargs (line 1385) | class TestConfigFromdictargs: method test_basic_behavior (line 1386) | def test_basic_behavior(self, _sys_snapshot) -> None: method test_invocation_params_args (line 1398) | def test_invocation_params_args(self, _sys_snapshot) -> None: method test_inifilename (line 1409) | def test_inifilename(self, tmp_path: Path) -> None: function test_options_on_small_file_do_not_blow_up (line 1458) | def test_options_on_small_file_do_not_blow_up(pytester: Pytester) -> None: function test_preparse_ordering_with_setuptools (line 1486) | def test_preparse_ordering_with_setuptools( function test_setuptools_importerror_issue1479 (line 1521) | def test_setuptools_importerror_issue1479( function test_importlib_metadata_broken_distribution (line 1547) | def test_importlib_metadata_broken_distribution( function test_plugin_preparse_prevents_setuptools_loading (line 1574) | def test_plugin_preparse_prevents_setuptools_loading( function test_disable_plugin_autoload (line 1612) | def test_disable_plugin_autoload( function test_plugin_loading_order (line 1693) | def test_plugin_loading_order(pytester: Pytester) -> None: function test_invalid_options_show_extra_information (line 1717) | def test_invalid_options_show_extra_information(pytester: Pytester) -> N... function test_consider_args_after_options_for_rootdir (line 1745) | def test_consider_args_after_options_for_rootdir( function test_toolongargs_issue224 (line 1769) | def test_toolongargs_issue224(pytester: Pytester) -> None: function test_config_in_subdirectory_colon_command_line_issue2148 (line 1774) | def test_config_in_subdirectory_colon_command_line_issue2148( function test_notify_exception (line 1802) | def test_notify_exception(pytester: Pytester, capfd) -> None: function test_no_terminal_discovery_error (line 1827) | def test_no_terminal_discovery_error(pytester: Pytester) -> None: function test_load_initial_conftest_last_ordering (line 1833) | def test_load_initial_conftest_last_ordering(_config_for_test): function test_get_plugin_specs_as_list (line 1859) | def test_get_plugin_specs_as_list() -> None: function test_collect_pytest_prefix_bug_integration (line 1879) | def test_collect_pytest_prefix_bug_integration(pytester: Pytester) -> None: function test_collect_pytest_prefix_bug (line 1886) | def test_collect_pytest_prefix_bug(pytestconfig): class TestRootdir (line 1897) | class TestRootdir: method test_simple_noini (line 1898) | def test_simple_noini(self, tmp_path: Path, monkeypatch: MonkeyPatch) ... method test_with_ini (line 1921) | def test_with_ini(self, tmp_path: Path, name: str, contents: str) -> N... method test_pytestini_overrides_empty_other (line 1952) | def test_pytestini_overrides_empty_other( method test_setuppy_fallback (line 1970) | def test_setuppy_fallback(self, tmp_path: Path) -> None: method test_nothing (line 1986) | def test_nothing(self, tmp_path: Path, monkeypatch: MonkeyPatch) -> None: method test_with_specific_inifile (line 2010) | def test_with_specific_inifile( method test_explicit_config_file_sets_rootdir (line 2027) | def test_explicit_config_file_sets_rootdir( method test_with_arg_outside_cwd_without_inifile (line 2059) | def test_with_arg_outside_cwd_without_inifile( method test_with_arg_outside_cwd_with_inifile (line 2077) | def test_with_arg_outside_cwd_with_inifile(self, tmp_path: Path) -> None: method test_with_non_dir_arg (line 2095) | def test_with_non_dir_arg( method test_with_existing_file_in_subdir (line 2109) | def test_with_existing_file_in_subdir( method test_with_config_also_in_parent_directory (line 2126) | def test_with_config_also_in_parent_directory( class TestOverrideIniArgs (line 2148) | class TestOverrideIniArgs: method test_override_ini_names (line 2150) | def test_override_ini_names(self, pytester: Pytester, name: str) -> None: method test_override_ini_paths (line 2182) | def test_override_ini_paths(self, pytester: Pytester) -> None: method test_override_multiple_and_default (line 2207) | def test_override_multiple_and_default(self, pytester: Pytester) -> None: method test_override_ini_usage_error_bad_style (line 2253) | def test_override_ini_usage_error_bad_style(self, pytester: Pytester) ... method test_override_ini_handled_asap (line 2268) | def test_override_ini_handled_asap( method test_addopts_before_initini (line 2288) | def test_addopts_before_initini( method test_addopts_from_env_not_concatenated (line 2299) | def test_addopts_from_env_not_concatenated( method test_addopts_from_ini_not_concatenated (line 2313) | def test_addopts_from_ini_not_concatenated(self, pytester: Pytester) -... method test_override_ini_does_not_contain_paths (line 2330) | def test_override_ini_does_not_contain_paths( method test_multiple_override_ini_options (line 2340) | def test_multiple_override_ini_options(self, pytester: Pytester) -> None: method test_override_ini_without_config_file (line 2364) | def test_override_ini_without_config_file(self, pytester: Pytester) ->... method test_override_ini_invalid_option (line 2376) | def test_override_ini_invalid_option(self, pytester: Pytester) -> None: function test_help_via_addopts (line 2386) | def test_help_via_addopts(pytester: Pytester) -> None: function test_help_and_version_after_argument_error (line 2405) | def test_help_and_version_after_argument_error(pytester: Pytester) -> None: function test_help_formatter_uses_py_get_terminal_width (line 2448) | def test_help_formatter_uses_py_get_terminal_width(monkeypatch: MonkeyPa... function test_config_does_not_load_blocked_plugin_from_args (line 2463) | def test_config_does_not_load_blocked_plugin_from_args(pytester: Pyteste... function test_invocation_args (line 2483) | def test_invocation_args(pytester: Pytester) -> None: function test_config_blocked_default_plugins (line 2519) | def test_config_blocked_default_plugins(pytester: Pytester, plugin: str)... class TestSetupCfg (line 2546) | class TestSetupCfg: method test_pytest_setup_cfg_unsupported (line 2547) | def test_pytest_setup_cfg_unsupported(self, pytester: Pytester) -> None: method test_pytest_custom_cfg_unsupported (line 2558) | def test_pytest_custom_cfg_unsupported(self, pytester: Pytester) -> None: class TestPytestPluginsVariable (line 2573) | class TestPytestPluginsVariable: method test_pytest_plugins_in_non_top_level_conftest_unsupported (line 2574) | def test_pytest_plugins_in_non_top_level_conftest_unsupported( method test_pytest_plugins_in_non_top_level_conftest_unsupported_pyargs (line 2596) | def test_pytest_plugins_in_non_top_level_conftest_unsupported_pyargs( method test_pytest_plugins_in_non_top_level_conftest_unsupported_no_top_level_conftest (line 2620) | def test_pytest_plugins_in_non_top_level_conftest_unsupported_no_top_l... method test_pytest_plugins_in_non_top_level_conftest_unsupported_no_false_positives (line 2646) | def test_pytest_plugins_in_non_top_level_conftest_unsupported_no_false... function test_conftest_import_error_repr (line 2666) | def test_conftest_import_error_repr(tmp_path: Path) -> None: function test_strtobool (line 2680) | def test_strtobool() -> None: function test_parse_warning_filter (line 2715) | def test_parse_warning_filter( function test_parse_warning_filter_failure (line 2736) | def test_parse_warning_filter_failure(arg: str) -> None: class TestDebugOptions (line 2741) | class TestDebugOptions: method test_without_debug_does_not_write_log (line 2742) | def test_without_debug_does_not_write_log(self, pytester: Pytester) ->... method test_with_only_debug_writes_pytestdebug_log (line 2752) | def test_with_only_debug_writes_pytestdebug_log(self, pytester: Pytest... method test_multiple_custom_debug_logs (line 2762) | def test_multiple_custom_debug_logs(self, pytester: Pytester) -> None: method test_debug_help (line 2782) | def test_debug_help(self, pytester: Pytester) -> None: class TestVerbosity (line 2793) | class TestVerbosity: class VerbosityIni (line 2797) | class VerbosityIni: method pytest_addoption (line 2798) | def pytest_addoption(self, parser: Parser) -> None: method test_level_matches_verbose_when_not_specified (line 2803) | def test_level_matches_verbose_when_not_specified( method test_level_matches_verbose_when_not_known_type (line 2824) | def test_level_matches_verbose_when_not_known_type( method test_level_matches_specified_override (line 2842) | def test_level_matches_specified_override( class TestNativeTomlConfig (line 2866) | class TestNativeTomlConfig: method test_values (line 2869) | def test_values(self, pytester: Pytester) -> None: method test_override_with_list (line 2901) | def test_override_with_list(self, pytester: Pytester) -> None: method test_conflict_between_native_and_ini_options (line 2920) | def test_conflict_between_native_and_ini_options(self, pytester: Pytes... method test_type_errors (line 2941) | def test_type_errors(self, pytester: Pytester) -> None: class TestInicfgDeprecation (line 3032) | class TestInicfgDeprecation: method test_inicfg_deprecated (line 3035) | def test_inicfg_deprecated(self, pytester: Pytester) -> None: method test_issue_13946_setting_bool_no_longer_crashes (line 3059) | def test_issue_13946_setting_bool_no_longer_crashes( FILE: testing/test_conftest.py function ConftestWithSetinitial (line 20) | def ConftestWithSetinitial(path) -> PytestPluginManager: function conftest_setinitial (line 26) | def conftest_setinitial( class TestConftestValueAccessGlobal (line 44) | class TestConftestValueAccessGlobal: method basedir (line 46) | def basedir(self, request, tmp_path_factory: TempPathFactory) -> Gener... method test_basic_init (line 61) | def test_basic_init(self, basedir: Path) -> None: method test_immediate_initialization_and_incremental_are_the_same (line 69) | def test_immediate_initialization_and_incremental_are_the_same( method test_value_access_not_existing (line 97) | def test_value_access_not_existing(self, basedir: Path) -> None: method test_value_access_by_path (line 102) | def test_value_access_by_path(self, basedir: Path) -> None: method test_value_access_with_confmod (line 120) | def test_value_access_with_confmod(self, basedir: Path) -> None: function test_conftest_in_nonpkg_with_init (line 132) | def test_conftest_in_nonpkg_with_init(tmp_path: Path, _sys_snapshot) -> ... function test_doubledash_considered (line 145) | def test_doubledash_considered(pytester: Pytester) -> None: function test_issue151_load_all_conftests (line 154) | def test_issue151_load_all_conftests(pytester: Pytester) -> None: function test_conftest_global_import (line 165) | def test_conftest_global_import(pytester: Pytester) -> None: function test_conftestcutdir (line 202) | def test_conftestcutdir(pytester: Pytester) -> None: function test_conftestcutdir_inplace_considered (line 241) | def test_conftestcutdir_inplace_considered(pytester: Pytester) -> None: function test_setinitial_conftest_subdirs (line 252) | def test_setinitial_conftest_subdirs(pytester: Pytester, name: str) -> N... function test_conftest_confcutdir (line 267) | def test_conftest_confcutdir(pytester: Pytester) -> None: function test_installed_conftest_is_picked_up (line 284) | def test_installed_conftest_is_picked_up(pytester: Pytester, tmp_path: P... function test_conftest_symlink (line 315) | def test_conftest_symlink(pytester: Pytester) -> None: function test_conftest_symlink_files (line 360) | def test_conftest_symlink_files(pytester: Pytester) -> None: function test_conftest_badcase (line 397) | def test_conftest_badcase(pytester: Pytester) -> None: function test_conftest_uppercase (line 408) | def test_conftest_uppercase(pytester: Pytester) -> None: function test_no_conftest (line 418) | def test_no_conftest(pytester: Pytester) -> None: function test_conftest_existing_junitxml (line 427) | def test_conftest_existing_junitxml(pytester: Pytester) -> None: function test_conftest_import_order (line 443) | def test_conftest_import_order(pytester: Pytester, monkeypatch: MonkeyPa... function test_fixture_dependency (line 466) | def test_fixture_dependency(pytester: Pytester) -> None: function test_conftest_found_with_double_dash (line 513) | def test_conftest_found_with_double_dash(pytester: Pytester) -> None: class TestConftestVisibility (line 534) | class TestConftestVisibility: method _setup_tree (line 535) | def _setup_tree(self, pytester: Pytester) -> dict[str, Path]: # for i... method test_parsefactories_relative_node_ids (line 632) | def test_parsefactories_relative_node_ids( function test_search_conftest_up_to_inifile (line 654) | def test_search_conftest_up_to_inifile( function test_issue1073_conftest_special_objects (line 708) | def test_issue1073_conftest_special_objects(pytester: Pytester) -> None: function test_conftest_exception_handling (line 728) | def test_conftest_exception_handling(pytester: Pytester) -> None: function test_hook_proxy (line 745) | def test_hook_proxy(pytester: Pytester) -> None: function test_required_option_help (line 767) | def test_required_option_help(pytester: Pytester) -> None: FILE: testing/test_debugging.py function pdb_env (line 14) | def pdb_env(request): function runpdb (line 21) | def runpdb(pytester: Pytester, source: str): function runpdb_and_get_stdout (line 26) | def runpdb_and_get_stdout(pytester: Pytester, source: str): function runpdb_and_get_report (line 31) | def runpdb_and_get_report(pytester: Pytester, source: str): function custom_pdb_calls (line 39) | def custom_pdb_calls() -> list[str]: function custom_debugger_hook (line 70) | def custom_debugger_hook(): class TestPDB (line 103) | class TestPDB: method pdblist (line 105) | def pdblist(self, request): method test_pdb_on_fail (line 116) | def test_pdb_on_fail(self, pytester: Pytester, pdblist) -> None: method test_pdb_on_xfail (line 132) | def test_pdb_on_xfail(self, pytester: Pytester, pdblist) -> None: method test_pdb_on_skip (line 145) | def test_pdb_on_skip(self, pytester, pdblist) -> None: method test_pdb_on_top_level_raise_skiptest (line 157) | def test_pdb_on_top_level_raise_skiptest(self, pytester, pdblist) -> N... method test_pdb_on_BdbQuit (line 167) | def test_pdb_on_BdbQuit(self, pytester, pdblist) -> None: method test_pdb_on_KeyboardInterrupt (line 179) | def test_pdb_on_KeyboardInterrupt(self, pytester, pdblist) -> None: method flush (line 191) | def flush(child): method test_pdb_unittest_postmortem (line 198) | def test_pdb_unittest_postmortem(self, pytester: Pytester) -> None: method test_pdb_unittest_skip (line 218) | def test_pdb_unittest_skip(self, pytester: Pytester) -> None: method test_pdb_print_captured_stdout_and_stderr (line 235) | def test_pdb_print_captured_stdout_and_stderr(self, pytester: Pytester... method test_pdb_dont_print_empty_captured_stdout_and_stderr (line 264) | def test_pdb_dont_print_empty_captured_stdout_and_stderr( method test_pdb_print_captured_logs (line 282) | def test_pdb_print_captured_logs(self, pytester, showcapture: str) -> ... method test_pdb_print_captured_logs_nologging (line 301) | def test_pdb_print_captured_logs_nologging(self, pytester: Pytester) -... method test_pdb_interaction_exception (line 320) | def test_pdb_interaction_exception(self, pytester: Pytester) -> None: method test_pdb_interaction_on_collection_issue181 (line 340) | def test_pdb_interaction_on_collection_issue181(self, pytester: Pytest... method test_pdb_interaction_on_internal_error (line 354) | def test_pdb_interaction_on_internal_error(self, pytester: Pytester) -... method test_pdb_prevent_ConftestImportFailure_hiding_exception (line 380) | def test_pdb_prevent_ConftestImportFailure_hiding_exception( method test_pdb_interaction_capturing_simple (line 397) | def test_pdb_interaction_capturing_simple(self, pytester: Pytester) ->... method test_pdb_set_trace_kwargs (line 421) | def test_pdb_set_trace_kwargs(self, pytester: Pytester) -> None: method test_pdb_set_trace_interception (line 444) | def test_pdb_set_trace_interception(self, pytester: Pytester) -> None: method test_pdb_and_capsys (line 462) | def test_pdb_and_capsys(self, pytester: Pytester) -> None: method test_pdb_with_caplog_on_pdb_invocation (line 479) | def test_pdb_with_caplog_on_pdb_invocation(self, pytester: Pytester) -... method test_set_trace_capturing_afterwards (line 497) | def test_set_trace_capturing_afterwards(self, pytester: Pytester) -> N... method test_pdb_interaction_doctest (line 518) | def test_pdb_interaction_doctest(self, pytester: Pytester) -> None: method test_doctest_set_trace_quit (line 544) | def test_doctest_set_trace_quit(self, pytester: Pytester) -> None: method test_pdb_interaction_capturing_twice (line 566) | def test_pdb_interaction_capturing_twice(self, pytester: Pytester) -> ... method test_pdb_with_injected_do_debug (line 602) | def test_pdb_with_injected_do_debug(self, pytester: Pytester) -> None: method test_pdb_without_capture (line 677) | def test_pdb_without_capture(self, pytester: Pytester) -> None: method test_pdb_continue_with_recursive_debug (line 694) | def test_pdb_continue_with_recursive_debug( method test_pdb_used_outside_test (line 786) | def test_pdb_used_outside_test(self, pytester: Pytester) -> None: method test_pdb_used_in_generate_tests (line 804) | def test_pdb_used_in_generate_tests(self, pytester: Pytester) -> None: method test_pdb_collection_failure_is_shown (line 825) | def test_pdb_collection_failure_is_shown(self, pytester: Pytester) -> ... method test_enter_leave_pdb_hooks_are_called (line 833) | def test_enter_leave_pdb_hooks_are_called( method test_pdb_custom_cls (line 888) | def test_pdb_custom_cls( method test_pdb_custom_cls_invalid (line 898) | def test_pdb_custom_cls_invalid(self, pytester: Pytester) -> None: method test_pdb_validate_usepdb_cls (line 906) | def test_pdb_validate_usepdb_cls(self): method test_pdb_custom_cls_without_pdb (line 914) | def test_pdb_custom_cls_without_pdb( method test_pdb_custom_cls_with_set_trace (line 922) | def test_pdb_custom_cls_with_set_trace( method test_pdb_exception_chain_navigation (line 959) | def test_pdb_exception_chain_navigation(self, pytester: Pytester) -> N... method test_pdb_wrapped_commands_docstrings (line 988) | def test_pdb_wrapped_commands_docstrings(self, pytester: Pytester) -> ... class TestDebuggingBreakpoints (line 1017) | class TestDebuggingBreakpoints: method test_sys_breakpointhook_configure_and_unconfigure (line 1019) | def test_sys_breakpointhook_configure_and_unconfigure( method test_pdb_custom_cls (line 1051) | def test_pdb_custom_cls( method test_environ_custom_class (line 1068) | def test_environ_custom_class( method test_sys_breakpoint_interception (line 1098) | def test_sys_breakpoint_interception( method test_pdb_not_altered (line 1118) | def test_pdb_not_altered(self, pytester: Pytester) -> None: class TestTraceOption (line 1137) | class TestTraceOption: method test_trace_sets_breakpoint (line 1138) | def test_trace_sets_breakpoint(self, pytester: Pytester) -> None: method test_trace_with_parametrize_handles_shared_fixtureinfo (line 1169) | def test_trace_with_parametrize_handles_shared_fixtureinfo( function test_trace_after_runpytest (line 1217) | def test_trace_after_runpytest(pytester: Pytester) -> None: function test_quit_with_swallowed_SystemExit (line 1248) | def test_quit_with_swallowed_SystemExit(pytester: Pytester) -> None: function test_pdb_suspends_fixture_capturing (line 1278) | def test_pdb_suspends_fixture_capturing(pytester: Pytester, fixture: str... function test_pdbcls_via_local_module (line 1323) | def test_pdbcls_via_local_module(pytester: Pytester) -> None: function test_raises_bdbquit_with_eoferror (line 1380) | def test_raises_bdbquit_with_eoferror(pytester: Pytester) -> None: function test_pdb_wrapper_class_is_reused (line 1399) | def test_pdb_wrapper_class_is_reused(pytester: Pytester) -> None: FILE: testing/test_doctest.py class TestDoctests (line 22) | class TestDoctests: method test_collect_testtextfile (line 23) | def test_collect_testtextfile(self, pytester: Pytester): method test_collect_module_empty (line 44) | def test_collect_module_empty(self, pytester: Pytester): method test_collect_module_single_modulelevel_doctest (line 50) | def test_collect_module_single_modulelevel_doctest(self, pytester: Pyt... method test_collect_module_two_doctest_one_modulelevel (line 58) | def test_collect_module_two_doctest_one_modulelevel(self, pytester: Py... method test_collect_module_two_doctest_no_modulelevel (line 75) | def test_collect_module_two_doctest_no_modulelevel( method test_simple_doctestfile (line 107) | def test_simple_doctestfile(self, pytester: Pytester): method test_importmode (line 118) | def test_importmode(self, pytester: Pytester): method test_new_pattern (line 144) | def test_new_pattern(self, pytester: Pytester): method test_multiple_patterns (line 155) | def test_multiple_patterns(self, pytester: Pytester): method test_encoding (line 188) | def test_encoding(self, pytester, test_string, encoding): method test_doctest_unexpected_exception (line 207) | def test_doctest_unexpected_exception(self, pytester: Pytester): method test_doctest_outcomes (line 239) | def test_doctest_outcomes(self, pytester: Pytester): method test_docstring_partial_context_around_error (line 275) | def test_docstring_partial_context_around_error(self, pytester: Pytest... method test_docstring_full_context_around_error (line 319) | def test_docstring_full_context_around_error(self, pytester: Pytester): method test_doctest_linedata_missing (line 349) | def test_doctest_linedata_missing(self, pytester: Pytester): method test_doctest_linedata_on_property (line 369) | def test_doctest_linedata_on_property(self, pytester: Pytester): method test_doctest_no_linedata_on_overridden_property (line 399) | def test_doctest_no_linedata_on_overridden_property(self, pytester: Py... method test_doctest_unex_importerror_only_txt (line 430) | def test_doctest_unex_importerror_only_txt(self, pytester: Pytester): method test_doctest_unex_importerror_with_module (line 447) | def test_doctest_unex_importerror_with_module(self, pytester: Pytester): method test_doctestmodule (line 472) | def test_doctestmodule(self, pytester: Pytester): method test_doctest_cached_property (line 486) | def test_doctest_cached_property(self, pytester: Pytester): method test_doctestmodule_external_and_issue116 (line 504) | def test_doctestmodule_external_and_issue116(self, pytester: Pytester): method test_txtfile_failing (line 532) | def test_txtfile_failing(self, pytester: Pytester): method test_txtfile_with_fixtures (line 553) | def test_txtfile_with_fixtures(self, pytester: Pytester): method test_txtfile_with_usefixtures_in_ini (line 564) | def test_txtfile_with_usefixtures_in_ini(self, pytester: Pytester): method test_doctestmodule_with_fixtures (line 590) | def test_doctestmodule_with_fixtures(self, pytester: Pytester): method test_doctestmodule_three_tests (line 603) | def test_doctestmodule_three_tests(self, pytester: Pytester): method test_doctestmodule_two_tests_one_fail (line 630) | def test_doctestmodule_two_tests_one_fail(self, pytester: Pytester): method test_ignored_whitespace (line 651) | def test_ignored_whitespace(self, pytester: Pytester): method test_non_ignored_whitespace (line 672) | def test_non_ignored_whitespace(self, pytester: Pytester): method test_ignored_whitespace_glob (line 693) | def test_ignored_whitespace_glob(self, pytester: Pytester): method test_non_ignored_whitespace_glob (line 710) | def test_non_ignored_whitespace_glob(self, pytester: Pytester): method test_contains_unicode (line 727) | def test_contains_unicode(self, pytester: Pytester): method test_ignore_import_errors_on_doctest (line 741) | def test_ignore_import_errors_on_doctest(self, pytester: Pytester): method test_junit_report_for_doctest (line 760) | def test_junit_report_for_doctest(self, pytester: Pytester): method test_unicode_doctest (line 775) | def test_unicode_doctest(self, pytester: Pytester): method test_unicode_doctest_module (line 797) | def test_unicode_doctest_module(self, pytester: Pytester): method test_print_unicode_value (line 815) | def test_print_unicode_value(self, pytester: Pytester): method test_reportinfo (line 831) | def test_reportinfo(self, pytester: Pytester): method test_valid_setup_py (line 847) | def test_valid_setup_py(self, pytester: Pytester): method test_main_py_does_not_cause_import_errors (line 866) | def test_main_py_does_not_cause_import_errors(self, pytester: Pytester): method test_invalid_setup_py (line 871) | def test_invalid_setup_py(self, pytester: Pytester): method test_setup_module (line 885) | def test_setup_module(self, pytester: Pytester) -> None: class TestLiterals (line 905) | class TestLiterals: method test_allow_unicode (line 907) | def test_allow_unicode(self, pytester, config_mode): method test_allow_bytes (line 942) | def test_allow_bytes(self, pytester, config_mode): method test_unicode_string (line 976) | def test_unicode_string(self, pytester: Pytester): method test_bytes_literal (line 990) | def test_bytes_literal(self, pytester: Pytester): method test_number_re (line 1003) | def test_number_re(self) -> None: method test_number_precision (line 1034) | def test_number_precision(self, pytester, config_mode): method test_number_non_matches (line 1126) | def test_number_non_matches(self, pytester, expression, output): method test_number_and_allow_unicode (line 1136) | def test_number_and_allow_unicode(self, pytester: Pytester): class TestDoctestSkips (line 1149) | class TestDoctestSkips: method makedoctest (line 1156) | def makedoctest(self, pytester, request): method test_one_skipped (line 1167) | def test_one_skipped(self, pytester, makedoctest): method test_one_skipped_failed (line 1179) | def test_one_skipped_failed(self, pytester, makedoctest): method test_all_skipped (line 1191) | def test_all_skipped(self, pytester, makedoctest): method test_vacuous_all_skipped (line 1203) | def test_vacuous_all_skipped(self, pytester, makedoctest): method test_continue_on_failure (line 1208) | def test_continue_on_failure(self, pytester: Pytester): method test_skipping_wrapped_test (line 1231) | def test_skipping_wrapped_test(self, pytester): class TestDoctestAutoUseFixtures (line 1267) | class TestDoctestAutoUseFixtures: method test_doctest_module_session_fixture (line 1270) | def test_doctest_module_session_fixture(self, pytester: Pytester): method test_fixture_scopes (line 1307) | def test_fixture_scopes(self, pytester, scope, enable_doctest): method test_fixture_module_doctest_scopes (line 1339) | def test_fixture_module_doctest_scopes( method test_auto_use_request_attributes (line 1373) | def test_auto_use_request_attributes(self, pytester, scope): method test_auto_use_defined_in_same_module (line 1403) | def test_auto_use_defined_in_same_module( class TestDoctestNamespaceFixture (line 1435) | class TestDoctestNamespaceFixture: method test_namespace_doctestfile (line 1439) | def test_namespace_doctestfile(self, pytester, scope): method test_namespace_pyfile (line 1464) | def test_namespace_pyfile(self, pytester, scope): class TestDoctestReportingOption (line 1492) | class TestDoctestReportingOption: method _run_doctest_report (line 1493) | def _run_doctest_report(self, pytester, format): method test_doctest_report_udiff (line 1513) | def test_doctest_report_udiff(self, pytester, format): method test_doctest_report_cdiff (line 1519) | def test_doctest_report_cdiff(self, pytester: Pytester): method test_doctest_report_ndiff (line 1535) | def test_doctest_report_ndiff(self, pytester: Pytester): method test_doctest_report_none_or_only_first_failure (line 1550) | def test_doctest_report_none_or_only_first_failure(self, pytester, for... method test_doctest_report_invalid (line 1567) | def test_doctest_report_invalid(self, pytester: Pytester): function test_doctest_mock_objects_dont_recurse_missbehaved (line 1577) | def test_doctest_mock_objects_dont_recurse_missbehaved(mock_module, pyte... class Broken (line 1593) | class Broken: method __getattr__ (line 1594) | def __getattr__(self, _): function test_warning_on_unwrap_of_broken_object (line 1608) | def test_warning_on_unwrap_of_broken_object( function test_is_setup_py_not_named_setup_py (line 1623) | def test_is_setup_py_not_named_setup_py(tmp_path: Path) -> None: function test_is_setup_py_is_a_setup_py (line 1632) | def test_is_setup_py_is_a_setup_py(tmp_path: Path, mod: str) -> None: function test_is_setup_py_different_encoding (line 1639) | def test_is_setup_py_different_encoding(tmp_path: Path, mod: str) -> None: function test_is_main_py (line 1652) | def test_is_main_py(tmp_path: Path, name: str, expected: bool) -> None: FILE: testing/test_entry_points.py function test_pytest_entry_points_are_identical (line 7) | def test_pytest_entry_points_are_identical(): FILE: testing/test_error_diffs.py function test_error_diff (line 291) | def test_error_diff(code: str, expected: str, pytester: Pytester) -> None: FILE: testing/test_faulthandler.py function test_enabled (line 12) | def test_enabled(pytester: Pytester) -> None: function setup_crashing_test (line 26) | def setup_crashing_test(pytester: Pytester) -> None: function test_crash_during_shutdown_captured (line 37) | def test_crash_during_shutdown_captured(pytester: Pytester) -> None: function test_crash_during_shutdown_not_captured (line 49) | def test_crash_during_shutdown_not_captured(pytester: Pytester) -> None: function test_disabled (line 61) | def test_disabled(pytester: Pytester) -> None: function test_timeout (line 91) | def test_timeout(pytester: Pytester, enabled: bool) -> None: function test_timeout_and_exit (line 127) | def test_timeout_and_exit(pytester: Pytester, exit_on_timeout: bool) -> ... function test_cancel_timeout_on_hook (line 159) | def test_cancel_timeout_on_hook(monkeypatch, hook_name) -> None: function test_already_initialized_crash (line 180) | def test_already_initialized_crash(pytester: Pytester) -> None: function test_get_stderr_fileno_invalid_fd (line 200) | def test_get_stderr_fileno_invalid_fd() -> None: FILE: testing/test_findpaths.py class TestLoadConfigDictFromFile (line 17) | class TestLoadConfigDictFromFile: method test_empty_pytest_ini (line 19) | def test_empty_pytest_ini(self, tmp_path: Path, filename: str) -> None: method test_pytest_ini (line 25) | def test_pytest_ini(self, tmp_path: Path) -> None: method test_custom_ini (line 33) | def test_custom_ini(self, tmp_path: Path) -> None: method test_custom_ini_without_section (line 41) | def test_custom_ini_without_section(self, tmp_path: Path) -> None: method test_custom_cfg_file (line 47) | def test_custom_cfg_file(self, tmp_path: Path) -> None: method test_valid_cfg_file (line 53) | def test_valid_cfg_file(self, tmp_path: Path) -> None: method test_unsupported_pytest_section_in_cfg_file (line 61) | def test_unsupported_pytest_section_in_cfg_file(self, tmp_path: Path) ... method test_invalid_toml_file (line 68) | def test_invalid_toml_file(self, tmp_path: Path) -> None: method test_custom_toml_file (line 75) | def test_custom_toml_file(self, tmp_path: Path) -> None: method test_valid_toml_file (line 89) | def test_valid_toml_file(self, tmp_path: Path) -> None: method test_native_toml_config (line 114) | def test_native_toml_config(self, tmp_path: Path) -> None: method test_native_and_ini_conflict (line 147) | def test_native_and_ini_conflict(self, tmp_path: Path) -> None: method test_invalid_suffix (line 165) | def test_invalid_suffix(self, tmp_path: Path) -> None: class TestCommonAncestor (line 172) | class TestCommonAncestor: method test_has_ancestor (line 173) | def test_has_ancestor(self, tmp_path: Path) -> None: method test_single_dir (line 186) | def test_single_dir(self, tmp_path: Path) -> None: method test_single_file (line 189) | def test_single_file(self, tmp_path: Path) -> None: function test_get_dirs_from_args (line 195) | def test_get_dirs_from_args(tmp_path): function test_is_fs_root (line 220) | def test_is_fs_root(path: Path, expected: bool) -> None: FILE: testing/test_helpconfig.py function test_version_verbose (line 9) | def test_version_verbose(pytester: Pytester, pytestconfig, monkeypatch) ... function test_version_less_verbose (line 19) | def test_version_less_verbose(pytester: Pytester) -> None: function test_versions (line 27) | def test_versions() -> None: function test_help (line 33) | def test_help(pytester: Pytester) -> None: function test_none_help_param_raises_exception (line 53) | def test_none_help_param_raises_exception(pytester: Pytester) -> None: function test_empty_help_param (line 67) | def test_empty_help_param(pytester: Pytester) -> None: function test_parse_known_args_doesnt_quit_on_help (line 86) | def test_parse_known_args_doesnt_quit_on_help(pytester: Pytester) -> None: function test_hookvalidation_unknown (line 94) | def test_hookvalidation_unknown(pytester: Pytester) -> None: function test_hookvalidation_optional (line 106) | def test_hookvalidation_optional(pytester: Pytester) -> None: function test_traceconfig (line 119) | def test_traceconfig(pytester: Pytester) -> None: function test_debug (line 124) | def test_debug(pytester: Pytester) -> None: function test_PYTEST_DEBUG (line 131) | def test_PYTEST_DEBUG(pytester: Pytester, monkeypatch) -> None: FILE: testing/test_junitxml.py function schema (line 29) | def schema() -> xmlschema.XMLSchema: class RunAndParse (line 36) | class RunAndParse: method __init__ (line 37) | def __init__(self, pytester: Pytester, schema: xmlschema.XMLSchema) ->... method __call__ (line 41) | def __call__( function run_and_parse (line 56) | def run_and_parse(pytester: Pytester, schema: xmlschema.XMLSchema) -> Ru... function assert_attr (line 66) | def assert_attr(node: minidom.Element, **kwargs: object) -> None: class DomDocument (line 78) | class DomDocument: method __init__ (line 81) | def __init__(self, dom: minidom.Document) -> None: method find_first_by_tag (line 84) | def find_first_by_tag(self, tag: str) -> DomNode | None: method get_first_by_tag (line 87) | def get_first_by_tag(self, tag: str) -> DomNode: method find_nth_by_tag (line 94) | def find_nth_by_tag(self, tag: str, n: int) -> DomNode | None: method find_by_tag (line 103) | def find_by_tag(self, tag: str) -> list[DomNode]: method children (line 107) | def children(self) -> list[DomNode]: method get_unique_child (line 113) | def get_unique_child(self) -> DomNode: method toxml (line 118) | def toxml(self) -> str: class DomNode (line 122) | class DomNode(DomDocument): method __init__ (line 125) | def __init__(self, dom: minidom.Element) -> None: method __repr__ (line 128) | def __repr__(self) -> str: method __getitem__ (line 131) | def __getitem__(self, key: str) -> str: method assert_attr (line 138) | def assert_attr(self, **kwargs: object) -> None: method text (line 143) | def text(self) -> str: method tag (line 149) | def tag(self) -> str: class TestJunitHelpers (line 153) | class TestJunitHelpers: method document (line 157) | def document(self) -> DomDocument: method test_uc_root (line 166) | def test_uc_root(self, document: DomDocument) -> None: method test_node_assert_attr (line 169) | def test_node_assert_attr(self, document: DomDocument) -> None: method test_node_getitem (line 177) | def test_node_getitem(self, document: DomDocument) -> None: method test_node_get_first_lookup (line 184) | def test_node_get_first_lookup(self, document: DomDocument) -> None: method test_node_repr (line 188) | def test_node_repr(self, document: DomDocument) -> None: class TestPython (line 198) | class TestPython: method test_summing_simple (line 200) | def test_summing_simple( method test_summing_simple_with_errors (line 226) | def test_summing_simple_with_errors( method test_hostname_in_xml (line 255) | def test_hostname_in_xml( method test_timestamp_in_xml (line 269) | def test_timestamp_in_xml( method test_timing_function (line 284) | def test_timing_function( method test_junit_duration_report (line 309) | def test_junit_duration_report( method test_setup_error (line 343) | def test_setup_error( method test_teardown_error (line 368) | def test_teardown_error( method test_call_failure_teardown_error (line 393) | def test_call_failure_teardown_error( method test_skip_contains_name_reason (line 424) | def test_skip_contains_name_reason( method test_mark_skip_contains_name_reason (line 444) | def test_mark_skip_contains_name_reason( method test_mark_skipif_contains_name_reason (line 467) | def test_mark_skipif_contains_name_reason( method test_mark_skip_doesnt_capture_output (line 491) | def test_mark_skip_doesnt_capture_output( method test_classname_instance (line 508) | def test_classname_instance( method test_classname_nested_dir (line 528) | def test_classname_nested_dir( method test_internal_error (line 541) | def test_internal_error( method test_failure_function (line 560) | def test_failure_function( method test_failure_verbose_message (line 628) | def test_failure_verbose_message( method test_failure_escape (line 645) | def test_failure_escape( method test_junit_prefixing (line 673) | def test_junit_prefixing( method test_xfailure_function (line 697) | def test_xfailure_function( method test_xfailure_marker (line 717) | def test_xfailure_marker( method test_xfail_captures_output_once (line 740) | def test_xfail_captures_output_once( method test_xfailure_xpass (line 769) | def test_xfailure_xpass( method test_xfailure_xpass_strict (line 788) | def test_xfailure_xpass_strict( method test_collect_error (line 809) | def test_collect_error( method test_unicode (line 822) | def test_unicode(self, pytester: Pytester, run_and_parse: RunAndParse)... method test_assertion_binchars (line 838) | def test_assertion_binchars( method test_pass_captures_stdout (line 856) | def test_pass_captures_stdout( method test_pass_captures_stderr (line 879) | def test_pass_captures_stderr( method test_setup_error_captures_stdout (line 903) | def test_setup_error_captures_stdout( method test_setup_error_captures_stderr (line 932) | def test_setup_error_captures_stderr( method test_avoid_double_stdout (line 962) | def test_avoid_double_stdout( function test_mangle_test_address (line 992) | def test_mangle_test_address() -> None: function test_dont_configure_on_workers (line 1000) | def test_dont_configure_on_workers(tmp_path: Path) -> None: class TestNonPython (line 1030) | class TestNonPython: method test_summing_simple (line 1032) | def test_summing_simple( function test_nullbyte (line 1061) | def test_nullbyte(pytester: Pytester, junit_logging: str) -> None: function test_nullbyte_replace (line 1083) | def test_nullbyte_replace(pytester: Pytester, junit_logging: str) -> None: function test_invalid_xml_escape (line 1103) | def test_invalid_xml_escape() -> None: function test_logxml_path_expansion (line 1139) | def test_logxml_path_expansion(tmp_path: Path, monkeypatch: MonkeyPatch)... function test_logxml_changingdir (line 1150) | def test_logxml_changingdir(pytester: Pytester) -> None: function test_logxml_makedir (line 1164) | def test_logxml_makedir(pytester: Pytester) -> None: function test_logxml_check_isdir (line 1177) | def test_logxml_check_isdir(pytester: Pytester) -> None: function test_escaped_parametrized_names_xml (line 1183) | def test_escaped_parametrized_names_xml( function test_double_colon_split_function_issue469 (line 1200) | def test_double_colon_split_function_issue469( function test_double_colon_split_method_issue469 (line 1218) | def test_double_colon_split_method_issue469( function test_unicode_issue368 (line 1237) | def test_unicode_issue368(pytester: Pytester) -> None: function test_record_property (line 1267) | def test_record_property(pytester: Pytester, run_and_parse: RunAndParse)... function test_record_property_on_test_and_teardown_failure (line 1289) | def test_record_property_on_test_and_teardown_failure( function test_record_property_same_name (line 1319) | def test_record_property_same_name( function test_record_fixtures_without_junitxml (line 1339) | def test_record_fixtures_without_junitxml( function test_record_attribute (line 1353) | def test_record_attribute(pytester: Pytester, run_and_parse: RunAndParse... function test_record_fixtures_xunit2 (line 1383) | def test_record_fixtures_xunit2( function test_random_report_log_xdist (line 1418) | def test_random_report_log_xdist( function test_root_testsuites_tag (line 1445) | def test_root_testsuites_tag( function test_runs_twice (line 1462) | def test_runs_twice(pytester: Pytester, run_and_parse: RunAndParse) -> N... function test_runs_twice_xdist (line 1476) | def test_runs_twice_xdist( function test_fancy_items_regression (line 1494) | def test_fancy_items_regression(pytester: Pytester, run_and_parse: RunAn... function test_global_properties (line 1552) | def test_global_properties(pytester: Pytester, xunit_family: str) -> None: function test_url_property (line 1586) | def test_url_property(pytester: Pytester) -> None: function test_record_testsuite_property (line 1613) | def test_record_testsuite_property( function test_record_testsuite_property_junit_disabled (line 1636) | def test_record_testsuite_property_junit_disabled(pytester: Pytester) ->... function test_record_testsuite_property_type_checking (line 1648) | def test_record_testsuite_property_type_checking( function test_set_suite_name (line 1667) | def test_set_suite_name( function test_escaped_skipreason_issue3533 (line 1695) | def test_escaped_skipreason_issue3533( function test_bin_escaped_skipreason (line 1713) | def test_bin_escaped_skipreason(pytester: Pytester, run_and_parse: RunAn... function test_escaped_setup_teardown_error (line 1730) | def test_escaped_setup_teardown_error( function test_logging_passing_tests_disabled_does_not_log_test_output (line 1753) | def test_logging_passing_tests_disabled_does_not_log_test_output( function test_logging_passing_tests_disabled_logs_output_for_failing_test_issue5430 (line 1785) | def test_logging_passing_tests_disabled_logs_output_for_failing_test_iss... function test_no_message_quiet (line 1826) | def test_no_message_quiet(pytester: Pytester) -> None: FILE: testing/test_legacypath.py function test_item_fspath (line 13) | def test_item_fspath(pytester: pytest.Pytester) -> None: function test_testdir_testtmproot (line 25) | def test_testdir_testtmproot(testdir: Testdir) -> None: function test_testdir_makefile_dot_prefixes_extension_silently (line 30) | def test_testdir_makefile_dot_prefixes_extension_silently( function test_testdir_makefile_ext_none_raises_type_error (line 38) | def test_testdir_makefile_ext_none_raises_type_error(testdir: Testdir) -... function test_testdir_makefile_ext_empty_string_makes_file (line 44) | def test_testdir_makefile_ext_empty_string_makes_file(testdir: Testdir) ... function attempt_symlink_to (line 50) | def attempt_symlink_to(path: str, to_path: str) -> None: function test_tmpdir_factory (line 59) | def test_tmpdir_factory( function test_tmpdir_equals_tmp_path (line 68) | def test_tmpdir_equals_tmp_path(tmpdir: LEGACY_PATH, tmp_path: Path) -> ... function test_tmpdir_always_is_realpath (line 72) | def test_tmpdir_always_is_realpath(pytester: pytest.Pytester) -> None: function test_cache_makedir (line 88) | def test_cache_makedir(cache: pytest.Cache) -> None: function test_fixturerequest_getmodulepath (line 94) | def test_fixturerequest_getmodulepath(pytester: pytest.Pytester) -> None: class TestFixtureRequestSessionScoped (line 103) | class TestFixtureRequestSessionScoped: method session_request (line 105) | def session_request(self, request): method test_session_scoped_unavailable_attributes (line 108) | def test_session_scoped_unavailable_attributes(self, session_request): function test_addini_paths (line 117) | def test_addini_paths(pytester: pytest.Pytester, config_type: str) -> None: function test_override_ini_paths (line 147) | def test_override_ini_paths(pytester: pytest.Pytester) -> None: function test_inifile_from_cmdline_main_hook (line 171) | def test_inifile_from_cmdline_main_hook(pytester: pytest.Pytester) -> None: FILE: testing/test_link_resolve.py function subst_path_windows (line 16) | def subst_path_windows(filepath: Path): function subst_path_linux (line 40) | def subst_path_linux(filepath: Path): function test_link_resolve (line 54) | def test_link_resolve(pytester: Pytester) -> None: FILE: testing/test_main.py function test_wrap_session_notify_exception (line 26) | def test_wrap_session_notify_exception(ret_exc, pytester: Pytester) -> N... function test_wrap_session_exit_sessionfinish (line 69) | def test_wrap_session_exit_sessionfinish( function test_validate_basetemp_ok (line 89) | def test_validate_basetemp_ok(tmp_path, basetemp, monkeypatch): function test_validate_basetemp_fails (line 95) | def test_validate_basetemp_fails(tmp_path, basetemp, monkeypatch): function test_validate_basetemp_integration (line 104) | def test_validate_basetemp_integration(pytester: Pytester) -> None: class TestResolveCollectionArgument (line 109) | class TestResolveCollectionArgument: method invocation_path (line 111) | def invocation_path(self, pytester: Pytester) -> Path: method test_file (line 121) | def test_file(self, invocation_path: Path) -> None: method test_dir (line 169) | def test_dir(self, invocation_path: Path) -> None: method test_pypath (line 192) | def test_pypath(self, namespace_package: bool, invocation_path: Path) ... method test_parametrized_name_with_colons (line 241) | def test_parametrized_name_with_colons(self, invocation_path: Path) ->... method test_path_parametrization_not_allowed (line 255) | def test_path_parametrization_not_allowed( method test_does_not_exist (line 263) | def test_does_not_exist(self, invocation_path: Path) -> None: method test_absolute_paths_are_resolved_correctly (line 278) | def test_absolute_paths_are_resolved_correctly(self, invocation_path: ... function test_module_full_path_without_drive (line 305) | def test_module_full_path_without_drive(pytester: Pytester) -> None: function test_very_long_cmdline_arg (line 344) | def test_very_long_cmdline_arg(pytester: Pytester) -> None: FILE: testing/test_mark.py class TestMark (line 17) | class TestMark: method test_pytest_exists_in_namespace_all (line 19) | def test_pytest_exists_in_namespace_all(self, attr: str) -> None: method test_pytest_mark_notcallable (line 23) | def test_pytest_mark_notcallable(self) -> None: method test_mark_with_param (line 28) | def test_mark_with_param(self): method test_pytest_mark_name_starts_with_underscore (line 42) | def test_pytest_mark_name_starts_with_underscore(self) -> None: function test_marked_class_run_twice (line 48) | def test_marked_class_run_twice(pytester: Pytester) -> None: function test_ini_markers (line 66) | def test_ini_markers(pytester: Pytester) -> None: function test_markers_option (line 89) | def test_markers_option(pytester: Pytester) -> None: function test_ini_markers_whitespace (line 105) | def test_ini_markers_whitespace(pytester: Pytester) -> None: function test_marker_without_description (line 126) | def test_marker_without_description(pytester: Pytester) -> None: function test_markers_option_with_plugin_in_current_dir (line 146) | def test_markers_option_with_plugin_in_current_dir(pytester: Pytester) -... function test_mark_on_pseudo_function (line 172) | def test_mark_on_pseudo_function(pytester: Pytester) -> None: function test_strict_prohibits_unregistered_markers (line 189) | def test_strict_prohibits_unregistered_markers( function test_mark_option (line 227) | def test_mark_option( function test_mark_option_with_kwargs (line 263) | def test_mark_option_with_kwargs( function test_mark_option_custom (line 299) | def test_mark_option_custom( function test_keyword_option_custom (line 337) | def test_keyword_option_custom( function test_keyword_option_considers_mark (line 360) | def test_keyword_option_considers_mark(pytester: Pytester) -> None: function test_keyword_option_parametrize (line 375) | def test_keyword_option_parametrize( function test_parametrize_with_module (line 392) | def test_parametrize_with_module(pytester: Pytester) -> None: function test_keyword_option_wrong_arguments (line 440) | def test_keyword_option_wrong_arguments( function test_parametrized_collected_from_command_line (line 454) | def test_parametrized_collected_from_command_line(pytester: Pytester) ->... function test_parametrized_collect_with_wrong_args (line 470) | def test_parametrized_collect_with_wrong_args(pytester: Pytester) -> None: function test_parametrized_with_kwargs (line 493) | def test_parametrized_with_kwargs(pytester: Pytester) -> None: function test_parametrize_iterator (line 513) | def test_parametrize_iterator(pytester: Pytester) -> None: class TestFunctional (line 535) | class TestFunctional: method test_merging_markers_deep (line 536) | def test_merging_markers_deep(self, pytester: Pytester) -> None: method test_mark_decorator_subclass_does_not_propagate_to_base (line 556) | def test_mark_decorator_subclass_does_not_propagate_to_base( method test_mark_should_not_pass_to_siebling_class (line 577) | def test_mark_should_not_pass_to_siebling_class(self, pytester: Pytest... method test_mark_decorator_baseclasses_merged (line 605) | def test_mark_decorator_baseclasses_merged(self, pytester: Pytester) -... method test_mark_closest (line 628) | def test_mark_closest(self, pytester: Pytester) -> None: method test_mark_with_wrong_marker (line 654) | def test_mark_with_wrong_marker(self, pytester: Pytester) -> None: method test_mark_dynamically_in_funcarg (line 668) | def test_mark_dynamically_in_funcarg(self, pytester: Pytester) -> None: method test_no_marker_match_on_unmarked_names (line 689) | def test_no_marker_match_on_unmarked_names(self, pytester: Pytester) -... method test_keywords_at_node_level (line 708) | def test_keywords_at_node_level(self, pytester: Pytester) -> None: method test_keyword_added_for_session (line 730) | def test_keyword_added_for_session(self, pytester: Pytester) -> None: method assert_markers (line 758) | def assert_markers(self, items, **expected) -> None: method test_mark_from_parameters (line 771) | def test_mark_from_parameters(self, pytester: Pytester) -> None: method test_reevaluate_dynamic_expr (line 795) | def test_reevaluate_dynamic_expr(self, pytester: Pytester) -> None: class TestKeywordSelection (line 826) | class TestKeywordSelection: method test_select_simple (line 827) | def test_select_simple(self, pytester: Pytester) -> None: method test_select_extra_keywords (line 860) | def test_select_extra_keywords(self, pytester: Pytester, keyword) -> N... method test_keyword_extra (line 890) | def test_keyword_extra(self, pytester: Pytester) -> None: method test_keyword_extra_dash (line 903) | def test_keyword_extra_dash(self, pytester: Pytester) -> None: method test_no_magic_values (line 921) | def test_no_magic_values(self, pytester: Pytester, keyword: str) -> None: method test_no_match_directories_outside_the_suite (line 938) | def test_no_match_directories_outside_the_suite( class TestMarkDecorator (line 974) | class TestMarkDecorator: method test__eq__ (line 984) | def test__eq__(self, lhs, rhs, expected) -> None: method test_aliases (line 987) | def test_aliases(self) -> None: function test_parameterset_for_parametrize_marks (line 995) | def test_parameterset_for_parametrize_marks( function test_parameterset_for_fail_at_collect (line 1021) | def test_parameterset_for_fail_at_collect(pytester: Pytester) -> None: function test_paramset_empty_no_idfunc (line 1062) | def test_paramset_empty_no_idfunc( function test_parameterset_for_parametrize_bad_markname (line 1088) | def test_parameterset_for_parametrize_bad_markname(pytester: Pytester) -... function test_mark_expressions_no_smear (line 1093) | def test_mark_expressions_no_smear(pytester: Pytester) -> None: function test_addmarker_order (line 1128) | def test_addmarker_order(pytester) -> None: function test_markers_from_parametrize (line 1143) | def test_markers_from_parametrize(pytester: Pytester) -> None: function test_pytest_param_id_requires_string (line 1180) | def test_pytest_param_id_requires_string() -> None: function test_pytest_param_id_allows_none_or_string (line 1192) | def test_pytest_param_id_allows_none_or_string(s) -> None: function test_marker_expr_eval_failure_handling (line 1197) | def test_marker_expr_eval_failure_handling(pytester: Pytester, expr) -> ... function test_mark_mro (line 1213) | def test_mark_mro() -> None: function test_mark_fixture_order_mro (line 1238) | def test_mark_fixture_order_mro(pytester: Pytester): function test_mark_parametrize_over_staticmethod (line 1272) | def test_mark_parametrize_over_staticmethod(pytester: Pytester) -> None: function test_fixture_disallow_on_marked_functions (line 1307) | def test_fixture_disallow_on_marked_functions() -> None: function test_fixture_disallow_marks_on_fixtures (line 1321) | def test_fixture_disallow_marks_on_fixtures() -> None: function test_fixture_disallowed_between_marks (line 1335) | def test_fixture_disallowed_between_marks() -> None: FILE: testing/test_mark_expression.py function evaluate (line 9) | def evaluate(input: str, matcher: ExpressionMatcher) -> bool: function test_empty_is_false (line 13) | def test_empty_is_false() -> None: function test_basic (line 48) | def test_basic(expr: str, expected: bool) -> None: function test_syntax_oddities (line 66) | def test_syntax_oddities(expr: str, expected: bool) -> None: function test_backslash_not_treated_specially (line 73) | def test_backslash_not_treated_specially() -> None: function test_syntax_errors (line 137) | def test_syntax_errors(expr: str, column: int, message: str) -> None: function test_valid_idents (line 175) | def test_valid_idents(ident: str) -> None: function test_invalid_idents (line 204) | def test_invalid_idents(ident: str) -> None: function test_invalid_kwarg_name_or_value (line 239) | def test_invalid_kwarg_name_or_value( function mark_matcher (line 247) | def mark_matcher() -> MarkMatcher: function test_keyword_expressions_with_numbers (line 278) | def test_keyword_expressions_with_numbers( function test_builtin_matchers_keyword_expressions (line 298) | def test_builtin_matchers_keyword_expressions( function test_str_keyword_expressions (line 321) | def test_str_keyword_expressions( FILE: testing/test_meta.py function _modules (line 17) | def _modules() -> list[str]: function test_no_warnings (line 27) | def test_no_warnings(module: str) -> None: FILE: testing/test_monkeypatch.py function mp (line 18) | def mp() -> Generator[MonkeyPatch]: function test_setattr (line 26) | def test_setattr() -> None: class TestSetattrWithImportPath (line 53) | class TestSetattrWithImportPath: method test_string_expression (line 54) | def test_string_expression(self, monkeypatch: MonkeyPatch) -> None: method test_string_expression_class (line 59) | def test_string_expression_class(self, monkeypatch: MonkeyPatch) -> None: method test_unicode_string (line 66) | def test_unicode_string(self, monkeypatch: MonkeyPatch) -> None: method test_wrong_target (line 74) | def test_wrong_target(self, monkeypatch: MonkeyPatch) -> None: method test_unknown_import (line 78) | def test_unknown_import(self, monkeypatch: MonkeyPatch) -> None: method test_unknown_attr (line 82) | def test_unknown_attr(self, monkeypatch: MonkeyPatch) -> None: method test_unknown_attr_non_raising (line 86) | def test_unknown_attr_non_raising(self, monkeypatch: MonkeyPatch) -> N... method test_delattr (line 92) | def test_delattr(self, monkeypatch: MonkeyPatch) -> None: function test_delattr (line 100) | def test_delattr() -> None: function test_setitem (line 120) | def test_setitem() -> None: function test_setitem_deleted_meanwhile (line 138) | def test_setitem_deleted_meanwhile() -> None: function test_setenv_deleted_meanwhile (line 148) | def test_setenv_deleted_meanwhile(before: bool) -> None: function test_delitem (line 163) | def test_delitem() -> None: function test_setenv (line 180) | def test_setenv() -> None: function test_delenv (line 191) | def test_delenv() -> None: class TestEnvironWarnings (line 212) | class TestEnvironWarnings: method test_setenv_non_str_warning (line 221) | def test_setenv_non_str_warning(self, monkeypatch: MonkeyPatch) -> None: function test_setenv_prepend (line 231) | def test_setenv_prepend() -> None: function test_monkeypatch_plugin (line 242) | def test_monkeypatch_plugin(pytester: Pytester) -> None: function test_syspath_prepend (line 253) | def test_syspath_prepend(mp: MonkeyPatch) -> None: function test_syspath_prepend_double_undo (line 265) | def test_syspath_prepend_double_undo(mp: MonkeyPatch) -> None: function test_chdir_with_path_local (line 277) | def test_chdir_with_path_local(mp: MonkeyPatch, tmp_path: Path) -> None: function test_chdir_with_str (line 282) | def test_chdir_with_str(mp: MonkeyPatch, tmp_path: Path) -> None: function test_chdir_undo (line 287) | def test_chdir_undo(mp: MonkeyPatch, tmp_path: Path) -> None: function test_chdir_double_undo (line 294) | def test_chdir_double_undo(mp: MonkeyPatch, tmp_path: Path) -> None: function test_issue185_time_breaks (line 302) | def test_issue185_time_breaks(pytester: Pytester) -> None: function test_importerror (line 320) | def test_importerror(pytester: Pytester) -> None: class Sample (line 349) | class Sample: method hello (line 351) | def hello() -> bool: class SampleInherit (line 355) | class SampleInherit(Sample): function test_issue156_undo_staticmethod (line 364) | def test_issue156_undo_staticmethod(Sample: type[Sample]) -> None: function test_undo_class_descriptors_delattr (line 374) | def test_undo_class_descriptors_delattr() -> None: function test_issue1338_name_resolving (line 401) | def test_issue1338_name_resolving() -> None: function test_context (line 410) | def test_context() -> None: function test_context_classmethod (line 422) | def test_context_classmethod() -> None: function test_syspath_prepend_with_namespace_packages (line 436) | def test_syspath_prepend_with_namespace_packages( FILE: testing/test_nodes.py function test_node_from_parent_disallowed_arguments (line 15) | def test_node_from_parent_disallowed_arguments() -> None: function test_node_direct_construction_deprecated (line 22) | def test_node_direct_construction_deprecated() -> None: function test_subclassing_both_item_and_collector_deprecated (line 35) | def test_subclassing_both_item_and_collector_deprecated( function test_node_warn_is_no_longer_only_pytest_warnings (line 68) | def test_node_warn_is_no_longer_only_pytest_warnings( function test_node_warning_enforces_warning_types (line 81) | def test_node_warning_enforces_warning_types(pytester: Pytester) -> None: class TestNormSep (line 94) | class TestNormSep: method test_forward_slashes_unchanged (line 97) | def test_forward_slashes_unchanged(self) -> None: method test_backslashes_converted (line 101) | def test_backslashes_converted(self) -> None: method test_mixed_separators (line 105) | def test_mixed_separators(self) -> None: method test_pathlike_input (line 109) | def test_pathlike_input(self, tmp_path: Path) -> None: method test_empty_string (line 116) | def test_empty_string(self) -> None: method test_windows_absolute_path (line 120) | def test_windows_absolute_path(self) -> None: function test__check_initialpaths_for_relpath (line 125) | def test__check_initialpaths_for_relpath() -> None: function test_failure_with_changed_cwd (line 140) | def test_failure_with_changed_cwd(pytester: Pytester) -> None: FILE: testing/test_parseopt.py function parser (line 20) | def parser() -> parseopt.Parser: class TestParser (line 24) | class TestParser: method test_no_help_by_default (line 25) | def test_no_help_by_default(self) -> None: method test_custom_prog (line 29) | def test_custom_prog(self, parser: parseopt.Parser) -> None: method test_argument (line 36) | def test_argument(self) -> None: method test_argument_type (line 57) | def test_argument_type(self) -> None: method test_group_add_and_get (line 76) | def test_group_add_and_get(self, parser: parseopt.Parser) -> None: method test_getgroup_simple (line 80) | def test_getgroup_simple(self, parser: parseopt.Parser) -> None: method test_group_ordering (line 86) | def test_group_ordering(self, parser: parseopt.Parser) -> None: method test_group_addoption (line 94) | def test_group_addoption(self) -> None: method test_group_addoption_conflict (line 102) | def test_group_addoption_conflict(self) -> None: method test_group_shortopt_lowercase (line 111) | def test_group_shortopt_lowercase(self, parser: parseopt.Parser) -> None: method test_parser_addoption (line 119) | def test_parser_addoption(self, parser: parseopt.Parser) -> None: method test_parse (line 125) | def test_parse(self, parser: parseopt.Parser) -> None: method test_parse2 (line 131) | def test_parse2(self, parser: parseopt.Parser) -> None: method test_parse_from_file (line 139) | def test_parse_from_file(self, parser: parseopt.Parser, tmp_path: Path... method test_parse_known_args (line 146) | def test_parse_known_args(self, parser: parseopt.Parser) -> None: method test_parse_known_and_unknown_args (line 153) | def test_parse_known_and_unknown_args(self, parser: parseopt.Parser) -... method test_parse_will_set_default (line 162) | def test_parse_will_set_default(self, parser: parseopt.Parser) -> None: method test_parse_set_options (line 167) | def test_parse_set_options(self, parser: parseopt.Parser) -> None: method test_parse_special_destination (line 177) | def test_parse_special_destination(self, parser: parseopt.Parser) -> N... method test_parse_split_positional_arguments (line 182) | def test_parse_split_positional_arguments(self, parser: parseopt.Parse... method test_drop_short_helper (line 196) | def test_drop_short_helper(self) -> None: method test_drop_short_0 (line 233) | def test_drop_short_0(self, parser: parseopt.Parser) -> None: method test_drop_short_2 (line 240) | def test_drop_short_2(self, parser: parseopt.Parser) -> None: method test_drop_short_3 (line 245) | def test_drop_short_3(self, parser: parseopt.Parser) -> None: method test_drop_short_help0 (line 251) | def test_drop_short_help0(self, parser: parseopt.Parser) -> None: method test_drop_short_help1 (line 258) | def test_drop_short_help1(self, parser: parseopt.Parser) -> None: method test_multiple_metavar_help (line 272) | def test_multiple_metavar_help(self, parser: parseopt.Parser) -> None: function test_argcomplete (line 287) | def test_argcomplete(pytester: Pytester, monkeypatch: MonkeyPatch) -> None: FILE: testing/test_pastebin.py class TestPasteCapture (line 13) | class TestPasteCapture: method pastebinlist (line 15) | def pastebinlist(self, monkeypatch, request) -> list[str | bytes]: method test_failed (line 21) | def test_failed(self, pytester: Pytester, pastebinlist) -> None: method test_all (line 39) | def test_all(self, pytester: Pytester, pastebinlist) -> None: method test_non_ascii_paste_text (line 67) | def test_non_ascii_paste_text(self, pytester: Pytester, pastebinlist) ... class TestPaste (line 89) | class TestPaste: method pastebin (line 91) | def pastebin(self, request): method mocked_urlopen_invalid (line 95) | def mocked_urlopen_invalid(self, monkeypatch: MonkeyPatch): method mocked_urlopen (line 117) | def mocked_urlopen(self, monkeypatch: MonkeyPatch): method test_pastebin_invalid_url (line 137) | def test_pastebin_invalid_url(self, pastebin, mocked_urlopen_invalid) ... method test_pastebin_http_error (line 145) | def test_pastebin_http_error(self, pastebin) -> None: method test_pastebin_url_error (line 162) | def test_pastebin_url_error(self, pastebin) -> None: method test_create_new_paste (line 173) | def test_create_new_paste(self, pastebin, mocked_urlopen) -> None: method test_create_new_paste_failure (line 185) | def test_create_new_paste_failure(self, pastebin, monkeypatch: MonkeyP... FILE: testing/test_pathlib.py function autouse_pytester (line 52) | def autouse_pytester(pytester: Pytester) -> None: class TestFNMatcherPort (line 65) | class TestFNMatcherPort: method test_matching (line 89) | def test_matching(self, pattern: str, path: str) -> None: method test_matching_abspath (line 92) | def test_matching_abspath(self) -> None: method test_not_matching (line 110) | def test_not_matching(self, pattern: str, path: str) -> None: function ns_param (line 115) | def ns_param(request: pytest.FixtureRequest) -> bool: class TestImportPath (line 123) | class TestImportPath: method path1 (line 132) | def path1(self, tmp_path_factory: TempPathFactory) -> Generator[Path]: method preserve_sys (line 139) | def preserve_sys(self): method setuptestfs (line 144) | def setuptestfs(self, path: Path) -> None: method test_smoke_test (line 193) | def test_smoke_test(self, path1: Path, ns_param: bool) -> None: method test_import_path_missing_file (line 200) | def test_import_path_missing_file(self, path1: Path, ns_param: bool) -... method test_renamed_dir_creates_mismatch (line 206) | def test_renamed_dir_creates_mismatch( method test_messy_name (line 238) | def test_messy_name(self, tmp_path: Path, ns_param: bool) -> None: method test_dir (line 245) | def test_dir(self, tmp_path: Path, ns_param: bool) -> None: method test_a (line 255) | def test_a(self, path1: Path, ns_param: bool) -> None: method test_b (line 263) | def test_b(self, path1: Path, ns_param: bool) -> None: method test_c (line 271) | def test_c(self, path1: Path, ns_param: bool) -> None: method test_d (line 278) | def test_d(self, path1: Path, ns_param: bool) -> None: method test_import_after (line 285) | def test_import_after(self, tmp_path: Path, ns_param: bool) -> None: method test_check_filepath_consistency (line 298) | def test_check_filepath_consistency( method test_ensuresyspath_append (line 328) | def test_ensuresyspath_append(self, tmp_path: Path, ns_param: bool) ->... method test_invalid_path (line 340) | def test_invalid_path(self, tmp_path: Path, ns_param: bool) -> None: method simple_module (line 349) | def simple_module( method test_importmode_importlib (line 360) | def test_importmode_importlib( method test_remembers_previous_imports (line 381) | def test_remembers_previous_imports( method test_no_meta_path_found (line 399) | def test_no_meta_path_found( function test_resolve_package_path (line 434) | def test_resolve_package_path(tmp_path: Path) -> None: function test_package_unimportable (line 444) | def test_package_unimportable(tmp_path: Path) -> None: function test_access_denied_during_cleanup (line 458) | def test_access_denied_during_cleanup(tmp_path: Path, monkeypatch: Monke... function test_long_path_during_cleanup (line 473) | def test_long_path_during_cleanup(tmp_path: Path) -> None: function test_get_extended_length_path_str (line 489) | def test_get_extended_length_path_str() -> None: function test_suppress_error_removing_lock (line 496) | def test_suppress_error_removing_lock(tmp_path: Path) -> None: function test_bestrelpath (line 523) | def test_bestrelpath() -> None: function test_commonpath (line 532) | def test_commonpath() -> None: function test_visit_ignores_errors (line 541) | def test_visit_ignores_errors(tmp_path: Path) -> None: function test_samefile_false_negatives (line 552) | def test_samefile_false_negatives(tmp_path: Path, monkeypatch: MonkeyPat... function test_scandir_with_non_existent_directory (line 573) | def test_scandir_with_non_existent_directory() -> None: function test_scandir_handles_os_error (line 581) | def test_scandir_handles_os_error() -> None: class TestImportLibMode (line 596) | class TestImportLibMode: method test_importmode_importlib_with_dataclass (line 597) | def test_importmode_importlib_with_dataclass( method test_importmode_importlib_with_pickle (line 630) | def test_importmode_importlib_with_pickle( method test_importmode_importlib_with_pickle_separate_modules (line 665) | def test_importmode_importlib_with_pickle_separate_modules( method test_module_name_from_path (line 725) | def test_module_name_from_path(self, tmp_path: Path) -> None: method test_resolve_pkg_root_and_module_name (line 753) | def test_resolve_pkg_root_and_module_name( method test_insert_missing_modules (line 791) | def test_insert_missing_modules( method test_import_module_using_spec (line 812) | def test_import_module_using_spec( method test_parent_contains_child_module_attribute (line 866) | def test_parent_contains_child_module_attribute( method test_importlib_package (line 878) | def test_importlib_package( method test_importlib_root_is_package (line 933) | def test_importlib_root_is_package(self, pytester: Pytester) -> None: method test_importlib_same_name_as_stl (line 950) | def test_importlib_same_name_as_stl( method create_installed_doctests_and_tests_dir (line 980) | def create_installed_doctests_and_tests_dir( method test_import_using_normal_mechanism_first (line 1068) | def test_import_using_normal_mechanism_first( method test_import_using_normal_mechanism_first_integration (line 1135) | def test_import_using_normal_mechanism_first_integration( method test_import_path_imports_correct_file (line 1165) | def test_import_path_imports_correct_file( function test_safe_exists (line 1214) | def test_safe_exists(tmp_path: Path) -> None: function test_import_sets_module_as_attribute (line 1243) | def test_import_sets_module_as_attribute(pytester: Pytester) -> None: function test_import_sets_module_as_attribute_without_init_files (line 1278) | def test_import_sets_module_as_attribute_without_init_files(pytester: Py... function test_import_sets_module_as_attribute_regression (line 1311) | def test_import_sets_module_as_attribute_regression(pytester: Pytester) ... function test_import_submodule_not_namespace (line 1336) | def test_import_submodule_not_namespace(pytester: Pytester) -> None: class TestNamespacePackages (line 1376) | class TestNamespacePackages: method setup_imports_tracking (line 1380) | def setup_imports_tracking(self, monkeypatch: MonkeyPatch) -> None: method setup_directories (line 1383) | def setup_directories( method test_resolve_pkg_root_and_module_name_ns_multiple_levels (line 1432) | def test_resolve_pkg_root_and_module_name_ns_multiple_levels( method test_ns_multiple_levels_import_rewrite_assertions (line 1489) | def test_ns_multiple_levels_import_rewrite_assertions( method test_ns_multiple_levels_import_error (line 1525) | def test_ns_multiple_levels_import_error( method test_incorrect_namespace_package (line 1554) | def test_incorrect_namespace_package( method test_detect_meta_path (line 1597) | def test_detect_meta_path( method test_full_ns_packages_without_init_files (line 1656) | def test_full_ns_packages_without_init_files( function test_ns_import_same_name_directory_12592 (line 1687) | def test_ns_import_same_name_directory_12592( function test_is_importable (line 1700) | def test_is_importable(pytester: Pytester) -> None: function test_compute_module_name (line 1726) | def test_compute_module_name(tmp_path: Path) -> None: function validate_namespace_package (line 1739) | def validate_namespace_package( FILE: testing/test_pluginmanager.py function pytestpm (line 21) | def pytestpm() -> PytestPluginManager: class TestPytestPluginInteractions (line 25) | class TestPytestPluginInteractions: method test_addhooks_conftestplugin (line 26) | def test_addhooks_conftestplugin( method test_addhooks_nohooks (line 59) | def test_addhooks_nohooks(self, pytester: Pytester) -> None: method test_do_option_postinitialize (line 71) | def test_do_option_postinitialize(self, pytester: Pytester) -> None: method test_configure (line 89) | def test_configure(self, pytester: Pytester) -> None: method test_conftestpath_case_sensitivity (line 113) | def test_conftestpath_case_sensitivity(self, pytester: Pytester) -> None: method test_hook_tracing (line 143) | def test_hook_tracing(self, _config_for_test: Config) -> None: method test_hook_proxy (line 176) | def test_hook_proxy(self, pytester: Pytester) -> None: method test_hook_with_addoption (line 202) | def test_hook_with_addoption(self, pytester: Pytester) -> None: function test_default_markers (line 233) | def test_default_markers(pytester: Pytester) -> None: function test_importplugin_error_message (line 238) | def test_importplugin_error_message( class TestPytestPluginManager (line 263) | class TestPytestPluginManager: method test_register_imported_modules (line 264) | def test_register_imported_modules(self) -> None: method test_canonical_import (line 276) | def test_canonical_import(self, monkeypatch): method test_consider_module (line 284) | def test_consider_module( method test_consider_module_import_module (line 300) | def test_consider_module_import_module( method test_consider_env_fails_to_import (line 318) | def test_consider_env_fails_to_import( method test_plugin_skip (line 326) | def test_plugin_skip(self, pytester: Pytester, monkeypatch: MonkeyPatc... method test_consider_env_plugin_instantiation (line 341) | def test_consider_env_plugin_instantiation( method test_pluginmanager_ENV_startup (line 359) | def test_pluginmanager_ENV_startup( method test_import_plugin_importname (line 376) | def test_import_plugin_importname( method test_import_plugin_dotted_name (line 396) | def test_import_plugin_dotted_name( method test_consider_conftest_deps (line 410) | def test_consider_conftest_deps( class TestPytestPluginManagerBootstrapping (line 424) | class TestPytestPluginManagerBootstrapping: method test_preparse_args (line 425) | def test_preparse_args(self, pytestpm: PytestPluginManager) -> None: method test_plugin_prevent_register (line 442) | def test_plugin_prevent_register(self, pytestpm: PytestPluginManager) ... method test_plugin_prevent_register_unregistered_already_registered (line 450) | def test_plugin_prevent_register_unregistered_already_registered( method test_plugin_prevent_register_stepwise_on_cacheprovider_unregister (line 460) | def test_plugin_prevent_register_stepwise_on_cacheprovider_unregister( method test_blocked_plugin_can_be_used (line 478) | def test_blocked_plugin_can_be_used(self, pytestpm: PytestPluginManage... FILE: testing/test_pytester.py function test_make_hook_recorder (line 22) | def test_make_hook_recorder(pytester: Pytester) -> None: function test_parseconfig (line 77) | def test_parseconfig(pytester: Pytester) -> None: function test_pytester_runs_with_plugin (line 83) | def test_pytester_runs_with_plugin(pytester: Pytester) -> None: function test_pytester_with_doctest (line 95) | def test_pytester_with_doctest(pytester: Pytester) -> None: function test_runresult_assertion_on_xfail (line 118) | def test_runresult_assertion_on_xfail(pytester: Pytester) -> None: function test_runresult_assertion_on_xpassed (line 135) | def test_runresult_assertion_on_xpassed(pytester: Pytester) -> None: function test_xpassed_with_strict_is_considered_a_failure (line 152) | def test_xpassed_with_strict_is_considered_a_failure(pytester: Pytester)... function make_holder (line 169) | def make_holder(): function test_hookrecorder_basic (line 191) | def test_hookrecorder_basic(holder) -> None: function test_makepyfile_unicode (line 205) | def test_makepyfile_unicode(pytester: Pytester) -> None: function test_makepyfile_utf8 (line 209) | def test_makepyfile_utf8(pytester: Pytester) -> None: class TestInlineRunModulesCleanup (line 219) | class TestInlineRunModulesCleanup: method test_inline_run_test_module_not_cleaned_up (line 220) | def test_inline_run_test_module_not_cleaned_up(self, pytester: Pyteste... method spy_factory (line 229) | def spy_factory(self): method test_inline_run_taking_and_restoring_a_sys_modules_snapshot (line 245) | def test_inline_run_taking_and_restoring_a_sys_modules_snapshot( method test_inline_run_sys_modules_snapshot_restore_preserving_modules (line 266) | def test_inline_run_sys_modules_snapshot_restore_preserving_modules( method test_external_test_module_imports_not_cleaned_up (line 279) | def test_external_test_module_imports_not_cleaned_up( function test_assert_outcomes_after_pytest_error (line 296) | def test_assert_outcomes_after_pytest_error(pytester: Pytester) -> None: class TestSysModulesSnapshot (line 304) | class TestSysModulesSnapshot: method test_remove_added (line 307) | def test_remove_added(self) -> None: method test_add_removed (line 316) | def test_add_removed(self, monkeypatch: MonkeyPatch) -> None: method test_restore_reloaded (line 327) | def test_restore_reloaded(self, monkeypatch: MonkeyPatch) -> None: method test_preserve_modules (line 337) | def test_preserve_modules(self, monkeypatch: MonkeyPatch) -> None: method test_preserve_container (line 355) | def test_preserve_container(self, monkeypatch: MonkeyPatch) -> None: class TestSysPathsSnapshot (line 368) | class TestSysPathsSnapshot: method path (line 372) | def path(n: int) -> str: method test_restore (line 375) | def test_restore(self, monkeypatch: MonkeyPatch, path_type) -> None: method test_preserve_container (line 398) | def test_preserve_container(self, monkeypatch: MonkeyPatch, path_type)... function test_pytester_subprocess (line 413) | def test_pytester_subprocess(pytester: Pytester) -> None: function test_pytester_subprocess_via_runpytest_arg (line 418) | def test_pytester_subprocess_via_runpytest_arg(pytester: Pytester) -> None: function test_unicode_args (line 439) | def test_unicode_args(pytester: Pytester) -> None: function test_pytester_run_no_timeout (line 444) | def test_pytester_run_no_timeout(pytester: Pytester) -> None: function test_pytester_run_with_timeout (line 449) | def test_pytester_run_with_timeout(pytester: Pytester) -> None: function test_pytester_run_timeout_expires (line 462) | def test_pytester_run_timeout_expires(pytester: Pytester) -> None: function test_linematcher_with_nonlist (line 474) | def test_linematcher_with_nonlist() -> None: function test_linematcher_match_failure (line 498) | def test_linematcher_match_failure() -> None: function test_linematcher_consecutive (line 526) | def test_linematcher_consecutive() -> None: function test_linematcher_no_matching (line 547) | def test_linematcher_no_matching(function: str) -> None: function test_linematcher_no_matching_after_match (line 595) | def test_linematcher_no_matching_after_match() -> None: function test_linematcher_string_api (line 603) | def test_linematcher_string_api() -> None: function test_pytest_addopts_before_pytester (line 608) | def test_pytest_addopts_before_pytester(request, monkeypatch: MonkeyPatc... function test_run_stdin (line 614) | def test_run_stdin(pytester: Pytester) -> None: function test_popen_stdin_pipe (line 644) | def test_popen_stdin_pipe(pytester: Pytester) -> None: function test_popen_stdin_bytes (line 658) | def test_popen_stdin_bytes(pytester: Pytester) -> None: function test_popen_default_stdin_stderr_and_stdin_None (line 671) | def test_popen_default_stdin_stderr_and_stdin_None(pytester: Pytester) -... function test_spawn_uses_tmphome (line 701) | def test_spawn_uses_tmphome(pytester: Pytester) -> None: function test_run_result_repr (line 721) | def test_run_result_repr() -> None: function test_pytester_outcomes_with_multiple_errors (line 740) | def test_pytester_outcomes_with_multiple_errors(pytester: Pytester) -> N... function test_parse_summary_line_always_plural (line 762) | def test_parse_summary_line_always_plural() -> None: function test_makefile_joins_absolute_path (line 791) | def test_makefile_joins_absolute_path(pytester: Pytester) -> None: function test_pytester_makefile_dot_prefixes_extension_with_warning (line 797) | def test_pytester_makefile_dot_prefixes_extension_with_warning( function test_pytester_assert_outcomes_warnings (line 808) | def test_pytester_assert_outcomes_warnings(pytester: Pytester) -> None: function test_pytester_outcomes_deselected (line 823) | def test_pytester_outcomes_deselected(pytester: Pytester) -> None: function test_pytester_subprocess_with_string_plugins (line 839) | def test_pytester_subprocess_with_string_plugins(pytester: Pytester) -> ... function test_pytester_subprocess_with_non_string_plugins (line 848) | def test_pytester_subprocess_with_non_string_plugins(pytester: Pytester)... FILE: testing/test_python_path.py function file_structure (line 12) | def file_structure(pytester: Pytester) -> None: function test_one_dir (line 50) | def test_one_dir(pytester: Pytester, file_structure) -> None: function test_two_dirs (line 57) | def test_two_dirs(pytester: Pytester, file_structure) -> None: function test_local_plugin (line 64) | def test_local_plugin(pytester: Pytester, file_structure) -> None: function test_module_not_found (line 85) | def test_module_not_found(pytester: Pytester, file_structure) -> None: function test_no_config_file (line 95) | def test_no_config_file(pytester: Pytester, file_structure) -> None: function test_clean_up (line 104) | def test_clean_up(pytester: Pytester) -> None: FILE: testing/test_recwarn.py function test_recwarn_stacklevel (line 13) | def test_recwarn_stacklevel(recwarn: WarningsRecorder) -> None: function test_recwarn_functional (line 19) | def test_recwarn_functional(pytester: Pytester) -> None: function test_recwarn_captures_deprecation_warning (line 34) | def test_recwarn_captures_deprecation_warning(recwarn: WarningsRecorder)... class TestSubclassWarningPop (line 44) | class TestSubclassWarningPop: class ParentWarning (line 45) | class ParentWarning(Warning): class ChildWarning (line 48) | class ChildWarning(ParentWarning): class ChildOfChildWarning (line 51) | class ChildOfChildWarning(ChildWarning): method raise_warnings_from_list (line 55) | def raise_warnings_from_list(_warnings: list[type[Warning]]): method test_pop_finds_exact_match (line 59) | def test_pop_finds_exact_match(self): method test_pop_raises_if_no_match (line 69) | def test_pop_raises_if_no_match(self): method test_pop_finds_best_inexact_match (line 75) | def test_pop_finds_best_inexact_match(self): class TestWarningsRecorderChecker (line 85) | class TestWarningsRecorderChecker: method test_recording (line 86) | def test_recording(self) -> None: method test_warn_stacklevel (line 102) | def test_warn_stacklevel(self) -> None: method test_typechecking (line 108) | def test_typechecking(self) -> None: method test_invalid_enter_exit (line 118) | def test_invalid_enter_exit(self) -> None: class TestDeprecatedCall (line 132) | class TestDeprecatedCall: method dep (line 135) | def dep(self, i: int, j: int | None = None) -> int: method dep_explicit (line 140) | def dep_explicit(self, i: int) -> None: method test_deprecated_call_raises (line 146) | def test_deprecated_call_raises(self) -> None: method test_deprecated_call (line 150) | def test_deprecated_call(self) -> None: method test_deprecated_call_ret (line 153) | def test_deprecated_call_ret(self) -> None: method test_deprecated_call_preserves (line 157) | def test_deprecated_call_preserves(self) -> None: method test_deprecated_explicit_call_raises (line 171) | def test_deprecated_explicit_call_raises(self) -> None: method test_deprecated_explicit_call (line 175) | def test_deprecated_explicit_call(self) -> None: method test_deprecated_call_no_warning (line 180) | def test_deprecated_call_no_warning(self, mode) -> None: method test_deprecated_call_modes (line 202) | def test_deprecated_call_modes(self, warning_type, mode, call_f_first)... method test_deprecated_call_specificity (line 220) | def test_deprecated_call_specificity(self) -> None: method test_deprecated_call_supports_match (line 241) | def test_deprecated_call_supports_match(self) -> None: class TestWarns (line 251) | class TestWarns: method test_check_callable (line 252) | def test_check_callable(self) -> None: method test_several_messages (line 257) | def test_several_messages(self) -> None: method test_function (line 265) | def test_function(self) -> None: method test_warning_tuple (line 270) | def test_warning_tuple(self) -> None: method test_as_contextmanager (line 286) | def test_as_contextmanager(self) -> None: method test_record (line 334) | def test_record(self) -> None: method test_record_only (line 341) | def test_record_only(self) -> None: method test_record_only_none_type_error (line 350) | def test_record_only_none_type_error(self) -> None: method test_record_by_subclass (line 354) | def test_record_by_subclass(self) -> None: method test_double_test (line 377) | def test_double_test(self, pytester: Pytester) -> None: method test_match_regex (line 393) | def test_match_regex(self) -> None: method test_one_from_multiple_warns (line 407) | def test_one_from_multiple_warns(self) -> None: method test_none_of_multiple_warns (line 416) | def test_none_of_multiple_warns(self) -> None: method test_can_capture_previously_warned (line 424) | def test_can_capture_previously_warned(self) -> None: method test_warns_context_manager_with_kwargs (line 434) | def test_warns_context_manager_with_kwargs(self) -> None: method test_re_emit_single (line 440) | def test_re_emit_single(self) -> None: method test_re_emit_multiple (line 446) | def test_re_emit_multiple(self) -> None: method test_re_emit_match_single (line 451) | def test_re_emit_match_single(self) -> None: method test_re_emit_match_multiple (line 457) | def test_re_emit_match_multiple(self) -> None: method test_re_emit_non_match_single (line 464) | def test_re_emit_non_match_single(self) -> None: method test_catch_warning_within_raise (line 470) | def test_catch_warning_within_raise(self) -> None: method test_skip_within_warns (line 482) | def test_skip_within_warns(self, pytester: Pytester) -> None: method test_fail_within_warns (line 498) | def test_fail_within_warns(self, pytester: Pytester) -> None: method test_exit_within_warns (line 515) | def test_exit_within_warns(self, pytester: Pytester) -> None: method test_keyboard_interrupt_within_warns (line 531) | def test_keyboard_interrupt_within_warns(self, pytester: Pytester) -> ... function test_raise_type_error_on_invalid_warning (line 548) | def test_raise_type_error_on_invalid_warning() -> None: function test_no_raise_type_error_on_valid_warning (line 564) | def test_no_raise_type_error_on_valid_warning(message: str | Warning) ->... function test_raise_type_error_on_invalid_warning_message_cpython (line 575) | def test_raise_type_error_on_invalid_warning_message_cpython() -> None: function test_multiple_arg_custom_warning (line 584) | def test_multiple_arg_custom_warning() -> None: FILE: testing/test_reports.py class TestReportSerialization (line 16) | class TestReportSerialization: method test_xdist_longrepr_to_str_issue_241 (line 17) | def test_xdist_longrepr_to_str_issue_241(self, pytester: Pytester) -> ... method test_xdist_report_longrepr_reprcrash_130 (line 40) | def test_xdist_report_longrepr_reprcrash_130(self, pytester: Pytester)... method test_reprentries_serialization_170 (line 79) | def test_reprentries_serialization_170(self, pytester: Pytester) -> None: method test_reprentries_serialization_196 (line 123) | def test_reprentries_serialization_196(self, pytester: Pytester) -> None: method test_itemreport_outcomes (line 152) | def test_itemreport_outcomes(self, pytester: Pytester) -> None: method test_collectreport_passed (line 186) | def test_collectreport_passed(self, pytester: Pytester) -> None: method test_collectreport_fail (line 197) | def test_collectreport_fail(self, pytester: Pytester) -> None: method test_extended_report_deserialization (line 211) | def test_extended_report_deserialization(self, pytester: Pytester) -> ... method test_paths_support (line 227) | def test_paths_support(self, pytester: Pytester) -> None: method test_deserialization_failure (line 253) | def test_deserialization_failure(self, pytester: Pytester) -> None: method test_chained_exceptions (line 276) | def test_chained_exceptions( method test_chained_exceptions_no_reprcrash (line 349) | def test_chained_exceptions_no_reprcrash(self, pytester: Pytester, tw_... method test_report_prevent_ConftestImportFailure_hiding_exception (line 406) | def test_report_prevent_ConftestImportFailure_hiding_exception( method test_report_timestamps_match_duration (line 417) | def test_report_timestamps_match_duration(self, pytester: Pytester, mo... method test_exception_group_with_only_skips (line 441) | def test_exception_group_with_only_skips( method test_exception_group_skips_use_item_location (line 478) | def test_exception_group_skips_use_item_location( class TestHooks (line 515) | class TestHooks: method test_test_report (line 518) | def test_test_report(self, pytester: Pytester, pytestconfig: Config) -... method test_collect_report (line 540) | def test_collect_report(self, pytester: Pytester, pytestconfig: Config... method test_invalid_report_types (line 565) | def test_invalid_report_types( FILE: testing/test_runner.py class TestSetupState (line 27) | class TestSetupState: method test_setup (line 28) | def test_setup(self, pytester: Pytester) -> None: method test_teardown_exact_stack_empty (line 38) | def test_teardown_exact_stack_empty(self, pytester: Pytester) -> None: method test_setup_fails_and_failure_is_cached (line 46) | def test_setup_fails_and_failure_is_cached(self, pytester: Pytester) -... method test_teardown_multiple_one_fails (line 60) | def test_teardown_multiple_one_fails(self, pytester: Pytester) -> None: method test_teardown_multiple_fail (line 83) | def test_teardown_multiple_fail(self, pytester: Pytester) -> None: method test_teardown_multiple_scopes_one_fails (line 104) | def test_teardown_multiple_scopes_one_fails(self, pytester: Pytester) ... method test_teardown_multiple_scopes_several_fail (line 123) | def test_teardown_multiple_scopes_several_fail(self, pytester) -> None: method test_cached_exception_doesnt_get_longer (line 142) | def test_cached_exception_doesnt_get_longer(self, pytester: Pytester) ... class BaseFunctionalTests (line 180) | class BaseFunctionalTests: method test_passfunction (line 181) | def test_passfunction(self, pytester: Pytester) -> None: method test_failfunction (line 194) | def test_failfunction(self, pytester: Pytester) -> None: method test_skipfunction (line 209) | def test_skipfunction(self, pytester: Pytester) -> None: method test_skip_in_setup_function (line 229) | def test_skip_in_setup_function(self, pytester: Pytester) -> None: method test_failure_in_setup_function (line 250) | def test_failure_in_setup_function(self, pytester: Pytester) -> None: method test_failure_in_teardown_function (line 267) | def test_failure_in_teardown_function(self, pytester: Pytester) -> None: method test_custom_failure_repr (line 287) | def test_custom_failure_repr(self, pytester: Pytester) -> None: method test_teardown_final_returncode (line 312) | def test_teardown_final_returncode(self, pytester: Pytester) -> None: method test_logstart_logfinish_hooks (line 323) | def test_logstart_logfinish_hooks(self, pytester: Pytester) -> None: method test_exact_teardown_issue90 (line 340) | def test_exact_teardown_issue90(self, pytester: Pytester) -> None: method test_exact_teardown_issue1206 (line 380) | def test_exact_teardown_issue1206(self, pytester: Pytester) -> None: method test_failure_in_setup_function_ignores_custom_repr (line 418) | def test_failure_in_setup_function_ignores_custom_repr( method test_systemexit_does_not_bail_out (line 448) | def test_systemexit_does_not_bail_out(self, pytester: Pytester) -> None: method test_exit_propagates (line 462) | def test_exit_propagates(self, pytester: Pytester) -> None: class TestExecutionNonForked (line 477) | class TestExecutionNonForked(BaseFunctionalTests): method getrunner (line 478) | def getrunner(self): method test_keyboardinterrupt_propagates (line 484) | def test_keyboardinterrupt_propagates(self, pytester: Pytester) -> None: class TestSessionReports (line 498) | class TestSessionReports: method test_collect_result (line 499) | def test_collect_result(self, pytester: Pytester) -> None: function test_report_extra_parameters (line 533) | def test_report_extra_parameters(reporttype: type[reports.BaseReport]) -... function test_callinfo (line 540) | def test_callinfo() -> None: function test_runtest_in_module_ordering (line 569) | def test_runtest_in_module_ordering(pytester: Pytester) -> None: function test_outcomeexception_exceptionattributes (line 601) | def test_outcomeexception_exceptionattributes() -> None: function test_outcomeexception_passes_except_Exception (line 606) | def test_outcomeexception_passes_except_Exception() -> None: function test_pytest_exit (line 614) | def test_pytest_exit() -> None: function test_pytest_fail (line 620) | def test_pytest_fail() -> None: function test_pytest_exit_msg (line 627) | def test_pytest_exit_msg(pytester: Pytester) -> None: function _strip_resource_warnings (line 640) | def _strip_resource_warnings(lines): function test_pytest_exit_returncode (line 650) | def test_pytest_exit_returncode(pytester: Pytester) -> None: function test_pytest_fail_notrace_runtest (line 681) | def test_pytest_fail_notrace_runtest(pytester: Pytester) -> None: function test_pytest_fail_notrace_collection (line 697) | def test_pytest_fail_notrace_collection(pytester: Pytester) -> None: function test_pytest_fail_notrace_non_ascii (line 712) | def test_pytest_fail_notrace_non_ascii(pytester: Pytester) -> None: function test_pytest_no_tests_collected_exit_status (line 730) | def test_pytest_no_tests_collected_exit_status(pytester: Pytester) -> None: function test_exception_printing_skip (line 752) | def test_exception_printing_skip() -> None: function test_importorskip (line 762) | def test_importorskip(monkeypatch) -> None: function test_importorskip_imports_last_module_part (line 795) | def test_importorskip_imports_last_module_part() -> None: class TestImportOrSkipExcType (line 800) | class TestImportOrSkipExcType: method test_module_not_found_skips_by_default (line 803) | def test_module_not_found_skips_by_default(self) -> None: method test_import_error_is_propagated_by_default (line 809) | def test_import_error_is_propagated_by_default(self, pytester: Pyteste... method test_import_error_can_be_captured_explicitly (line 816) | def test_import_error_can_be_captured_explicitly(self, pytester: Pytes... method test_import_error_integration (line 823) | def test_import_error_integration(self, pytester: Pytester) -> None: function test_importorskip_dev_module (line 843) | def test_importorskip_dev_module(monkeypatch) -> None: function test_importorskip_module_level (line 856) | def test_importorskip_module_level(pytester: Pytester) -> None: function test_importorskip_custom_reason (line 871) | def test_importorskip_custom_reason(pytester: Pytester) -> None: function test_pytest_cmdline_main (line 887) | def test_pytest_cmdline_main(pytester: Pytester) -> None: function test_unicode_in_longrepr (line 905) | def test_unicode_in_longrepr(pytester: Pytester) -> None: function test_failure_in_setup (line 928) | def test_failure_in_setup(pytester: Pytester) -> None: function test_makereport_getsource (line 941) | def test_makereport_getsource(pytester: Pytester) -> None: function test_makereport_getsource_dynamic_code (line 954) | def test_makereport_getsource_dynamic_code( function test_store_except_info_on_error (line 987) | def test_store_except_info_on_error() -> None: function test_current_test_env_var (line 1023) | def test_current_test_env_var(pytester: Pytester, monkeypatch: MonkeyPat... class TestReportContents (line 1055) | class TestReportContents: method getrunner (line 1058) | def getrunner(self): method test_longreprtext_pass (line 1061) | def test_longreprtext_pass(self, pytester: Pytester) -> None: method test_longreprtext_skip (line 1071) | def test_longreprtext_skip(self, pytester: Pytester) -> None: method test_longreprtext_collect_skip (line 1084) | def test_longreprtext_collect_skip(self, pytester: Pytester) -> None: method test_longreprtext_failure (line 1098) | def test_longreprtext_failure(self, pytester: Pytester) -> None: method test_captured_text (line 1109) | def test_captured_text(self, pytester: Pytester) -> None: method test_no_captured_text (line 1139) | def test_no_captured_text(self, pytester: Pytester) -> None: method test_longrepr_type (line 1150) | def test_longrepr_type(self, pytester: Pytester) -> None: function test_outcome_exception_bad_msg (line 1162) | def test_outcome_exception_bad_msg() -> None: function test_pytest_version_env_var (line 1177) | def test_pytest_version_env_var(pytester: Pytester, monkeypatch: MonkeyP... function test_teardown_session_failed (line 1194) | def test_teardown_session_failed(pytester: Pytester) -> None: function test_teardown_session_stopped (line 1219) | def test_teardown_session_stopped(pytester: Pytester) -> None: FILE: testing/test_runner_xunit.py function test_module_and_function_setup (line 10) | def test_module_and_function_setup(pytester: Pytester) -> None: function test_module_setup_failure_no_teardown (line 43) | def test_module_setup_failure_no_teardown(pytester: Pytester) -> None: function test_setup_function_failure_no_teardown (line 63) | def test_setup_function_failure_no_teardown(pytester: Pytester) -> None: function test_class_setup (line 82) | def test_class_setup(pytester: Pytester) -> None: function test_class_setup_failure_no_teardown (line 108) | def test_class_setup_failure_no_teardown(pytester: Pytester) -> None: function test_method_setup (line 129) | def test_method_setup(pytester: Pytester) -> None: function test_method_setup_failure_no_teardown (line 148) | def test_method_setup_failure_no_teardown(pytester: Pytester) -> None: function test_method_setup_uses_fresh_instances (line 170) | def test_method_setup_uses_fresh_instances(pytester: Pytester) -> None: function test_setup_that_skips_calledagain (line 185) | def test_setup_that_skips_calledagain(pytester: Pytester) -> None: function test_setup_fails_again_on_all_tests (line 201) | def test_setup_fails_again_on_all_tests(pytester: Pytester) -> None: function test_setup_funcarg_setup_when_outer_scope_fails (line 217) | def test_setup_funcarg_setup_when_outer_scope_fails(pytester: Pytester) ... function test_setup_teardown_function_level_with_optional_argument (line 246) | def test_setup_teardown_function_level_with_optional_argument( FILE: testing/test_scope.py function test_ordering (line 9) | def test_ordering() -> None: function test_next_lower (line 16) | def test_next_lower() -> None: function test_next_higher (line 26) | def test_next_higher() -> None: function test_from_user (line 36) | def test_from_user() -> None: FILE: testing/test_session.py class SessionTests (line 10) | class SessionTests: method test_basic_testitem_events (line 11) | def test_basic_testitem_events(self, pytester: Pytester) -> None: method test_nested_import_error (line 43) | def test_nested_import_error(self, pytester: Pytester) -> None: method test_raises_output (line 61) | def test_raises_output(self, pytester: Pytester) -> None: method test_syntax_error_module (line 74) | def test_syntax_error_module(self, pytester: Pytester) -> None: method test_exit_first_problem (line 81) | def test_exit_first_problem(self, pytester: Pytester) -> None: method test_maxfail (line 93) | def test_maxfail(self, pytester: Pytester) -> None: method test_broken_repr (line 106) | def test_broken_repr(self, pytester: Pytester) -> None: method test_broken_repr_with_showlocals_verbose (line 138) | def test_broken_repr_with_showlocals_verbose(self, pytester: Pytester)... method test_skip_file_by_conftest (line 162) | def test_skip_file_by_conftest(self, pytester: Pytester) -> None: class TestNewSession (line 183) | class TestNewSession(SessionTests): method test_order_of_execution (line 184) | def test_order_of_execution(self, pytester: Pytester) -> None: method test_collect_only_with_various_situations (line 210) | def test_collect_only_with_various_situations(self, pytester: Pytester... method test_minus_x_import_error (line 238) | def test_minus_x_import_error(self, pytester: Pytester) -> None: method test_minus_x_overridden_by_maxfail (line 246) | def test_minus_x_overridden_by_maxfail(self, pytester: Pytester) -> None: function test_plugin_specify (line 255) | def test_plugin_specify(pytester: Pytester) -> None: function test_plugin_already_exists (line 263) | def test_plugin_already_exists(pytester: Pytester) -> None: function test_exclude (line 270) | def test_exclude(pytester: Pytester) -> None: function test_exclude_glob (line 281) | def test_exclude_glob(pytester: Pytester) -> None: function test_deselect (line 296) | def test_deselect(pytester: Pytester) -> None: function test_sessionfinish_with_start (line 324) | def test_sessionfinish_with_start(pytester: Pytester) -> None: function test_collection_args_do_not_duplicate_modules (line 342) | def test_collection_args_do_not_duplicate_modules(pytester: Pytester) ->... function test_rootdir_option_arg (line 393) | def test_rootdir_option_arg( function test_rootdir_wrong_option_arg (line 419) | def test_rootdir_wrong_option_arg(pytester: Pytester) -> None: function test_shouldfail_is_sticky (line 426) | def test_shouldfail_is_sticky(pytester: Pytester) -> None: function test_shouldstop_is_sticky (line 456) | def test_shouldstop_is_sticky(pytester: Pytester) -> None: FILE: testing/test_setuponly.py function mode (line 12) | def mode(request): function test_show_only_active_fixtures (line 16) | def test_show_only_active_fixtures( function test_show_different_scopes (line 42) | def test_show_different_scopes(pytester: Pytester, mode) -> None: function test_show_nested_fixtures (line 71) | def test_show_nested_fixtures(pytester: Pytester, mode) -> None: function test_show_fixtures_with_autouse (line 105) | def test_show_fixtures_with_autouse(pytester: Pytester, mode) -> None: function test_show_fixtures_with_parameters (line 132) | def test_show_fixtures_with_parameters(pytester: Pytester, mode) -> None: function test_show_fixtures_with_parameter_ids (line 165) | def test_show_fixtures_with_parameter_ids(pytester: Pytester, mode) -> N... function test_show_fixtures_with_parameter_ids_function (line 194) | def test_show_fixtures_with_parameter_ids_function(pytester: Pytester, m... function test_dynamic_fixture_request (line 214) | def test_dynamic_fixture_request(pytester: Pytester) -> None: function test_capturing (line 240) | def test_capturing(pytester: Pytester) -> None: function test_show_fixtures_and_execute_test (line 262) | def test_show_fixtures_and_execute_test(pytester: Pytester) -> None: function test_setup_show_with_KeyboardInterrupt_in_test (line 283) | def test_setup_show_with_KeyboardInterrupt_in_test(pytester: Pytester) -... function test_show_fixture_action_with_bytes (line 307) | def test_show_fixture_action_with_bytes(pytester: Pytester) -> None: FILE: testing/test_setupplan.py function test_show_fixtures_and_test (line 6) | def test_show_fixtures_and_test( function test_show_multi_test_fixture_setup_and_teardown_correctly_simple (line 29) | def test_show_multi_test_fixture_setup_and_teardown_correctly_simple( function test_show_multi_test_fixture_setup_and_teardown_same_as_setup_show (line 78) | def test_show_multi_test_fixture_setup_and_teardown_same_as_setup_show( FILE: testing/test_skipping.py class TestEvaluation (line 14) | class TestEvaluation: method test_no_marker (line 15) | def test_no_marker(self, pytester: Pytester) -> None: method test_marked_xfail_no_args (line 20) | def test_marked_xfail_no_args(self, pytester: Pytester) -> None: method test_marked_skipif_no_args (line 34) | def test_marked_skipif_no_args(self, pytester: Pytester) -> None: method test_marked_one_arg (line 47) | def test_marked_one_arg(self, pytester: Pytester) -> None: method test_marked_one_arg_with_reason (line 60) | def test_marked_one_arg_with_reason(self, pytester: Pytester) -> None: method test_marked_one_arg_twice (line 73) | def test_marked_one_arg_twice(self, pytester: Pytester) -> None: method test_marked_one_arg_twice2 (line 92) | def test_marked_one_arg_twice2(self, pytester: Pytester) -> None: method test_marked_skipif_with_boolean_without_reason (line 106) | def test_marked_skipif_with_boolean_without_reason( method test_marked_skipif_with_invalid_boolean (line 125) | def test_marked_skipif_with_invalid_boolean(self, pytester: Pytester) ... method test_skipif_class (line 145) | def test_skipif_class(self, pytester: Pytester) -> None: method test_skipif_markeval_namespace (line 160) | def test_skipif_markeval_namespace(self, pytester: Pytester) -> None: method test_skipif_markeval_namespace_multiple (line 187) | def test_skipif_markeval_namespace_multiple(self, pytester: Pytester) ... method test_skipif_markeval_namespace_ValueError (line 270) | def test_skipif_markeval_namespace_ValueError(self, pytester: Pytester... class TestXFail (line 297) | class TestXFail: method test_xfail_simple (line 299) | def test_xfail_simple(self, pytester: Pytester, strict: bool) -> None: method test_xfail_xpassed (line 314) | def test_xfail_xpassed(self, pytester: Pytester) -> None: method test_xfail_using_platform (line 329) | def test_xfail_using_platform(self, pytester: Pytester) -> None: method test_xfail_xpassed_strict (line 344) | def test_xfail_xpassed_strict(self, pytester: Pytester) -> None: method test_xfail_run_anyway (line 360) | def test_xfail_run_anyway(self, pytester: Pytester) -> None: method test_xfail_run_with_skip_mark (line 389) | def test_xfail_run_with_skip_mark( method test_xfail_evalfalse_but_fails (line 403) | def test_xfail_evalfalse_but_fails(self, pytester: Pytester) -> None: method test_xfail_not_report_default (line 418) | def test_xfail_not_report_default(self, pytester: Pytester) -> None: method test_xfail_not_run_xfail_reporting (line 432) | def test_xfail_not_run_xfail_reporting(self, pytester: Pytester) -> None: method test_xfail_not_run_no_setup_run (line 456) | def test_xfail_not_run_no_setup_run(self, pytester: Pytester) -> None: method test_xfail_xpass (line 470) | def test_xfail_xpass(self, pytester: Pytester) -> None: method test_xfail_imperative (line 483) | def test_xfail_imperative(self, pytester: Pytester) -> None: method test_xfail_imperative_in_setup_function (line 498) | def test_xfail_imperative_in_setup_function(self, pytester: Pytester) ... method xtest_dynamic_xfail_set_during_setup (line 521) | def xtest_dynamic_xfail_set_during_setup(self, pytester: Pytester) -> ... method test_dynamic_xfail_no_run (line 536) | def test_dynamic_xfail_no_run(self, pytester: Pytester) -> None: method test_dynamic_xfail_set_during_funcarg_setup (line 550) | def test_dynamic_xfail_set_during_funcarg_setup(self, pytester: Pytest... method test_dynamic_xfail_set_during_runtest_failed (line 564) | def test_dynamic_xfail_set_during_runtest_failed(self, pytester: Pytes... method test_dynamic_xfail_set_during_runtest_passed_strict (line 577) | def test_dynamic_xfail_set_during_runtest_passed_strict( method test_xfail_raises (line 600) | def test_xfail_raises( method test_strict_sanity (line 614) | def test_strict_sanity(self, pytester: Pytester) -> None: method test_strict_xfail (line 630) | def test_strict_xfail(self, pytester: Pytester, strict: bool) -> None: method test_strict_xfail_condition (line 657) | def test_strict_xfail_condition(self, pytester: Pytester, strict: bool... method test_xfail_condition_keyword (line 672) | def test_xfail_condition_keyword(self, pytester: Pytester, strict: boo... method test_strict_xfail_default_from_file (line 688) | def test_strict_xfail_default_from_file( method test_xfail_markeval_namespace (line 710) | def test_xfail_markeval_namespace(self, pytester: Pytester) -> None: class TestXFailwithSetupTeardown (line 738) | class TestXFailwithSetupTeardown: method test_failing_setup_issue9 (line 739) | def test_failing_setup_issue9(self, pytester: Pytester) -> None: method test_failing_teardown_issue9 (line 754) | def test_failing_teardown_issue9(self, pytester: Pytester) -> None: class TestSkip (line 770) | class TestSkip: method test_skip_class (line 771) | def test_skip_class(self, pytester: Pytester) -> None: method test_skips_on_false_string (line 789) | def test_skips_on_false_string(self, pytester: Pytester) -> None: method test_arg_as_reason (line 801) | def test_arg_as_reason(self, pytester: Pytester) -> None: method test_skip_no_reason (line 813) | def test_skip_no_reason(self, pytester: Pytester) -> None: method test_skip_with_reason (line 825) | def test_skip_with_reason(self, pytester: Pytester) -> None: method test_only_skips_marked_test (line 837) | def test_only_skips_marked_test(self, pytester: Pytester) -> None: method test_strict_and_skip (line 854) | def test_strict_and_skip(self, pytester: Pytester) -> None: method test_wrong_skip_usage (line 866) | def test_wrong_skip_usage(self, pytester: Pytester) -> None: class TestSkipif (line 884) | class TestSkipif: method test_skipif_conditional (line 885) | def test_skipif_conditional(self, pytester: Pytester) -> None: method test_skipif_reporting (line 900) | def test_skipif_reporting(self, pytester: Pytester, params) -> None: method test_skipif_using_platform (line 913) | def test_skipif_using_platform(self, pytester: Pytester) -> None: method test_skipif_reporting_multiple (line 928) | def test_skipif_reporting_multiple( function test_skip_not_report_default (line 947) | def test_skip_not_report_default(pytester: Pytester) -> None: function test_skipif_class (line 964) | def test_skipif_class(pytester: Pytester) -> None: function test_skipped_reasons_functional (line 981) | def test_skipped_reasons_functional(pytester: Pytester) -> None: function test_skipped_folding (line 1019) | def test_skipped_folding(pytester: Pytester) -> None: function test_reportchars (line 1038) | def test_reportchars(pytester: Pytester) -> None: function test_reportchars_error (line 1060) | def test_reportchars_error(pytester: Pytester) -> None: function test_reportchars_all (line 1075) | def test_reportchars_all(pytester: Pytester) -> None: function test_reportchars_all_error (line 1108) | def test_reportchars_all_error(pytester: Pytester) -> None: function test_errors_in_xfail_skip_expressions (line 1123) | def test_errors_in_xfail_skip_expressions(pytester: Pytester) -> None: function test_xfail_skipif_with_globals (line 1160) | def test_xfail_skipif_with_globals(pytester: Pytester) -> None: function test_default_markers (line 1177) | def test_default_markers(pytester: Pytester) -> None: function test_xfail_test_setup_exception (line 1187) | def test_xfail_test_setup_exception(pytester: Pytester) -> None: function test_imperativeskip_on_xfail_test (line 1208) | def test_imperativeskip_on_xfail_test(pytester: Pytester) -> None: class TestBooleanCondition (line 1238) | class TestBooleanCondition: method test_skipif (line 1239) | def test_skipif(self, pytester: Pytester) -> None: method test_skipif_noreason (line 1258) | def test_skipif_noreason(self, pytester: Pytester) -> None: method test_xfail (line 1274) | def test_xfail(self, pytester: Pytester) -> None: function test_xfail_item (line 1292) | def test_xfail_item(pytester: Pytester) -> None: function test_module_level_skip_error (line 1314) | def test_module_level_skip_error(pytester: Pytester) -> None: function test_module_level_skip_with_allow_module_level (line 1331) | def test_module_level_skip_with_allow_module_level(pytester: Pytester) -... function test_invalid_skip_keyword_parameter (line 1346) | def test_invalid_skip_keyword_parameter(pytester: Pytester) -> None: function test_mark_xfail_item (line 1361) | def test_mark_xfail_item(pytester: Pytester) -> None: function test_summary_list_after_errors (line 1388) | def test_summary_list_after_errors(pytester: Pytester) -> None: function test_importorskip (line 1407) | def test_importorskip() -> None: function test_relpath_rootdir (line 1415) | def test_relpath_rootdir(pytester: Pytester) -> None: function test_skip_from_fixture (line 1432) | def test_skip_from_fixture(pytester: Pytester) -> None: function test_skip_using_reason_works_ok (line 1453) | def test_skip_using_reason_works_ok(pytester: Pytester) -> None: function test_fail_using_reason_works_ok (line 1467) | def test_fail_using_reason_works_ok(pytester: Pytester) -> None: function test_exit_with_reason_works_ok (line 1481) | def test_exit_with_reason_works_ok(pytester: Pytester) -> None: FILE: testing/test_stash.py function test_stash (line 8) | def test_stash() -> None: FILE: testing/test_stepwise.py function stepwise_pytester (line 16) | def stepwise_pytester(pytester: Pytester) -> Pytester: function error_pytester (line 67) | def error_pytester(pytester: Pytester) -> Pytester: function broken_pytester (line 82) | def broken_pytester(pytester: Pytester) -> Pytester: function _strip_resource_warnings (line 89) | def _strip_resource_warnings(lines: Sequence[str]) -> Sequence[str]: function test_run_without_stepwise (line 99) | def test_run_without_stepwise(stepwise_pytester: Pytester) -> None: function test_stepwise_output_summary (line 106) | def test_stepwise_output_summary(pytester: Pytester) -> None: function test_fail_and_continue_with_stepwise (line 126) | def test_fail_and_continue_with_stepwise(stepwise_pytester: Pytester) ->... function test_run_with_skip_option (line 151) | def test_run_with_skip_option(stepwise_pytester: Pytester, stepwise_skip... function test_fail_on_errors (line 170) | def test_fail_on_errors(error_pytester: Pytester) -> None: function test_change_testfile (line 180) | def test_change_testfile(stepwise_pytester: Pytester) -> None: function test_stop_on_collection_errors (line 201) | def test_stop_on_collection_errors( function test_xfail_handling (line 213) | def test_xfail_handling(pytester: Pytester, monkeypatch: MonkeyPatch) ->... function test_stepwise_skip_is_independent (line 265) | def test_stepwise_skip_is_independent(pytester: Pytester) -> None: function test_sw_skip_help (line 290) | def test_sw_skip_help(pytester: Pytester) -> None: function test_stepwise_xdist_dont_store_lastfailed (line 295) | def test_stepwise_xdist_dont_store_lastfailed(pytester: Pytester) -> None: function test_disabled_stepwise_xdist_dont_clear_cache (line 325) | def test_disabled_stepwise_xdist_dont_clear_cache(pytester: Pytester) ->... function test_do_not_reset_cache_if_disabled (line 368) | def test_do_not_reset_cache_if_disabled(pytester: Pytester) -> None: function test_reset (line 412) | def test_reset(pytester: Pytester) -> None: function test_change_test_count (line 454) | def test_change_test_count(pytester: Pytester) -> None: function test_cache_error (line 515) | def test_cache_error(pytester: Pytester) -> None: FILE: testing/test_subtests.py function test_failures (line 17) | def test_failures(pytester: pytest.Pytester, monkeypatch: pytest.MonkeyP... function test_passes (line 99) | def test_passes(pytester: pytest.Pytester, monkeypatch: pytest.MonkeyPat... function test_skip (line 149) | def test_skip(pytester: pytest.Pytester, monkeypatch: pytest.MonkeyPatch... function test_xfail (line 214) | def test_xfail(pytester: pytest.Pytester, monkeypatch: pytest.MonkeyPatc... function test_typing_exported (line 276) | def test_typing_exported(pytester: pytest.Pytester) -> None: function test_subtests_and_parametrization (line 289) | def test_subtests_and_parametrization( function test_subtests_fail_top_level_test (line 336) | def test_subtests_fail_top_level_test(pytester: pytest.Pytester) -> None: function test_subtests_do_not_overwrite_top_level_failure (line 355) | def test_subtests_do_not_overwrite_top_level_failure(pytester: pytest.Py... function test_msg_not_a_string (line 376) | def test_msg_not_a_string( function test_subtests_last_failed_step_wise (line 407) | def test_subtests_last_failed_step_wise(pytester: pytest.Pytester, flag:... class TestUnittestSubTest (line 434) | class TestUnittestSubTest: method test_failures (line 437) | def test_failures( method test_passes (line 467) | def test_passes( method test_skip (line 496) | def test_skip( method test_non_subtest_skip (line 517) | def test_non_subtest_skip( method test_xfail (line 542) | def test_xfail( method test_only_original_skip_is_called (line 567) | def test_only_original_skip_is_called( method test_skip_with_failure (line 590) | def test_skip_with_failure( method test_msg_not_a_string (line 655) | def test_msg_not_a_string( class TestCapture (line 683) | class TestCapture: method create_file (line 684) | def create_file(self, pytester: pytest.Pytester) -> None: method test_capturing (line 708) | def test_capturing(self, pytester: pytest.Pytester, mode: str) -> None: method test_no_capture (line 730) | def test_no_capture(self, pytester: pytest.Pytester) -> None: method test_capture_with_fixture (line 747) | def test_capture_with_fixture( class TestLogging (line 774) | class TestLogging: method create_file (line 775) | def create_file(self, pytester: pytest.Pytester) -> None: method test_capturing_info (line 796) | def test_capturing_info(self, pytester: pytest.Pytester) -> None: method test_capturing_debug (line 814) | def test_capturing_debug(self, pytester: pytest.Pytester) -> None: method test_caplog (line 832) | def test_caplog(self, pytester: pytest.Pytester) -> None: method test_no_logging (line 856) | def test_no_logging(self, pytester: pytest.Pytester) -> None: class TestDebugging (line 883) | class TestDebugging: class _FakePdb (line 886) | class _FakePdb: method __init__ (line 892) | def __init__(self, *_: object, **__: object) -> None: method reset (line 895) | def reset(self) -> None: method interaction (line 898) | def interaction(self, *_: object) -> None: method cleanup_calls (line 902) | def cleanup_calls(self) -> None: method test_pdb_fixture (line 905) | def test_pdb_fixture( method test_pdb_unittest (line 917) | def test_pdb_unittest( method runpytest_and_check_pdb (line 931) | def runpytest_and_check_pdb( function test_exitfirst (line 949) | def test_exitfirst(pytester: pytest.Pytester) -> None: function test_do_not_swallow_pytest_exit (line 974) | def test_do_not_swallow_pytest_exit(pytester: pytest.Pytester) -> None: function test_nested (line 994) | def test_nested(pytester: pytest.Pytester) -> None: class MyEnum (line 1020) | class MyEnum(Enum): function test_serialization (line 1026) | def test_serialization() -> None: function test_serialization_xdist (line 1051) | def test_serialization_xdist(pytester: pytest.Pytester) -> None: # prag... FILE: testing/test_terminal.py class DistInfo (line 40) | class DistInfo(NamedTuple): class Option (line 48) | class Option: method __init__ (line 49) | def __init__(self, verbosity=0): method args (line 53) | def args(self): function option (line 63) | def option(request): function test_plugin_nameversion (line 82) | def test_plugin_nameversion(input, expected): class TestTerminal (line 88) | class TestTerminal: method test_pass_skip_fail (line 89) | def test_pass_skip_fail(self, pytester: Pytester, option) -> None: method test_console_output_style_times_with_skipped_and_passed (line 118) | def test_console_output_style_times_with_skipped_and_passed( method test_internalerror (line 143) | def test_internalerror(self, pytester: Pytester, linecomp) -> None: method test_writeline (line 151) | def test_writeline(self, pytester: Pytester, linecomp) -> None: method test_show_runtest_logstart (line 161) | def test_show_runtest_logstart(self, pytester: Pytester, linecomp) -> ... method test_runtest_location_shown_before_test_starts (line 171) | def test_runtest_location_shown_before_test_starts( method test_report_collect_after_half_a_second (line 186) | def test_report_collect_after_half_a_second( method test_itemreport_subclasses_show_subclassed_file (line 214) | def test_itemreport_subclasses_show_subclassed_file( method test_itemreport_directclasses_not_shown_as_subclasses (line 267) | def test_itemreport_directclasses_not_shown_as_subclasses( method test_keyboard_interrupt (line 287) | def test_keyboard_interrupt(self, pytester: Pytester, fulltrace) -> None: method test_keyboard_in_sessionstart (line 318) | def test_keyboard_in_sessionstart(self, pytester: Pytester) -> None: method test_collect_single_item (line 336) | def test_collect_single_item(self, pytester: Pytester) -> None: method test_rewrite (line 347) | def test_rewrite(self, pytester: Pytester, monkeypatch) -> None: method test_report_teststatus_explicit_markup (line 358) | def test_report_teststatus_explicit_markup( method test_verbose_skip_reason (line 383) | def test_verbose_skip_reason(self, pytester: Pytester) -> None: method test_isatty (line 474) | def test_isatty(self, pytester: Pytester, monkeypatch, isatty: bool) -... class TestCollectonly (line 484) | class TestCollectonly: method test_collectonly_basic (line 485) | def test_collectonly_basic(self, pytester: Pytester) -> None: method test_collectonly_skipped_module (line 501) | def test_collectonly_skipped_module(self, pytester: Pytester) -> None: method test_collectonly_displays_test_description (line 511) | def test_collectonly_displays_test_description( method test_collectonly_failed_module (line 540) | def test_collectonly_failed_module(self, pytester: Pytester) -> None: method test_collectonly_fatal (line 545) | def test_collectonly_fatal(self, pytester: Pytester) -> None: method test_collectonly_simple (line 556) | def test_collectonly_simple(self, pytester: Pytester) -> None: method test_collectonly_error (line 578) | def test_collectonly_error(self, pytester: Pytester) -> None: method test_collectonly_missing_path (line 593) | def test_collectonly_missing_path(self, pytester: Pytester) -> None: method test_collectonly_quiet (line 602) | def test_collectonly_quiet(self, pytester: Pytester) -> None: method test_collectonly_more_quiet (line 607) | def test_collectonly_more_quiet(self, pytester: Pytester) -> None: method test_collect_only_summary_status (line 612) | def test_collect_only_summary_status(self, pytester: Pytester) -> None: class TestFixtureReporting (line 655) | class TestFixtureReporting: method test_setup_fixture_error (line 656) | def test_setup_fixture_error(self, pytester: Pytester) -> None: method test_teardown_fixture_error (line 678) | def test_teardown_fixture_error(self, pytester: Pytester) -> None: method test_teardown_fixture_error_and_test_failure (line 700) | def test_teardown_fixture_error_and_test_failure(self, pytester: Pytes... method test_setup_teardown_output_and_test_failure (line 726) | def test_setup_teardown_output_and_test_failure(self, pytester: Pytest... class TestTerminalFunctional (line 755) | class TestTerminalFunctional: method test_deselected (line 756) | def test_deselected(self, pytester: Pytester) -> None: method test_deselected_with_hook_wrapper (line 773) | def test_deselected_with_hook_wrapper(self, pytester: Pytester) -> None: method test_show_deselected_items_using_markexpr_before_test_execution (line 804) | def test_show_deselected_items_using_markexpr_before_test_execution( method test_selected_count_with_error (line 834) | def test_selected_count_with_error(self, pytester: Pytester) -> None: method test_no_skip_summary_if_failure (line 861) | def test_no_skip_summary_if_failure(self, pytester: Pytester) -> None: method test_passes (line 877) | def test_passes(self, pytester: Pytester) -> None: method test_header_trailer_info (line 896) | def test_header_trailer_info( method test_no_header_trailer_info (line 920) | def test_no_header_trailer_info( method test_header (line 938) | def test_header(self, pytester: Pytester) -> None: method test_header_absolute_testpath (line 967) | def test_header_absolute_testpath( method test_no_header (line 988) | def test_no_header(self, pytester: Pytester) -> None: method test_no_summary (line 1008) | def test_no_summary(self, pytester: Pytester) -> None: method test_showlocals (line 1018) | def test_showlocals(self, pytester: Pytester) -> None: method test_noshowlocals_addopts_override (line 1036) | def test_noshowlocals_addopts_override(self, pytester: Pytester) -> None: method test_showlocals_short (line 1052) | def test_showlocals_short(self, pytester: Pytester) -> None: method verbose_testfile (line 1073) | def verbose_testfile(self, pytester: Pytester) -> Path: method test_verbose_reporting (line 1087) | def test_verbose_reporting(self, verbose_testfile, pytester: Pytester)... method test_verbose_reporting_xdist (line 1100) | def test_verbose_reporting_xdist( method test_quiet_reporting (line 1119) | def test_quiet_reporting(self, pytester: Pytester) -> None: method test_more_quiet_reporting (line 1128) | def test_more_quiet_reporting(self, pytester: Pytester) -> None: method test_report_collectionfinish_hook (line 1140) | def test_report_collectionfinish_hook(self, pytester: Pytester, params... method test_summary_f_alias (line 1158) | def test_summary_f_alias(self, pytester: Pytester) -> None: method test_summary_s_alias (line 1171) | def test_summary_s_alias(self, pytester: Pytester) -> None: method test_summary_s_folded (line 1187) | def test_summary_s_folded(self, pytester: Pytester) -> None: method test_summary_s_unfolded (line 1204) | def test_summary_s_unfolded(self, pytester: Pytester) -> None: function test_fail_extra_reporting (line 1234) | def test_fail_extra_reporting( function test_fail_reporting_on_pass (line 1254) | def test_fail_reporting_on_pass(pytester: Pytester) -> None: function test_pass_extra_reporting (line 1260) | def test_pass_extra_reporting(pytester: Pytester) -> None: function test_pass_reporting_on_fail (line 1268) | def test_pass_reporting_on_fail(pytester: Pytester) -> None: function test_pass_output_reporting (line 1274) | def test_pass_output_reporting(pytester: Pytester) -> None: function test_color_yes (line 1314) | def test_color_yes(pytester: Pytester, color_mapping) -> None: function test_color_no (line 1373) | def test_color_no(pytester: Pytester) -> None: function test_color_yes_collection_on_non_atty (line 1381) | def test_color_yes_collection_on_non_atty(pytester: Pytester, verbose) -... function test_getreportopt (line 1403) | def test_getreportopt() -> None: function test_terminalreporter_reportopt_addopts (line 1462) | def test_terminalreporter_reportopt_addopts(pytester: Pytester) -> None: function test_tbstyle_short (line 1481) | def test_tbstyle_short(pytester: Pytester) -> None: function test_traceconfig (line 1505) | def test_traceconfig(pytester: Pytester) -> None: class TestGenericReporting (line 1511) | class TestGenericReporting: method test_collect_fail (line 1515) | def test_collect_fail(self, pytester: Pytester, option) -> None: method test_maxfailures (line 1522) | def test_maxfailures(self, pytester: Pytester, option) -> None: method test_maxfailures_with_interrupted (line 1543) | def test_maxfailures_with_interrupted(self, pytester: Pytester) -> None: method test_tb_option (line 1562) | def test_tb_option(self, pytester: Pytester, option) -> None: method test_tb_line_show_capture (line 1589) | def test_tb_line_show_capture(self, pytester: Pytester, option) -> None: method test_tb_crashline (line 1602) | def test_tb_crashline(self, pytester: Pytester, option) -> None: method test_tb_crashline_pytrace_false (line 1623) | def test_tb_crashline_pytrace_false(self, pytester: Pytester, option) ... method test_pytest_report_header (line 1636) | def test_pytest_report_header(self, pytester: Pytester, option) -> None: method test_show_capture (line 1655) | def test_show_capture(self, pytester: Pytester) -> None: method test_show_capture_with_teardown_logs (line 1706) | def test_show_capture_with_teardown_logs(self, pytester: Pytester) -> ... function test_fdopen_kept_alive_issue124 (line 1748) | def test_fdopen_kept_alive_issue124(pytester: Pytester) -> None: function test_tbstyle_native_setup_error (line 1766) | def test_tbstyle_native_setup_error(pytester: Pytester) -> None: function test_terminal_summary (line 1784) | def test_terminal_summary(pytester: Pytester) -> None: function test_terminal_summary_warnings_are_displayed (line 1805) | def test_terminal_summary_warnings_are_displayed(pytester: Pytester) -> ... function test_terminal_summary_warnings_header_once (line 1842) | def test_terminal_summary_warnings_header_once(pytester: Pytester) -> None: function test_terminal_no_summary_warnings_header_once (line 1867) | def test_terminal_no_summary_warnings_header_once(pytester: Pytester) ->... function tr (line 1882) | def tr() -> TerminalReporter: function test_summary_stats (line 2017) | def test_summary_stats( function test_skip_counting_towards_summary (line 2043) | def test_skip_counting_towards_summary(tr): class TestClassicOutputStyle (line 2061) | class TestClassicOutputStyle: method test_files (line 2065) | def test_files(self, pytester: Pytester) -> None: method test_normal_verbosity (line 2078) | def test_normal_verbosity(self, pytester: Pytester, test_files) -> None: method test_verbose (line 2089) | def test_verbose(self, pytester: Pytester, test_files) -> None: method test_quiet (line 2102) | def test_quiet(self, pytester: Pytester, test_files) -> None: class TestProgressOutputStyle (line 2107) | class TestProgressOutputStyle: method many_tests_files (line 2109) | def many_tests_files(self, pytester: Pytester) -> None: method more_tests_files (line 2129) | def more_tests_files(self, pytester: Pytester) -> None: method test_zero_tests_collected (line 2143) | def test_zero_tests_collected(self, pytester: Pytester) -> None: method test_normal (line 2161) | def test_normal(self, many_tests_files, pytester: Pytester) -> None: method test_colored_progress (line 2171) | def test_colored_progress( method test_count (line 2223) | def test_count(self, many_tests_files, pytester: Pytester) -> None: method test_times (line 2239) | def test_times(self, many_tests_files, pytester: Pytester) -> None: method test_times_multiline (line 2255) | def test_times_multiline( method test_times_none_collected (line 2275) | def test_times_none_collected(self, pytester: Pytester) -> None: method test_verbose (line 2285) | def test_verbose(self, many_tests_files, pytester: Pytester) -> None: method test_verbose_count (line 2295) | def test_verbose_count(self, many_tests_files, pytester: Pytester) -> ... method test_verbose_times (line 2311) | def test_verbose_times(self, many_tests_files, pytester: Pytester) -> ... method test_xdist_normal (line 2327) | def test_xdist_normal( method test_xdist_normal_count (line 2335) | def test_xdist_normal_count( method test_xdist_verbose (line 2349) | def test_xdist_verbose( method test_xdist_times (line 2379) | def test_xdist_times( method test_capture_no (line 2399) | def test_capture_no(self, many_tests_files, pytester: Pytester) -> None: method test_capture_no_progress_enabled (line 2408) | def test_capture_no_progress_enabled( class TestProgressWithTeardown (line 2427) | class TestProgressWithTeardown: method contest_with_teardown_fixture (line 2431) | def contest_with_teardown_fixture(self, pytester: Pytester) -> None: method many_files (line 2444) | def many_files(self, pytester: Pytester, contest_with_teardown_fixture... method test_teardown_simple (line 2460) | def test_teardown_simple( method test_teardown_with_test_also_failing (line 2472) | def test_teardown_with_test_also_failing( method test_teardown_many (line 2490) | def test_teardown_many(self, pytester: Pytester, many_files) -> None: method test_teardown_many_verbose (line 2496) | def test_teardown_many_verbose( method test_xdist_normal (line 2513) | def test_xdist_normal(self, many_files, pytester: Pytester, monkeypatc... function test_skip_reasons_folding (line 2520) | def test_skip_reasons_folding() -> None: function test_line_with_reprcrash (line 2554) | def test_line_with_reprcrash(monkeypatch: MonkeyPatch) -> None: function test_short_summary_with_verbose (line 2635) | def test_short_summary_with_verbose( function test_full_sequence_print_with_vv (line 2672) | def test_full_sequence_print_with_vv( function test_force_short_summary (line 2701) | def test_force_short_summary(monkeypatch: MonkeyPatch, pytester: Pyteste... function test_format_session_duration (line 2729) | def test_format_session_duration(seconds, expected): function test_format_node_duration (line 2750) | def test_format_node_duration(seconds: float, expected: str) -> None: function test_collecterror (line 2756) | def test_collecterror(pytester: Pytester) -> None: function test_no_summary_collecterror (line 2773) | def test_no_summary_collecterror(pytester: Pytester) -> None: function test_via_exec (line 2779) | def test_via_exec(pytester: Pytester) -> None: class TestCodeHighlight (line 2787) | class TestCodeHighlight: method test_code_highlight_simple (line 2788) | def test_code_highlight_simple(self, pytester: Pytester, color_mapping... method test_code_highlight_continuation (line 2806) | def test_code_highlight_continuation( method test_code_highlight_custom_theme (line 2829) | def test_code_highlight_custom_theme( method test_code_highlight_invalid_theme (line 2851) | def test_code_highlight_invalid_theme( method test_code_highlight_invalid_theme_mode (line 2867) | def test_code_highlight_invalid_theme_mode( function test_raw_skip_reason_skipped (line 2884) | def test_raw_skip_reason_skipped() -> None: function test_raw_skip_reason_xfail (line 2893) | def test_raw_skip_reason_xfail() -> None: function test_format_trimmed (line 2901) | def test_format_trimmed() -> None: function test_warning_when_init_trumps_pyproject_toml (line 2908) | def test_warning_when_init_trumps_pyproject_toml( function test_warning_when_init_trumps_multiple_files (line 2929) | def test_warning_when_init_trumps_multiple_files( function test_no_warning_when_init_but_pyproject_toml_has_no_entry (line 2961) | def test_no_warning_when_init_but_pyproject_toml_has_no_entry( function test_no_warning_on_terminal_with_a_single_config_file (line 2982) | def test_no_warning_on_terminal_with_a_single_config_file( class TestFineGrainedTestCase (line 3002) | class TestFineGrainedTestCase: method test_execute_positive (line 3028) | def test_execute_positive(self, verbosity, pytester: Pytester) -> None: method test_execute_0_global_1 (line 3046) | def test_execute_0_global_1(self, pytester: Pytester) -> None: method test_execute_negative (line 3061) | def test_execute_negative(self, verbosity, pytester: Pytester) -> None: method test_execute_skipped_positive_2 (line 3074) | def test_execute_skipped_positive_2(self, pytester: Pytester) -> None: method test_execute_skipped_positive_1 (line 3094) | def test_execute_skipped_positive_1(self, pytester: Pytester) -> None: method test_execute_skipped__0_global_1 (line 3112) | def test_execute_skipped__0_global_1(self, pytester: Pytester) -> None: method test_execute_skipped_negative (line 3131) | def test_execute_skipped_negative(self, verbosity, pytester: Pytester)... method test__collect_only_positive (line 3149) | def test__collect_only_positive(self, verbosity, pytester: Pytester) -... method test_collect_only_0_global_1 (line 3172) | def test_collect_only_0_global_1(self, pytester: Pytester) -> None: method test_collect_only_negative_1 (line 3191) | def test_collect_only_negative_1(self, pytester: Pytester) -> None: method test_collect_only_negative_2 (line 3208) | def test_collect_only_negative_2(self, pytester: Pytester) -> None: method _initialize_files (line 3222) | def _initialize_files( function test_summary_xfail_reason (line 3235) | def test_summary_xfail_reason(pytester: Pytester) -> None: function xfail_testfile (line 3258) | def xfail_testfile(pytester: Pytester) -> Path: function test_xfail_tb_default (line 3275) | def test_xfail_tb_default(xfail_testfile, pytester: Pytester) -> None: function test_xfail_tb_true (line 3294) | def test_xfail_tb_true(xfail_testfile, pytester: Pytester) -> None: function test_xfail_tb_line (line 3317) | def test_xfail_tb_line(xfail_testfile, pytester: Pytester) -> None: function test_summary_xpass_reason (line 3332) | def test_summary_xpass_reason(pytester: Pytester) -> None: function test_xpass_output (line 3354) | def test_xpass_output(pytester: Pytester) -> None: class TestNodeIDHandling (line 3377) | class TestNodeIDHandling: method test_nodeid_handling_windows_paths (line 3378) | def test_nodeid_handling_windows_paths(self, pytester: Pytester, tmp_p... class TestTerminalProgressPlugin (line 3412) | class TestTerminalProgressPlugin: method mock_file (line 3416) | def mock_file(self) -> StringIO: method mock_tr (line 3420) | def mock_tr(self, mock_file: StringIO) -> pytest.TerminalReporter: method test_plugin_registration_enabled_by_default (line 3431) | def test_plugin_registration_enabled_by_default( method test_plugin_registred_on_all_platforms_when_explicitly_requested (line 3444) | def test_plugin_registred_on_all_platforms_when_explicitly_requested( method test_disabled_for_non_tty (line 3454) | def test_disabled_for_non_tty( method test_disabled_for_dumb_terminal (line 3463) | def test_disabled_for_dumb_terminal( method test_emit_progress_sequences (line 3484) | def test_emit_progress_sequences( method test_session_lifecycle (line 3497) | def test_session_lifecycle( FILE: testing/test_threadexception.py function test_unhandled_thread_exception (line 8) | def test_unhandled_thread_exception(pytester: Pytester) -> None: function test_unhandled_thread_exception_in_setup (line 42) | def test_unhandled_thread_exception_in_setup(pytester: Pytester) -> None: function test_unhandled_thread_exception_in_teardown (line 78) | def test_unhandled_thread_exception_in_teardown(pytester: Pytester) -> N... function test_unhandled_thread_exception_warning_error (line 115) | def test_unhandled_thread_exception_warning_error(pytester: Pytester) ->... function test_threadexception_warning_multiple_errors (line 137) | def test_threadexception_warning_multiple_errors(pytester: Pytester) -> ... function test_unraisable_collection_failure (line 165) | def test_unraisable_collection_failure(pytester: Pytester) -> None: function test_unhandled_thread_exception_after_teardown (line 195) | def test_unhandled_thread_exception_after_teardown(pytester: Pytester) -... function test_possibly_none_excinfo (line 224) | def test_possibly_none_excinfo(pytester: Pytester) -> None: FILE: testing/test_tmpdir.py function test_tmp_path_fixture (line 29) | def test_tmp_path_fixture(pytester: Pytester) -> None: class FakeConfig (line 36) | class FakeConfig: method trace (line 40) | def trace(self): method get (line 43) | def get(self, key): method getini (line 46) | def getini(self, name): method option (line 55) | def option(self): class TestTmpPathHandler (line 59) | class TestTmpPathHandler: method test_mktemp (line 60) | def test_mktemp(self, tmp_path: Path) -> None: method test_tmppath_relative_basetemp_absolute (line 71) | def test_tmppath_relative_basetemp_absolute( class TestConfigTmpPath (line 81) | class TestConfigTmpPath: method test_getbasetemp_custom_removes_old (line 82) | def test_getbasetemp_custom_removes_old(self, pytester: Pytester) -> N... method test_policy_failed_removes_only_passed_dir (line 98) | def test_policy_failed_removes_only_passed_dir(self, pytester: Pyteste... method test_policy_failed_removes_basedir_when_all_passed (line 131) | def test_policy_failed_removes_basedir_when_all_passed( method test_policy_failed_removes_dir_when_skipped_from_fixture (line 158) | def test_policy_failed_removes_dir_when_skipped_from_fixture( method test_policy_all_keeps_dir_when_skipped_from_fixture (line 191) | def test_policy_all_keeps_dir_when_skipped_from_fixture( function test_mktemp (line 242) | def test_mktemp(pytester: Pytester, basename: str, is_ok: bool) -> None: function test_tmp_path_always_is_realpath (line 260) | def test_tmp_path_always_is_realpath(pytester: Pytester, monkeypatch) ->... function test_tmp_path_too_long_on_parametrization (line 281) | def test_tmp_path_too_long_on_parametrization(pytester: Pytester) -> None: function test_tmp_path_factory (line 294) | def test_tmp_path_factory(pytester: Pytester) -> None: function test_tmp_path_fallback_tox_env (line 309) | def test_tmp_path_fallback_tox_env(pytester: Pytester, monkeypatch) -> N... function break_getuser (line 326) | def break_getuser(monkeypatch): function test_tmp_path_fallback_uid_not_found (line 335) | def test_tmp_path_fallback_uid_not_found(pytester: Pytester) -> None: function test_get_user_uid_not_found (line 351) | def test_get_user_uid_not_found(): function test_get_user (line 360) | def test_get_user(monkeypatch): class TestNumberedDir (line 370) | class TestNumberedDir: method test_make (line 373) | def test_make(self, tmp_path): method test_cleanup_lock_create (line 385) | def test_cleanup_lock_create(self, tmp_path): method test_lock_register_cleanup_removal (line 394) | def test_lock_register_cleanup_removal(self, tmp_path: Path) -> None: method _do_cleanup (line 416) | def _do_cleanup(self, tmp_path: Path, keep: int = 2) -> None: method test_cleanup_keep (line 425) | def test_cleanup_keep(self, tmp_path): method test_cleanup_keep_0 (line 430) | def test_cleanup_keep_0(self, tmp_path: Path): method test_cleanup_locked (line 435) | def test_cleanup_locked(self, tmp_path): method test_cleanup_ignores_symlink (line 447) | def test_cleanup_ignores_symlink(self, tmp_path): method test_removal_accepts_lock (line 452) | def test_removal_accepts_lock(self, tmp_path): class TestRmRf (line 459) | class TestRmRf: method test_rm_rf (line 460) | def test_rm_rf(self, tmp_path): method test_rm_rf_with_read_only_file (line 474) | def test_rm_rf_with_read_only_file(self, tmp_path): method chmod_r (line 487) | def chmod_r(self, path): method test_rm_rf_with_read_only_directory (line 491) | def test_rm_rf_with_read_only_directory(self, tmp_path): method test_on_rm_rf_error (line 503) | def test_on_rm_rf_error(self, tmp_path: Path) -> None: function attempt_symlink_to (line 542) | def attempt_symlink_to(path, to_path): function test_basetemp_with_read_only_files (line 551) | def test_basetemp_with_read_only_files(pytester: Pytester) -> None: function test_tmp_path_factory_handles_invalid_dir_characters (line 572) | def test_tmp_path_factory_handles_invalid_dir_characters( function test_tmp_path_factory_create_directory_with_safe_permissions (line 584) | def test_tmp_path_factory_create_directory_with_safe_permissions( function test_tmp_path_factory_fixes_up_world_readable_permissions (line 600) | def test_tmp_path_factory_fixes_up_world_readable_permissions( FILE: testing/test_unittest.py function test_simple_unittest (line 12) | def test_simple_unittest(pytester: Pytester) -> None: function test_runTest_method (line 28) | def test_runTest_method(pytester: Pytester) -> None: function test_isclasscheck_issue53 (line 52) | def test_isclasscheck_issue53(pytester: Pytester) -> None: function test_setup (line 66) | def test_setup(pytester: Pytester) -> None: function test_setUpModule (line 89) | def test_setUpModule(pytester: Pytester) -> None: function test_setUpModule_failing_no_teardown (line 111) | def test_setUpModule_failing_no_teardown(pytester: Pytester) -> None: function test_new_instances (line 132) | def test_new_instances(pytester: Pytester) -> None: function test_function_item_obj_is_instance (line 147) | def test_function_item_obj_is_instance(pytester: Pytester) -> None: function test_teardown (line 170) | def test_teardown(pytester: Pytester) -> None: function test_teardown_issue1649 (line 192) | def test_teardown_issue1649(pytester: Pytester) -> None: function test_unittest_skip_issue148 (line 226) | def test_unittest_skip_issue148(pytester: Pytester) -> None: function test_method_and_teardown_failing_reporting (line 247) | def test_method_and_teardown_failing_reporting(pytester: Pytester) -> None: function test_setup_failure_is_shown (line 271) | def test_setup_failure_is_shown(pytester: Pytester) -> None: function test_setup_setUpClass (line 290) | def test_setup_setUpClass(pytester: Pytester) -> None: function test_fixtures_setup_setUpClass_issue8394 (line 315) | def test_fixtures_setup_setUpClass_issue8394(pytester: Pytester) -> None: function test_setup_class (line 339) | def test_setup_class(pytester: Pytester) -> None: function test_testcase_adderrorandfailure_defers (line 363) | def test_testcase_adderrorandfailure_defers(pytester: Pytester, type: st... function test_testcase_custom_exception_info (line 386) | def test_testcase_custom_exception_info(pytester: Pytester, type: str) -... function test_testcase_totally_incompatible_exception_info (line 429) | def test_testcase_totally_incompatible_exception_info(pytester: Pytester... function test_module_level_pytestmark (line 447) | def test_module_level_pytestmark(pytester: Pytester) -> None: class TestTrialUnittest (line 462) | class TestTrialUnittest: method setup_class (line 463) | def setup_class(cls): method test_trial_testcase_runtest_not_collected (line 469) | def test_trial_testcase_runtest_not_collected(self, pytester: Pytester... method test_trial_exceptions_with_skips (line 493) | def test_trial_exceptions_with_skips(self, pytester: Pytester) -> None: method test_trial_error (line 543) | def test_trial_error(self, pytester: Pytester) -> None: method test_trial_pdb (line 607) | def test_trial_pdb(self, pytester: Pytester) -> None: method test_trial_testcase_skip_property (line 621) | def test_trial_testcase_skip_property(self, pytester: Pytester) -> None: method test_trial_testfunction_skip_property (line 634) | def test_trial_testfunction_skip_property(self, pytester: Pytester) ->... method test_trial_testcase_todo_property (line 647) | def test_trial_testcase_todo_property(self, pytester: Pytester) -> None: method test_trial_testfunction_todo_property (line 660) | def test_trial_testfunction_todo_property(self, pytester: Pytester) ->... function test_djangolike_testcase (line 676) | def test_djangolike_testcase(pytester: Pytester) -> None: function test_unittest_not_shown_in_traceback (line 734) | def test_unittest_not_shown_in_traceback(pytester: Pytester) -> None: function test_unorderable_types (line 748) | def test_unorderable_types(pytester: Pytester) -> None: function test_unittest_typerror_traceback (line 768) | def test_unittest_typerror_traceback(pytester: Pytester) -> None: function test_unittest_expected_failure_for_failing_test_is_xfail (line 783) | def test_unittest_expected_failure_for_failing_test_is_xfail( function test_unittest_expected_failure_for_passing_test_is_fail (line 809) | def test_unittest_expected_failure_for_passing_test_is_fail( function test_unittest_setup_interaction (line 842) | def test_unittest_setup_interaction(pytester: Pytester, stmt: str) -> None: function test_non_unittest_no_setupclass_support (line 872) | def test_non_unittest_no_setupclass_support(pytester: Pytester) -> None: function test_no_teardown_if_setupclass_failed (line 898) | def test_no_teardown_if_setupclass_failed(pytester: Pytester) -> None: function test_cleanup_functions (line 926) | def test_cleanup_functions(pytester: Pytester) -> None: function test_issue333_result_clearing (line 957) | def test_issue333_result_clearing(pytester: Pytester) -> None: function test_unittest_raise_skip_issue748 (line 980) | def test_unittest_raise_skip_issue748(pytester: Pytester) -> None: function test_unittest_skip_issue1169 (line 999) | def test_unittest_skip_issue1169(pytester: Pytester) -> None: function test_class_method_containing_test_issue1558 (line 1019) | def test_class_method_containing_test_issue1558(pytester: Pytester) -> N... function test_usefixtures_marker_on_unittest (line 1037) | def test_usefixtures_marker_on_unittest(base, pytester: Pytester) -> None: function test_skip_setup_class (line 1097) | def test_skip_setup_class(pytester: Pytester) -> None: function test_unittest_skip_function (line 1120) | def test_unittest_skip_function(pytester: Pytester) -> None: function test_testcase_handles_init_exceptions (line 1140) | def test_testcase_handles_init_exceptions(pytester: Pytester) -> None: function test_error_message_with_parametrized_fixtures (line 1161) | def test_error_message_with_parametrized_fixtures(pytester: Pytester) ->... function test_setup_inheritance_skipping (line 1181) | def test_setup_inheritance_skipping( function test_BdbQuit (line 1190) | def test_BdbQuit(pytester: Pytester) -> None: function test_exit_outcome (line 1208) | def test_exit_outcome(pytester: Pytester) -> None: function test_trace (line 1226) | def test_trace(pytester: Pytester, monkeypatch: MonkeyPatch) -> None: function test_pdb_teardown_called (line 1255) | def test_pdb_teardown_called(pytester: Pytester, monkeypatch: MonkeyPatc... function test_pdb_teardown_skipped_for_functions (line 1291) | def test_pdb_teardown_skipped_for_functions( function test_pdb_teardown_skipped_for_classes (line 1326) | def test_pdb_teardown_skipped_for_classes( function test_async_support (line 1360) | def test_async_support(pytester: Pytester) -> None: function test_asynctest_support (line 1371) | def test_asynctest_support(pytester: Pytester) -> None: function test_plain_unittest_does_not_support_async (line 1379) | def test_plain_unittest_does_not_support_async(pytester: Pytester) -> None: function test_do_class_cleanups_on_success (line 1402) | def test_do_class_cleanups_on_success(pytester: Pytester) -> None: function test_do_class_cleanups_on_setupclass_failure (line 1427) | def test_do_class_cleanups_on_setupclass_failure(pytester: Pytester) -> ... function test_do_class_cleanups_on_teardownclass_failure (line 1451) | def test_do_class_cleanups_on_teardownclass_failure(pytester: Pytester) ... function test_do_cleanups_on_success (line 1478) | def test_do_cleanups_on_success(pytester: Pytester) -> None: function test_do_cleanups_on_setup_failure (line 1502) | def test_do_cleanups_on_setup_failure(pytester: Pytester) -> None: function test_do_cleanups_on_teardown_failure (line 1527) | def test_do_cleanups_on_teardown_failure(pytester: Pytester) -> None: class TestClassCleanupErrors (line 1553) | class TestClassCleanupErrors: method test_class_cleanups_failure_in_setup (line 1561) | def test_class_cleanups_failure_in_setup(self, pytester: Pytester) -> ... method test_class_cleanups_failure_in_teardown (line 1593) | def test_class_cleanups_failure_in_teardown(self, pytester: Pytester) ... method test_class_cleanup_1_failure_in_teardown (line 1618) | def test_class_cleanup_1_failure_in_teardown(self, pytester: Pytester)... function test_traceback_pruning (line 1642) | def test_traceback_pruning(pytester: Pytester) -> None: function test_raising_unittest_skiptest_during_collection (line 1668) | def test_raising_unittest_skiptest_during_collection( function test_abstract_testcase_is_not_collected (line 1695) | def test_abstract_testcase_is_not_collected(pytester: Pytester) -> None: FILE: testing/test_unraisableexception.py function test_unraisable (line 34) | def test_unraisable(pytester: Pytester) -> None: function test_unraisable_in_setup (line 68) | def test_unraisable_in_setup(pytester: Pytester) -> None: function test_unraisable_in_teardown (line 106) | def test_unraisable_in_teardown(pytester: Pytester) -> None: function test_unraisable_warning_error (line 144) | def test_unraisable_warning_error(pytester: Pytester) -> None: function test_unraisable_warning_multiple_errors (line 165) | def test_unraisable_warning_multiple_errors(pytester: Pytester) -> None: function test_unraisable_collection_failure (line 193) | def test_unraisable_collection_failure(pytester: Pytester) -> None: function _set_gc_state (line 221) | def _set_gc_state(enabled: bool) -> bool: function test_refcycle_unraisable (line 230) | def test_refcycle_unraisable(pytester: Pytester) -> None: function test_refcycle_unraisable_warning_filter (line 261) | def test_refcycle_unraisable_warning_filter(pytester: Pytester) -> None: function test_create_task_raises_unraisable_warning_filter (line 293) | def test_create_task_raises_unraisable_warning_filter(pytester: Pytester... function test_refcycle_unraisable_warning_filter_default (line 326) | def test_refcycle_unraisable_warning_filter_default(pytester: Pytester) ... function test_possibly_none_excinfo (line 363) | def test_possibly_none_excinfo(pytester: Pytester) -> None: FILE: testing/test_warning_types.py function test_warning_types (line 19) | def test_warning_types(warning_class: UserWarning) -> None: function test_pytest_warnings_repr_integration_test (line 27) | def test_pytest_warnings_repr_integration_test(pytester: Pytester) -> None: function test_warn_explicit_for_annotates_errors_with_location (line 45) | def test_warn_explicit_for_annotates_errors_with_location(): FILE: testing/test_warnings.py function pyfile_with_warnings (line 17) | def pyfile_with_warnings(pytester: Pytester, request: FixtureRequest) ->... function test_normal_flow (line 41) | def test_normal_flow(pytester: Pytester, pyfile_with_warnings) -> None: function test_setup_teardown_warnings (line 58) | def test_setup_teardown_warnings(pytester: Pytester) -> None: function test_as_errors (line 88) | def test_as_errors(pytester: Pytester, pyfile_with_warnings, method) -> ... function test_ignore (line 110) | def test_ignore(pytester: Pytester, pyfile_with_warnings, method) -> None: function test_unicode (line 126) | def test_unicode(pytester: Pytester) -> None: function test_works_with_filterwarnings (line 153) | def test_works_with_filterwarnings(pytester: Pytester) -> None: function test_filterwarnings_mark (line 178) | def test_filterwarnings_mark(pytester: Pytester, default_config) -> None: function test_non_string_warning_argument (line 211) | def test_non_string_warning_argument(pytester: Pytester) -> None: function test_filterwarnings_mark_registration (line 226) | def test_filterwarnings_mark_registration(pytester: Pytester) -> None: function test_warning_recorded_hook (line 242) | def test_warning_recorded_hook(pytester: Pytester) -> None: function test_collection_warnings (line 300) | def test_collection_warnings(pytester: Pytester) -> None: function test_mark_regex_escape (line 324) | def test_mark_regex_escape(pytester: Pytester) -> None: function test_hide_pytest_internal_warnings (line 341) | def test_hide_pytest_internal_warnings( function test_option_precedence_cmdline_over_ini (line 382) | def test_option_precedence_cmdline_over_ini( function test_option_precedence_mark (line 407) | def test_option_precedence_mark(pytester: Pytester) -> None: function test_accept_unknown_category (line 427) | def test_accept_unknown_category(pytester: Pytester) -> None: class TestDeprecationWarningsByDefault (line 454) | class TestDeprecationWarningsByDefault: method create_file (line 460) | def create_file(self, pytester: Pytester, mark="") -> None: method test_shown_by_default (line 474) | def test_shown_by_default(self, pytester: Pytester, customize_filters)... method test_hidden_by_ini (line 495) | def test_hidden_by_ini(self, pytester: Pytester) -> None: method test_hidden_by_mark (line 508) | def test_hidden_by_mark(self, pytester: Pytester) -> None: method test_hidden_by_cmdline (line 525) | def test_hidden_by_cmdline(self, pytester: Pytester) -> None: method test_hidden_by_system (line 535) | def test_hidden_by_system(self, pytester: Pytester, monkeypatch) -> None: method test_invalid_regex_in_filterwarning (line 541) | def test_invalid_regex_in_filterwarning(self, pytester: Pytester) -> N... function test_removed_in_x_warning_as_error (line 568) | def test_removed_in_x_warning_as_error(pytester: Pytester, change_defaul... class TestAssertionWarnings (line 603) | class TestAssertionWarnings: method assert_result_warns (line 605) | def assert_result_warns(result, msg) -> None: method test_tuple_warning (line 608) | def test_tuple_warning(self, pytester: Pytester) -> None: function test_warnings_checker_twice (line 621) | def test_warnings_checker_twice() -> None: function test_group_warnings_by_message (line 631) | def test_group_warnings_by_message(pytester: Pytester) -> None: function test_group_warnings_by_message_summary (line 662) | def test_group_warnings_by_message_summary(pytester: Pytester) -> None: function test_pytest_configure_warning (line 685) | def test_pytest_configure_warning(pytester: Pytester, recwarn) -> None: class TestStackLevel (line 703) | class TestStackLevel: method capwarn (line 705) | def capwarn(self, pytester: Pytester): method test_issue4445_rewrite (line 719) | def test_issue4445_rewrite(self, pytester: Pytester, capwarn) -> None: method test_issue4445_initial_conftest (line 745) | def test_issue4445_initial_conftest(self, pytester: Pytester, capwarn)... method test_conftest_warning_captured (line 765) | def test_conftest_warning_captured(self, pytester: Pytester) -> None: method test_issue4445_import_plugin (line 778) | def test_issue4445_import_plugin(self, pytester: Pytester, capwarn) ->... method test_issue4445_issue5928_mark_generator (line 800) | def test_issue4445_issue5928_mark_generator(self, pytester: Pytester) ... function test_warning_on_testpaths_not_found (line 823) | def test_warning_on_testpaths_not_found(pytester: Pytester) -> None: function test_resource_warning (line 837) | def test_resource_warning(pytester: Pytester, monkeypatch: pytest.Monkey... FILE: testing/typing_checks.py function check_mark_xfail_raises (line 22) | def check_mark_xfail_raises() -> None: function check_fixture_ids_callable (line 28) | def check_fixture_ids_callable() -> None: function check_parametrize_ids_callable (line 34) | def check_parametrize_ids_callable(func) -> None: function check_monkeypatch_typeddict (line 39) | def check_monkeypatch_typeddict(monkeypatch: MonkeyPatch) -> None: function check_raises_is_a_context_manager (line 51) | def check_raises_is_a_context_manager(val: bool) -> None: function check_testreport_attributes (line 58) | def check_testreport_attributes(report: TestReport) -> None: function test_it (line 66) | def test_it(x: int) -> None: FILE: testing/typing_raises_group.py function check_raisesexc_typevar_default (line 28) | def check_raisesexc_typevar_default(e: RaisesExc) -> None: function check_basic_contextmanager (line 35) | def check_basic_contextmanager() -> None: function check_basic_matches (line 41) | def check_basic_matches() -> None: function check_matches_with_different_exception_type (line 52) | def check_matches_with_different_exception_type() -> None: function check_raisesexc_init (line 64) | def check_raisesexc_init() -> None: function raisesgroup_check_type_narrowing (line 94) | def raisesgroup_check_type_narrowing() -> None: function raisesgroup_narrow_baseexceptiongroup (line 127) | def raisesgroup_narrow_baseexceptiongroup() -> None: function check_raisesexc_transparent (line 141) | def check_raisesexc_transparent() -> None: function check_nested_raisesgroups_contextmanager (line 148) | def check_nested_raisesgroups_contextmanager() -> None: function check_nested_raisesgroups_matches (line 166) | def check_nested_raisesgroups_matches() -> None: function check_multiple_exceptions_1 (line 177) | def check_multiple_exceptions_1() -> None: function check_multiple_exceptions_2 (line 189) | def check_multiple_exceptions_2() -> None: function check_raisesgroup_overloads (line 202) | def check_raisesgroup_overloads() -> None: function check_triple_nested_raisesgroup (line 230) | def check_triple_nested_raisesgroup() -> None: function check_check_typing (line 235) | def check_check_typing() -> None: