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_honors_pep_235
(self, pytester: Pytester, monkeypatch)
testing/test_assertrewrite.py:168
Method
test_hook_call
(self, pytester: Pytester, flag_on, hook_on)
testing/test_assertrewrite.py:1511
Method
test_hook_call_with_parens
(self, pytester: Pytester, flag_on, hook_on)
testing/test_assertrewrite.py:1532
Method
test_hook_not_called_without_cmd_option
Assertion pass should not be called (and hence formatting should not occur) if there is no hook declared for pytest_assertion_pass
testing/test_assertrewrite.py:1570
Method
test_hook_not_called_without_hookimpl
Assertion pass should not be called (and hence formatting should not occur) if there is no hook declared for pytest_assertion_pass
testing/test_assertrewrite.py:1543
Function
test_hook_proxy
Session's gethookproxy() would cache conftests incorrectly (#2016). It was decided to remove the cache altogether.
testing/test_conftest.py:661
Method
test_hook_proxy
Test the gethookproxy function(#2016)
testing/test_pluginmanager.py:134
Method
test_hook_tracing
(self, _config_for_test: Config)
testing/test_pluginmanager.py:101
Method
test_hook_with_addoption
Test that hooks can be used in a call to pytest_addoption
testing/test_pluginmanager.py:154
Function
test_hookproxy_warnings_for_pathlib
(tmp_path, hooktype, request)
testing/deprecated_test.py:163
Function
test_hookrecorder_basic
(holder)
testing/test_pytester.py:191
Function
test_hookvalidation_optional
(pytester: Pytester)
testing/test_helpconfig.py:93
Function
test_hookvalidation_unknown
(pytester: Pytester)
testing/test_helpconfig.py:81
Method
test_hostname_in_xml
( self, pytester: Pytester, run_and_parse: RunAndParse, xunit_family: str )
testing/test_junitxml.py:199
Method
test_idfn_fixture
(self, pytester: Pytester)
testing/python/integration.py:452
Method
test_idfn_marker
(self, pytester: Pytester)
testing/python/integration.py:431
Method
test_idmaker_autoname
#250
testing/python/metafunc.py:376
Method
test_idmaker_enum
(self)
testing/python/metafunc.py:454
Method
test_idmaker_idfn
#351
testing/python/metafunc.py:460
Method
test_idmaker_idfn_unique_names
#351
testing/python/metafunc.py:479
Method
test_idmaker_manual_ids_must_be_printable
(self)
testing/python/metafunc.py:444
Method
test_idmaker_native_strings
(self)
testing/python/metafunc.py:395
Method
test_idmaker_non_printable_characters
(self)
testing/python/metafunc.py:430
Method
test_idmaker_with_bytes_regex
(self)
testing/python/metafunc.py:391
Method
test_idmaker_with_idfn_and_config
Unit test for expected behavior to create ids with idfn and disable_test_id_escaping_and_forfeit_all_rights_to_community_support optio
testing/python/metafunc.py:496
Method
test_idmaker_with_ids
(self)
testing/python/metafunc.py:619
Method
test_idmaker_with_ids_and_config
Unit test for expected behavior to create ids with ids and disable_test_id_escaping_and_forfeit_all_rights_to_community_support option
testing/python/metafunc.py:531
Method
test_idmaker_with_ids_unique_names
(self)
testing/python/metafunc.py:633
Method
test_idmaker_with_paramset_id
(self)
testing/python/metafunc.py:625
Method
test_idval_hypothesis
(self, value)
testing/python/metafunc.py:288
Function
test_ignore
(pytester: Pytester, pyfile_with_warnings, method)
testing/test_warnings.py:111
Method
test_ignore_collect_not_called_on_argument
(self, pytester: Pytester)
testing/test_collection.py:356
Method
test_ignore_collect_path
(self, pytester: Pytester)
testing/test_collection.py:340
Method
test_ignore_import_errors_on_doctest
(self, pytester: Pytester)
testing/test_doctest.py:691
Method
test_ignored_certain_directories
(self, pytester: Pytester)
testing/test_collection.py:132
Method
test_ignored_virtualenvs
(self, pytester: Pytester, fname: str)
testing/test_collection.py:161
Method
test_ignored_virtualenvs_norecursedirs_precedence
( self, pytester: Pytester, fname: str )
testing/test_collection.py:188
Method
test_ignored_whitespace
(self, pytester: Pytester)
testing/test_doctest.py:601
Method
test_ignored_whitespace_glob
(self, pytester: Pytester)
testing/test_doctest.py:643
Method
test_immediate_initialiation_and_incremental_are_the_same
( self, basedir: Path )
testing/test_conftest.py:67
Function
test_imperativeskip_on_xfail_test
(pytester: Pytester)
testing/test_skipping.py:1222
Method
test_import_after
(self, tmp_path: Path)
testing/test_pathlib.py:205
Method
test_import_duplicate
(self, pytester: Pytester)
testing/python/collect.py:23
Method
test_import_plugin_dotted_name
( self, pytester: Pytester, pytestpm: PytestPluginManager )
testing/test_pluginmanager.py:343
Method
test_import_plugin_importname
( self, pytester: Pytester, pytestpm: PytestPluginManager )
testing/test_pluginmanager.py:324
Function
test_import_plugin_unicode_name
(pytester: Pytester)
testing/acceptance_test.py:985
Method
test_import_prepend_append
( self, pytester: Pytester, monkeypatch: MonkeyPatch )
testing/python/collect.py:45
Method
test_import_star_pytest
(self, pytester: Pytester)
testing/acceptance_test.py:522
Function
test_importerror
(pytester: Pytester)
testing/test_monkeypatch.py:313
Function
test_importing_instance_is_deprecated
(pytester: Pytester)
testing/deprecated_test.py:299
Function
test_importlib_metadata_broken_distribution
Integration test for broken distributions with 'files' metadata being None (#5389)
testing/test_config.py:994
Method
test_importmode_importlib
`importlib` mode does not change sys.path.
testing/test_pathlib.py:279
Method
test_importmode_importlib_with_dataclass
Ensure that importlib mode works with a module containing dataclasses (#7856).
testing/test_pathlib.py:454
Method
test_importmode_importlib_with_pickle
Ensure that importlib mode works with pickle (#7859).
testing/test_pathlib.py:476
Method
test_importmode_importlib_with_pickle_separate_modules
Ensure that importlib mode works can load pickles that look similar but are defined in separate modules.
testing/test_pathlib.py:500
Method
test_importmode_twice_is_different_module
`importlib` mode always returns a new module.
testing/test_pathlib.py:289
Function
test_importorskip
()
testing/test_skipping.py:1422
Function
test_importorskip
(monkeypatch)
testing/test_runner.py:698
Function
test_importorskip_custom_reason
Make sure custom reasons are used.
testing/test_runner.py:764
Function
test_importorskip_dev_module
(monkeypatch)
testing/test_runner.py:736
Function
test_importorskip_imports_last_module_part
()
testing/test_runner.py:731
Function
test_importorskip_module_level
`importorskip` must be able to skip entire modules when used at module level.
testing/test_runner.py:749
Function
test_importplugin_error_message
Don't hide import errors when importing plugins and provide an easy to debug message. See #375 and #1998.
testing/test_pluginmanager.py:190
Method
test_in_list
(self)
doc/en/example/assertion/failure_demo.py:79
Method
test_increased_verbosity
(self, pytester: Pytester)
testing/test_assertrewrite.py:1833
Function
test_indirect_fixture_does_not_break_scope
Ensure that fixture scope is respected when using indirect fixtures (#570)
testing/python/fixtures.py:4351
Method
test_inf_tolerance
(self)
testing/python/approx.py:387
Method
test_inf_tolerance_expecting_zero
(self)
testing/python/approx.py:396
Function
test_ini_controls_global_log_level
(pytester: Pytester)
testing/logging/test_fixture.py:175
Function
test_ini_markers
(pytester: Pytester)
testing/test_mark.py:65
Function
test_ini_markers_whitespace
(pytester: Pytester)
testing/test_mark.py:104
Method
test_ini_names
(self, pytester: Pytester, name, section)
testing/test_config.py:117
Method
test_ini_parse_error
(self, pytester: Pytester)
testing/test_config.py:162
Function
test_inifile_from_cmdline_main_hook
Ensure Config.inifile is available during pytest_cmdline_main (#9396).
testing/test_legacypath.py:166
Method
test_inifilename
(self, tmp_path: Path)
testing/test_config.py:860
Function
test_init
()
testing/example_scripts/collect/collect_init_tests/tests/__init__.py:1
Method
test_init
(self)
testing/io/test_terminalwriter.py:217
Method
test_init_capturing
(self)
testing/test_capture.py:89
Method
test_initialization_error_issue49
(self, pytester: Pytester)
testing/acceptance_test.py:364
Function
test_inlineCallbacks
()
testing/plugins_integration/pytest_twisted_integration.py:12
Function
test_inlineCallbacks_async
()
testing/plugins_integration/pytest_twisted_integration.py:17
Method
test_inline_run_sys_modules_snapshot_restore_preserving_modules
( self, pytester: Pytester, monkeypatch: MonkeyPatch )
testing/test_pytester.py:266
Method
test_inline_run_taking_and_restoring_a_sys_modules_snapshot
( self, pytester: Pytester, monkeypatch: MonkeyPatch )
testing/test_pytester.py:245
Method
test_inline_run_test_module_not_cleaned_up
(self, pytester: Pytester)
testing/test_pytester.py:220
Method
test_insert_missing_modules
(self)
testing/test_pathlib.py:562
Method
test_installed_plugin_rewrite
( self, pytester: Pytester, mode, monkeypatch )
testing/test_assertion.py:174
Method
test_instance
(self)
doc/en/example/assertion/failure_demo.py:240
Method
test_int
(self)
testing/python/approx.py:505
Method
test_intermingling
(self)
testing/test_capture.py:1219
Method
test_internal_error
( self, pytester: Pytester, run_and_parse: RunAndParse, xunit_family: str )
testing/test_junitxml.py:482
Method
test_internalerror
(self, pytester: Pytester, linecomp)
testing/test_terminal.py:111
Method
test_invalid_arguments_to_raises
(self)
testing/python/raises.py:134
Method
test_invalid_config_options
( self, pytester: Pytester, ini_file_text, invalid_keys, warning_outpu
testing/test_config.py:248
Method
test_invalid_enter_exit
(self)
testing/test_recwarn.py:74
Function
test_invalid_idents
(ident: str)
testing/test_mark_expression.py:193
Function
test_invalid_options_show_extra_information
Display extra information when pytest exits due to unrecognized options in the command-line.
testing/test_config.py:1141
Method
test_invalid_path
(self, tmp_path: Path)
testing/test_pathlib.py:268
Method
test_invalid_report_types
( self, pytester: Pytester, pytestconfig: Config, hook_name: str )
testing/test_reports.py:469
Method
test_invalid_scope
(self, pytester: Pytester)
testing/python/fixtures.py:1266
Method
test_invalid_setup_py
Test to make sure that pytest reads setup.py files that are not used for python packages when ran with --doctest-modules
testing/test_doctest.py:820
← previous
next →
3,001–3,100 of 4,602, ranked by callers