Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytest-dev/pytest
/ functions
Functions
4,602 in github.com/pytest-dev/pytest
⨍
Functions
4,602
◇
Types & classes
572
↳
Endpoints
16
Function
test_line_with_reprcrash
(monkeypatch: MonkeyPatch)
testing/test_terminal.py:2255
Method
test_line_write_markup
(self, tw)
testing/io/test_terminalwriter.py:137
Function
test_linematcher_consecutive
()
testing/test_pytester.py:538
Function
test_linematcher_match_failure
()
testing/test_pytester.py:510
Function
test_linematcher_no_matching
(function: str)
testing/test_pytester.py:559
Function
test_linematcher_no_matching_after_match
()
testing/test_pytester.py:607
Function
test_linematcher_string_api
()
testing/test_pytester.py:615
Function
test_linematcher_with_nonlist
Test LineMatcher with regard to passing in a set (accidentally).
testing/test_pytester.py:486
Function
test_link_resolve
See: https://github.com/pytest-dev/pytest/issues/5965.
testing/test_link_resolve.py:51
Method
test_list
(self)
testing/test_assertion.py:393
Method
test_list
(self)
testing/python/approx.py:549
Method
test_list_bad_repr
(self)
testing/test_assertion.py:728
Method
test_list_decimal
(self)
testing/python/approx.py:559
Method
test_list_different_lengths
(self)
testing/test_assertion.py:471
Method
test_list_dont_wrap_strings
(self)
testing/test_assertion.py:528
Method
test_list_tuples
(self)
testing/test_assertion.py:694
Method
test_list_wrap_for_multiple_lines
(self)
testing/test_assertion.py:479
Method
test_list_wrap_for_width_rewrap_same_length
(self)
testing/test_assertion.py:509
Method
test_list_wrong_len
(self)
testing/python/approx.py:565
Function
test_live_logging_suspends_capture
Test that capture manager is suspended when we emitting messages for live logging. This tests the implementation calls instead of behavior becaus
testing/logging/test_reporting.py:822
Function
test_live_logs_unknown_sections
Check that with live logging enable we are printing the correct headers during start/setup/call/teardown/finish.
testing/logging/test_reporting.py:355
Function
test_load_initial_conftest_last_ordering
(_config_for_test)
testing/test_config.py:1257
Method
test_load_resource_via_files_with_rewrite
(self, pytester: Pytester)
testing/test_assertrewrite.py:802
Method
test_location_is_set
(self)
testing/test_assertrewrite.py:114
Method
test_lock_register_cleanup_removal
(self, tmp_path: Path)
testing/test_tmpdir.py:256
Function
test_log_access
(caplog)
testing/logging/test_fixture.py:100
Function
test_log_cli_auto_enable
Check that live logs are enabled if --log-level or --log-cli-level is passed on the CLI. It should not be auto enabled if the same configs are set
testing/logging/test_reporting.py:589
Function
test_log_cli_default_level
(pytester: Pytester)
testing/logging/test_reporting.py:208
Function
test_log_cli_default_level_multiple_tests
Ensure we reset the first newline added by the live logger between tests
testing/logging/test_reporting.py:242
Function
test_log_cli_default_level_sections
Check that with live logging enable we are printing the correct headers during start/setup/call/teardown/finish.
testing/logging/test_reporting.py:279
Function
test_log_cli_enabled_disabled
(pytester: Pytester, enabled: bool)
testing/logging/test_reporting.py:176
Function
test_log_cli_ini_level
(pytester: Pytester)
testing/logging/test_reporting.py:549
Function
test_log_cli_level
(pytester: Pytester)
testing/logging/test_reporting.py:499
Function
test_log_cli_level_log_level_interaction
(pytester: Pytester)
testing/logging/test_reporting.py:91
Function
test_log_file_cli
(pytester: Pytester)
testing/logging/test_reporting.py:632
Function
test_log_file_cli_level
(pytester: Pytester)
testing/logging/test_reporting.py:665
Function
test_log_file_cli_subdirectories_are_successfully_created
( pytester: Pytester, )
testing/logging/test_reporting.py:1160
Function
test_log_file_ini
(pytester: Pytester)
testing/logging/test_reporting.py:708
Function
test_log_file_ini_level
(pytester: Pytester)
testing/logging/test_reporting.py:747
Function
test_log_file_unicode
(pytester: Pytester)
testing/logging/test_reporting.py:786
Function
test_log_in_hooks
(pytester: Pytester)
testing/logging/test_reporting.py:959
Function
test_log_in_runtest_logreport
(pytester: Pytester)
testing/logging/test_reporting.py:995
Function
test_log_level_not_changed_by_default
(pytester: Pytester)
testing/logging/test_reporting.py:696
Function
test_log_report_captures_according_to_config_option_upon_failure
Test that upon failure: (1) `caplog` succeeded to capture the DEBUG message and assert on it => No `Exception` is raised. (2) The `DEBUG` mess
testing/logging/test_fixture.py:271
Function
test_log_set_path
(pytester: Pytester)
testing/logging/test_reporting.py:1029
Method
test_logging_after_cap_stopped
(self, pytester: Pytester)
testing/test_capture.py:396
Method
test_logging_and_crossscope_fixtures
(self, pytester: Pytester)
testing/test_capture.py:334
Method
test_logging_and_immediate_setupteardown
(self, pytester: Pytester)
testing/test_capture.py:308
Function
test_logging_emit_error
An exception raised during emit() should fail the test. The default behavior of logging is to print "Logging error" to stderr with the call s
testing/logging/test_reporting.py:1118
Function
test_logging_emit_error_supressed
If logging is configured to silently ignore errors, pytest doesn't propagate errors either.
testing/logging/test_reporting.py:1144
Function
test_logging_passing_tests_disabled_does_not_log_test_output
( pytester: Pytester, run_and_parse: RunAndParse, xunit_family: str )
testing/test_junitxml.py:1629
Function
test_logging_passing_tests_disabled_logs_output_for_failing_test_issue5430
( pytester: Pytester, junit_logging: str, run_and_parse: RunAndParse, xunit_family: str, )
testing/test_junitxml.py:1663
Method
test_logging_stream_ownership
(self, pytester: Pytester)
testing/test_capture.py:294
Function
test_logging_while_collecting
Issue #6240: Calls to logging.xxx() during collection causes all logging calls to be duplicated to stderr
testing/test_capture.py:1640
Method
test_logstart_logfinish_hooks
(self, pytester: Pytester)
testing/test_runner.py:260
Function
test_logxml_changingdir
(pytester: Pytester)
testing/test_junitxml.py:1094
Function
test_logxml_check_isdir
Give an error if --junit-xml is a directory (#2089)
testing/test_junitxml.py:1121
Function
test_logxml_makedir
--junitxml should automatically create directories for the xml file
testing/test_junitxml.py:1108
Function
test_logxml_path_expansion
(tmp_path: Path, monkeypatch: MonkeyPatch)
testing/test_junitxml.py:1083
Method
test_long_case
(self, pytester: Pytester)
testing/test_assertrewrite.py:1277
Function
test_long_path_during_cleanup
Ensure that deleting long path works (particularly on Windows (#6775)).
testing/test_pathlib.py:354
Method
test_longrepr_type
(self, pytester: Pytester)
testing/test_runner.py:1037
Method
test_longreprtext_collect_skip
CollectReport.longreprtext can handle non-str ``longrepr`` attributes (#7559)
testing/test_runner.py:971
Method
test_longreprtext_failure
(self, pytester: Pytester)
testing/test_runner.py:985
Method
test_longreprtext_pass
(self, pytester: Pytester)
testing/test_runner.py:948
Method
test_longreprtext_skip
TestReport.longreprtext can handle non-str ``longrepr`` attributes (#7559)
testing/test_runner.py:958
Function
test_lower
()
testing/freeze/tests/test_trivial.py:5
Method
test_main_py_does_not_cause_import_errors
(self, pytester: Pytester)
testing/test_doctest.py:815
Function
test_make_hook_recorder
(pytester: Pytester)
testing/test_pytester.py:22
Function
test_makefile_joins_absolute_path
(pytester: Pytester)
testing/test_pytester.py:810
Function
test_makepyfile_unicode
(pytester: Pytester)
testing/test_pytester.py:205
Function
test_makepyfile_utf8
Ensure makepyfile accepts utf-8 bytes as input (#2738)
testing/test_pytester.py:209
Function
test_makereport_getsource
(pytester: Pytester)
testing/test_runner.py:834
Function
test_makereport_getsource_dynamic_code
Test that exception in dynamically generated code doesn't break getting the source line.
testing/test_runner.py:847
Function
test_mangle_test_address
()
testing/test_junitxml.py:936
Method
test_many
(self, capfd)
testing/test_capture.py:1233
Method
test_many_brackets
(self, pytester: Pytester)
testing/test_assertrewrite.py:1287
Function
test_mark
()
testing/example_scripts/marks/marks_considered_keywords/test_marks_as_keywords.py:5
Method
test_mark_closest
(self, pytester: Pytester)
testing/test_mark.py:564
Method
test_mark_decorator_baseclasses_merged
(self, pytester: Pytester)
testing/test_mark.py:541
Method
test_mark_decorator_subclass_does_not_propagate_to_base
( self, pytester: Pytester )
testing/test_mark.py:492
Method
test_mark_dynamically_in_funcarg
(self, pytester: Pytester)
testing/test_mark.py:604
Function
test_mark_expressions_no_smear
(pytester: Pytester)
testing/test_mark.py:1017
Method
test_mark_from_parameters
#1540
testing/test_mark.py:707
Function
test_mark_on_pseudo_function
(pytester: Pytester)
testing/test_mark.py:171
Function
test_mark_option
( expr: str, expected_passed: List[Optional[str]], pytester: Pytester )
testing/test_mark.py:215
Function
test_mark_option_custom
( expr: str, expected_passed: List[str], pytester: Pytester )
testing/test_mark.py:239
Function
test_mark_regex_escape
@pytest.mark.filterwarnings should not try to escape regex characters (#3936)
testing/test_warnings.py:327
Method
test_mark_should_not_pass_to_siebling_class
#568
testing/test_mark.py:513
Method
test_mark_skip_contains_name_reason
( self, pytester: Pytester, run_and_parse: RunAndParse, xunit_family: str )
testing/test_junitxml.py:385
Method
test_mark_skip_doesnt_capture_output
( self, pytester: Pytester, run_and_parse: RunAndParse, xunit_family: str )
testing/test_junitxml.py:432
Method
test_mark_skipif_contains_name_reason
( self, pytester: Pytester, run_and_parse: RunAndParse, xunit_family: str )
testing/test_junitxml.py:408
Method
test_mark_with_param
(self)
testing/test_mark.py:27
Method
test_mark_with_wrong_marker
(self, pytester: Pytester)
testing/test_mark.py:590
Function
test_mark_xfail_item
(pytester: Pytester)
testing/test_skipping.py:1376
Function
test_marked_class_run_twice
Test fails file is run twice that contains marked class. See issue#683.
testing/test_mark.py:47
Method
test_marked_one_arg
(self, pytester: Pytester)
testing/test_skipping.py:45
Method
test_marked_one_arg_twice
(self, pytester: Pytester)
testing/test_skipping.py:71
Method
test_marked_one_arg_twice2
(self, pytester: Pytester)
testing/test_skipping.py:91
Method
test_marked_one_arg_with_reason
(self, pytester: Pytester)
testing/test_skipping.py:58
← previous
next →
3,201–3,300 of 4,602, ranked by callers