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
Method
test_collect_subdir_event_ordering
(self, pytester: Pytester)
testing/test_collection.py:572
Function
test_collect_symlink_dir
A symlinked directory is collected.
testing/test_collection.py:1245
Function
test_collect_symlink_file_arg
Collect a direct symlink works even if it does not match python_files (#4325).
testing/test_collection.py:1202
Function
test_collect_symlink_out_of_tree
Test collection of symlink via out-of-tree rootdir.
testing/test_collection.py:1217
Method
test_collect_testtextfile
(self, pytester: Pytester)
testing/test_doctest.py:20
Method
test_collect_topdir
(self, pytester: Pytester)
testing/test_collection.py:470
Method
test_collect_two_commandline_args
(self, pytester: Pytester)
testing/test_collection.py:589
Method
test_collect_versus_item
(self)
testing/test_collection.py:29
Function
test_collect_with_chdir_during_import
(pytester: Pytester)
testing/test_collection.py:1142
Function
test_collecterror
(pytester: Pytester)
testing/test_terminal.py:2337
Method
test_collectignore_exclude_on_option
(self, pytester: Pytester)
testing/test_collection.py:371
Function
test_collectignore_via_conftest
collect_ignore in parent conftest skips importing child (issue #4592).
testing/test_collection.py:1254
Method
test_collectignoreglob_exclude_on_option
(self, pytester: Pytester)
testing/test_collection.py:401
Function
test_collection_collect_only_live_logging
(pytester: Pytester, verbose: str)
testing/logging/test_reporting.py:886
Function
test_collection_live_logging
(pytester: Pytester)
testing/logging/test_reporting.py:870
Function
test_collection_logging_to_file
(pytester: Pytester)
testing/logging/test_reporting.py:921
Function
test_collection_warnings
Check that we also capture warnings issued during test collection (#3251).
testing/test_warnings.py:303
Method
test_collectonly_basic
(self, pytester: Pytester)
testing/test_terminal.py:408
Method
test_collectonly_displays_test_description
Used dummy_yaml_custom_test for an Item without ``obj``.
testing/test_terminal.py:430
Method
test_collectonly_error
(self, pytester: Pytester)
testing/test_terminal.py:496
Method
test_collectonly_failed_module
(self, pytester: Pytester)
testing/test_terminal.py:458
Method
test_collectonly_fatal
(self, pytester: Pytester)
testing/test_terminal.py:463
Method
test_collectonly_missing_path
Issue 115: failure in parseargs will cause session not to have the items attribute.
testing/test_terminal.py:511
Method
test_collectonly_more_quiet
(self, pytester: Pytester)
testing/test_terminal.py:525
Method
test_collectonly_quiet
(self, pytester: Pytester)
testing/test_terminal.py:520
Method
test_collectonly_simple
(self, pytester: Pytester)
testing/test_terminal.py:474
Method
test_collectonly_skipped_module
(self, pytester: Pytester)
testing/test_terminal.py:420
Function
test_collector_respects_tbstyle
(pytester: Pytester)
testing/test_collection.py:1333
Method
test_collectreport_fail
This test came originally from test_remote.py in xdist (ca03269).
testing/test_reports.py:196
Method
test_collectreport_passed
This test came originally from test_remote.py in xdist (ca03269).
testing/test_reports.py:185
Function
test_color_no
(pytester: Pytester)
testing/test_terminal.py:1216
Function
test_color_yes
(pytester: Pytester, color_mapping)
testing/test_terminal.py:1157
Function
test_color_yes_collection_on_non_atty
#1397: Skip collect progress report when working on non-terminals.
testing/test_terminal.py:1224
Function
test_colored_ansi_esc_caplogtext
Make sure that caplog.text does not contain ANSI escape sequences.
testing/logging/test_reporting.py:1101
Function
test_colored_captured_log
Test that the level names of captured log messages of a failing test are colored.
testing/logging/test_reporting.py:1077
Method
test_colored_progress
( self, pytester: Pytester, monkeypatch, color_mapping )
testing/test_terminal.py:1972
Function
test_colored_short_level
()
testing/logging/test_formatter.py:151
Function
test_coloredlogformatter
()
testing/logging/test_formatter.py:8
Function
test_coloredlogformatter_with_width_precision
()
testing/logging/test_formatter.py:35
Method
test_combining
(self)
testing/io/test_terminalwriter.py:243
Function
test_comment_and_no_newline_at_end
()
testing/code/test_source.py:412
Function
test_comment_in_statement
()
testing/code/test_source.py:457
Function
test_comments
()
testing/code/test_source.py:431
Function
test_commonpath
()
testing/test_pathlib.py:413
Method
test_compare
(self)
doc/en/example/assertion/failure_demo.py:244
Method
test_compare_with_compgen
( self, tmp_path: Path, monkeypatch: MonkeyPatch )
testing/test_argcomplete.py:70
Method
test_comparing_two_different_attrs_classes
(self)
testing/test_assertion.py:993
Function
test_comparing_two_different_data_classes
()
testing/example_scripts/dataclasses/test_compare_two_different_dataclasses.py:5
Method
test_comparing_two_different_data_classes
(self, pytester: Pytester)
testing/test_assertion.py:895
Method
test_comparing_two_different_namedtuple
(self)
testing/test_assertion.py:1033
Method
test_comparison_operator_type_error
pytest.approx should raise TypeError for operators other than == and != (#2003).
testing/python/approx.py:836
Method
test_comparisons
(self)
testing/test_assertrewrite.py:626
Method
test_complex
(self)
testing/python/approx.py:536
Method
test_complex_error
(self)
doc/en/example/assertion/failure_demo.py:206
Method
test_composed
(self)
testing/io/test_terminalwriter.py:236
Method
test_confcutdir
(self, pytester: Pytester)
testing/test_config.py:169
Method
test_confcutdir_check_isdir
Give an error if --confcutdir is not a valid directory (#2078)
testing/test_config.py:804
Function
test_config_blocked_default_plugins
(pytester: Pytester, plugin: str)
testing/test_config.py:1830
Method
test_config_cache
(self, pytester: Pytester)
testing/test_cacheprovider.py:96
Method
test_config_cache_dataerror
(self, pytester: Pytester)
testing/test_cacheprovider.py:27
Method
test_config_cache_mkdir
(self, pytester: Pytester)
testing/test_cacheprovider.py:17
Function
test_config_does_not_load_blocked_plugin_from_args
This tests that pytest's config setup handles "-p no:X".
testing/test_config.py:1783
Method
test_config_error
(self, pytester: Pytester)
testing/acceptance_test.py:22
Method
test_config_getoption
(self, pytester: Pytester)
testing/test_config.py:550
Method
test_config_getoption_unicode
(self, pytester: Pytester)
testing/test_config.py:562
Method
test_config_getvalueorskip
(self, pytester: Pytester)
testing/test_config.py:572
Method
test_config_getvalueorskip_None
(self, pytester: Pytester)
testing/test_config.py:578
Function
test_config_in_subdirectory_colon_command_line_issue2148
( pytester: Pytester, )
testing/test_config.py:1198
Method
test_config_preparse_plugin_option
(self, pytester: Pytester)
testing/acceptance_test.py:88
Method
test_config_trace
(self, pytester: Pytester)
testing/test_config.py:542
Method
test_configure
(self, pytester: Pytester)
testing/test_pluginmanager.py:81
Method
test_conftest
Directory containing conftest modules are not put in sys.path as a side-effect of importing them.
testing/test_collection.py:1422
Method
test_conftest_assertion_rewrite
Test that conftest files are using assertion rewrite on import (#1619).
testing/test_assertion.py:33
Function
test_conftest_badcase
Check conftest.py loading when directory casing is wrong (#5792).
testing/test_conftest.py:334
Function
test_conftest_confcutdir
(pytester: Pytester)
testing/test_conftest.py:236
Function
test_conftest_exception_handling
(pytester: Pytester)
testing/test_conftest.py:644
Function
test_conftest_existing_junitxml
(pytester: Pytester)
testing/test_conftest.py:364
Function
test_conftest_found_with_double_dash
(pytester: Pytester)
testing/test_conftest.py:444
Method
test_conftest_funcargs_only_available_in_subdir
( self, pytester: Pytester )
testing/python/fixtures.py:150
Function
test_conftest_global_import
(pytester: Pytester)
testing/test_conftest.py:154
Function
test_conftest_import_error_repr
`ConftestImportFailure` should use a short error message and readable path to the failed conftest.py file.
testing/test_config.py:1987
Function
test_conftest_import_order
(pytester: Pytester, monkeypatch: MonkeyPatch)
testing/test_conftest.py:379
Function
test_conftest_in_nonpkg_with_init
(tmp_path: Path, _sys_snapshot)
testing/test_conftest.py:122
Method
test_conftest_printing_shows_if_error
(self, pytester: Pytester)
testing/acceptance_test.py:258
Function
test_conftest_symlink
`conftest.py` discovery follows normal path resolution and does not resolve symlinks.
testing/test_conftest.py:252
Function
test_conftest_symlink_files
Symlinked conftest.py are found when pytest is executed in a directory with symlinked files.
testing/test_conftest.py:297
Function
test_conftest_uppercase
Check conftest.py whose qualified name contains uppercase characters (#5819)
testing/test_conftest.py:345
Method
test_conftest_warning_captured
Warnings raised during importing of conftest.py files is captured (#2891).
testing/test_warnings.py:720
Function
test_conftestcutdir
(pytester: Pytester)
testing/test_conftest.py:181
Function
test_conftestcutdir_inplace_considered
(pytester: Pytester)
testing/test_conftest.py:209
Method
test_conftestlogging_and_test_logging
(self, pytester: Pytester)
testing/test_capture.py:374
Method
test_conftestlogging_is_shown
(self, pytester: Pytester)
testing/test_capture.py:360
Function
test_consider_args_after_options_for_rootdir
Consider all arguments in the command-line for rootdir discovery, even if they happen to occur after an option. #949
testing/test_config.py:1169
Method
test_consider_conftest_deps
( self, pytester: Pytester, pytestpm: PytestPluginManager, )
testing/test_pluginmanager.py:356
Method
test_consider_env_fails_to_import
( self, monkeypatch: MonkeyPatch, pytestpm: PytestPluginManager )
testing/test_pluginmanager.py:266
Method
test_consider_env_plugin_instantiation
( self, pytester: Pytester, monkeypatch: MonkeyPatch, pytestpm: PytestPluginMa
testing/test_pluginmanager.py:289
Method
test_consider_module
( self, pytester: Pytester, pytestpm: PytestPluginManager )
testing/test_pluginmanager.py:236
Method
test_consider_module_import_module
( self, pytester: Pytester, _config_for_test: Config )
testing/test_pluginmanager.py:248
Method
test_contains_unicode
Fix internal error with docstrings containing non-ascii characters.
testing/test_doctest.py:677
Function
test_context
()
testing/test_monkeypatch.py:401
← previous
next →
2,401–2,500 of 4,602, ranked by callers