MCPcopy Create free account

hub / github.com/pytest-dev/pytest / functions

Functions4,602 in github.com/pytest-dev/pytest

Methodtest_strict_xfail_condition
(self, pytester: Pytester, strict: bool)
testing/test_skipping.py:656
Methodtest_strict_xfail_default_from_file
( self, pytester: Pytester, strict_val )
testing/test_skipping.py:688
Methodtest_string_expression
(self, monkeypatch: MonkeyPatch)
testing/test_monkeypatch.py:52
Methodtest_string_expression_class
(self, monkeypatch: MonkeyPatch)
testing/test_monkeypatch.py:56
Functiontest_strtobool
()
testing/test_config.py:2003
Functiontest_subclassing_both_item_and_collector_deprecated
Verifies we warn on diamond inheritance as well as correctly managing legacy inheritance ctors with missing args as found in plugins
testing/test_nodes.py:57
Methodtest_subfactory_missing_funcarg
(self, pytester: Pytester)
testing/python/fixtures.py:3274
Methodtest_summary
(self)
testing/test_assertion.py:338
Methodtest_summary_f_alias
Test that 'f' and 'F' report chars are aliases and don't show up twice in the summary (#6334)
testing/test_terminal.py:1053
Functiontest_summary_list_after_errors
Ensure the list of errors/fails/xfails/skips appears after tracebacks in terminal reporting.
testing/test_skipping.py:1403
Methodtest_summary_s_alias
Test that 's' and 'S' report chars are aliases and don't show up twice in the summary
testing/test_terminal.py:1066
Functiontest_summary_stats
( tr: TerminalReporter, exp_line: List[Tuple[str, Dict[str, bool]]], exp_color: str, stats_arg
testing/test_terminal.py:1833
Methodtest_summing_simple
( self, pytester: Pytester, run_and_parse: RunAndParse, xunit_family: str )
testing/test_junitxml.py:144
Methodtest_summing_simple
( self, pytester: Pytester, run_and_parse: RunAndParse, xunit_family: str )
testing/test_junitxml.py:976
Methodtest_summing_simple_with_errors
( self, pytester: Pytester, run_and_parse: RunAndParse, xunit_family: str )
testing/test_junitxml.py:170
Methodtest_supports_breakpoint_module_global
Test that supports breakpoint global marks on Python 3.7+.
testing/test_debugging.py:914
Functiontest_suppress_error_removing_lock
ensure_deletable should be resilient if lock file cannot be removed (#5456, #7491)
testing/test_pathlib.py:377
Functiontest_sw_skip_help
(pytester: Pytester)
testing/test_stepwise.py:278
Methodtest_syntax_error_in_module
(self, pytester: Pytester)
testing/python/collect.py:72
Methodtest_syntax_error_module
(self, pytester: Pytester)
testing/test_session.py:71
Functiontest_syntax_error_with_non_ascii_chars
Fix decoding issue while formatting SyntaxErrors during collection (#578).
testing/python/collect.py:1337
Functiontest_syntax_errors
(expr: str, column: int, message: str)
testing/test_mark_expression.py:131
Functiontest_syntax_oddeties
(expr: str, expected: bool)
testing/test_mark_expression.py:64
Methodtest_sys_breakpoint_interception
(self, pytester: Pytester)
testing/test_debugging.py:1012
Methodtest_sys_breakpointhook_configure_and_unconfigure
Test that sys.breakpointhook is set to the custom Pdb class once configured, test that hook is reset to system value once pytest has
testing/test_debugging.py:923
Methodtest_sys_meta_path_munged
(self, pytester: Pytester)
testing/test_assertrewrite.py:1032
Methodtest_sys_pycache_prefix_integration
Integration test for sys.pycache_prefix (#4730).
testing/test_assertrewrite.py:1758
Functiontest_syspath_prepend
(mp: MonkeyPatch)
testing/test_monkeypatch.py:246
Functiontest_syspath_prepend_double_undo
(mp: MonkeyPatch)
testing/test_monkeypatch.py:258
Functiontest_syspath_prepend_with_namespace_packages
( pytester: Pytester, monkeypatch: MonkeyPatch )
testing/test_monkeypatch.py:423
Methodtest_systemexit_does_not_bail_out
(self, pytester: Pytester)
testing/test_runner.py:385
Methodtest_tb_crashline
(self, pytester: Pytester, option)
testing/test_terminal.py:1432
Methodtest_tb_entry_str
(self)
testing/code/test_code.py:175
Methodtest_tb_option
(self, pytester: Pytester, option)
testing/test_terminal.py:1405
Functiontest_tbstyle_native_setup_error
(pytester: Pytester)
testing/test_terminal.py:1582
Functiontest_tbstyle_short
(pytester: Pytester)
testing/test_terminal.py:1324
Functiontest_teardown
(pytester: Pytester)
testing/test_unittest.py:169
Methodtest_teardown_capturing
(self, pytester: Pytester)
testing/test_capture.py:220
Methodtest_teardown_capturing_final
(self, pytester: Pytester)
testing/test_capture.py:245
Methodtest_teardown_error
( self, pytester: Pytester, run_and_parse: RunAndParse, xunit_family: str )
testing/test_junitxml.py:309
Methodtest_teardown_exact_stack_empty
(self, pytester: Pytester)
testing/test_runner.py:34
Methodtest_teardown_exception
(self, pytester: Pytester)
testing/python/fixtures.py:3702
Methodtest_teardown_final_returncode
(self, pytester: Pytester)
testing/test_runner.py:249
Methodtest_teardown_fixture_error
(self, pytester: Pytester)
testing/test_terminal.py:596
Methodtest_teardown_fixture_error_and_test_failure
(self, pytester: Pytester)
testing/test_terminal.py:618
Functiontest_teardown_issue1649
Are TestCase objects cleaned up? Often unittest TestCase objects set attributes that are large and expensive during setUp. The TestCase
testing/test_unittest.py:191
Functiontest_teardown_logging
(pytester: Pytester)
testing/logging/test_reporting.py:148
Methodtest_teardown_many
(self, pytester: Pytester, many_files)
testing/test_terminal.py:2191
Methodtest_teardown_many_verbose
( self, pytester: Pytester, many_files, color_mapping )
testing/test_terminal.py:2197
Methodtest_teardown_multiple_fail
(self, pytester: Pytester)
testing/test_runner.py:79
Methodtest_teardown_multiple_one_fails
(self, pytester: Pytester)
testing/test_runner.py:56
Methodtest_teardown_multiple_scopes_one_fails
(self, pytester: Pytester)
testing/test_runner.py:97
Methodtest_teardown_simple
( self, pytester: Pytester, contest_with_teardown_fixture )
testing/test_terminal.py:2161
Methodtest_teardown_with_test_also_failing
( self, pytester: Pytester, contest_with_teardown_fixture )
testing/test_terminal.py:2173
Methodtest_teardowns
(self)
testing/example_scripts/unittest/test_unittest_asynctest.py:22
Methodtest_teardowns
(self)
testing/example_scripts/unittest/test_unittest_asyncio.py:24
Functiontest_tee_stdio_captures_and_live_prints
(pytester: Pytester)
testing/acceptance_test.py:1251
Functiontest_terminal_no_summary_warnings_header_once
(pytester: Pytester)
testing/test_terminal.py:1683
Methodtest_terminal_report_failedfirst
(self, pytester: Pytester)
testing/test_cacheprovider.py:475
Methodtest_terminal_report_lastfailed
(self, pytester: Pytester)
testing/test_cacheprovider.py:423
Functiontest_terminal_summary
(pytester: Pytester)
testing/test_terminal.py:1600
Functiontest_terminal_summary_warnings_are_displayed
Test that warnings emitted during pytest_terminal_summary are displayed. (#1305).
testing/test_terminal.py:1621
Functiontest_terminal_summary_warnings_header_once
(pytester: Pytester)
testing/test_terminal.py:1658
Functiontest_terminal_width_COLUMNS
(monkeypatch: MonkeyPatch)
testing/io/test_terminalwriter.py:18
Functiontest_terminalreporter_reportopt_addopts
(pytester: Pytester)
testing/test_terminal.py:1305
Functiontest_terminalwriter_computes_width
(monkeypatch: MonkeyPatch)
testing/io/test_terminalwriter.py:31
Functiontest_terminalwriter_dumb_term_no_markup
(monkeypatch: MonkeyPatch)
testing/io/test_terminalwriter.py:37
Functiontest_terminalwriter_not_unicode
If the file doesn't support Unicode, the string is unicode-escaped (#7475).
testing/io/test_terminalwriter.py:53
Functiontest_terminalwriter_width_bogus
(monkeypatch: MonkeyPatch)
testing/io/test_terminalwriter.py:24
Methodtest_test_report
(self, pytester: Pytester, pytestconfig: Config)
testing/test_reports.py:422
Functiontest_testcase_adderrorandfailure_defers
(pytester: Pytester, type: str)
testing/test_unittest.py:353
Functiontest_testcase_custom_exception_info
(pytester: Pytester, type: str)
testing/test_unittest.py:377
Functiontest_testcase_handles_init_exceptions
Regression test to make sure exceptions in the __init__ method are bubbled up correctly. See https://github.com/pytest-dev/pytest/issues/3788
testing/test_unittest.py:1093
Functiontest_testcase_totally_incompatible_exception_info
(pytester: Pytester)
testing/test_unittest.py:421
Functiontest_testdir_makefile_dot_prefixes_extension_silently
For backwards compat #8192
testing/test_legacypath.py:26
Functiontest_testdir_makefile_ext_empty_string_makes_file
For backwards compat #8192
testing/test_legacypath.py:40
Functiontest_testdir_makefile_ext_none_raises_type_error
For backwards compat #8192
testing/test_legacypath.py:34
Functiontest_testdir_testtmproot
Check test_tmproot is a py.path attribute for backward compatibility.
testing/test_legacypath.py:21
Methodtest_testpaths_ini
(self, pytester: Pytester, monkeypatch: MonkeyPatch)
testing/test_collection.py:243
Methodtest_text
(self)
testing/test_capture.py:849
Methodtest_text
(self)
testing/test_capture.py:871
Methodtest_text_diff
(self)
testing/test_assertion.py:344
Methodtest_text_skipping
(self)
testing/test_assertion.py:351
Methodtest_text_skipping_verbose
(self)
testing/test_assertion.py:358
Functiontest_this_is_ignored
()
testing/example_scripts/doctest/main_py/__main__.py:1
Functiontest_timeout
Test option to dump tracebacks after a certain timeout. If faulthandler is disabled, no traceback will be dumped.
testing/test_faulthandler.py:80
Methodtest_timestamp_in_xml
( self, pytester: Pytester, run_and_parse: RunAndParse, xunit_family: str )
testing/test_junitxml.py:213
Methodtest_timing_function
( self, pytester: Pytester, run_and_parse: RunAndParse, mock_timing )
testing/test_junitxml.py:228
Functiontest_tmp_path_always_is_realpath
(pytester: Pytester, monkeypatch)
testing/test_tmpdir.py:121
Functiontest_tmp_path_factory
(pytester: Pytester)
testing/test_tmpdir.py:155
Functiontest_tmp_path_factory_create_directory_with_safe_permissions
Verify that pytest creates directories under /tmp with private permissions.
testing/test_tmpdir.py:443
Functiontest_tmp_path_factory_fixes_up_world_readable_permissions
Verify that if a /tmp/pytest-of-foo directory already exists with world-readable permissions, it is fixed. pytest used to mkdir with such per
testing/test_tmpdir.py:459
Functiontest_tmp_path_factory_handles_invalid_dir_characters
( tmp_path_factory: TempPathFactory, monkeypatch: MonkeyPatch )
testing/test_tmpdir.py:431
Functiontest_tmp_path_fallback_tox_env
Test that tmp_path works even if environment variables required by getpass module are missing (#1010).
testing/test_tmpdir.py:170
Functiontest_tmp_path_fallback_uid_not_found
Test that tmp_path works even if the current process's user id does not correspond to a valid user.
testing/test_tmpdir.py:196
Functiontest_tmp_path_fixture
(pytester: Pytester)
testing/test_tmpdir.py:28
Functiontest_tmp_path_too_long_on_parametrization
(pytester: Pytester)
testing/test_tmpdir.py:142
Functiontest_tmpdir_always_is_realpath
(pytester: pytest.Pytester)
testing/test_legacypath.py:68
Functiontest_tmpdir_equals_tmp_path
(tmpdir: LEGACY_PATH, tmp_path: Path)
testing/test_legacypath.py:64
Functiontest_tmpdir_factory
( tmpdir_factory: TempdirFactory, tmp_path_factory: pytest.TempPathFactory, )
testing/test_legacypath.py:55
← previousnext →4,201–4,300 of 4,602, ranked by callers