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_context_classmethod
()
testing/test_monkeypatch.py:413
Function
test_continue_on_collection_errors
Verify tests are executed even when collection errors occur when the --continue-on-collection-errors flag is set
testing/test_collection.py:972
Function
test_continue_on_collection_errors_maxfail
Verify tests are executed even when collection errors occur and that maxfail is honoured (including the collection error count). 4 tests:
testing/test_collection.py:987
Method
test_continue_on_failure
(self, pytester: Pytester)
testing/test_doctest.py:1150
Method
test_core_backward_compatibility
Test backward compatibility for get_plugin_manager function. See #787.
testing/acceptance_test.py:835
Method
test_count
(self, many_tests_files, pytester: Pytester)
testing/test_terminal.py:2024
Function
test_crash_during_shutdown_captured
Re-enable faulthandler if pytest encountered it enabled during configure. We should be able to then see crashes during interpreter shutdown.
testing/test_faulthandler.py:33
Function
test_crash_during_shutdown_not_captured
Check that pytest leaves faulthandler disabled if it was not enabled during configure. This prevents us from seeing crashes during interprete
testing/test_faulthandler.py:45
Function
test_crash_on_closing_tmpfile_py27
( pytester: Pytester, monkeypatch: MonkeyPatch )
testing/test_capture.py:1465
Method
test_create_new_paste
(self, pastebin, mocked_urlopen)
testing/test_pastebin.py:162
Method
test_create_new_paste_failure
(self, pastebin, monkeypatch: MonkeyPatch)
testing/test_pastebin.py:174
Function
test_current_test_env_var
(pytester: Pytester, monkeypatch: MonkeyPatch)
testing/test_runner.py:910
Method
test_custom_abs_cache_dir
( self, pytester: Pytester, tmp_path_factory: TempPathFactory )
testing/test_cacheprovider.py:145
Method
test_custom_cache_dir_with_env_var
( self, pytester: Pytester, monkeypatch: MonkeyPatch )
testing/test_cacheprovider.py:162
Method
test_custom_cfg_file
Custom .cfg files without [tool:pytest] section are not considered for configuration
testing/test_findpaths.py:36
Method
test_custom_failure_repr
(self, pytester: Pytester)
testing/test_runner.py:224
Method
test_custom_ini
[pytest] section in any .ini file is read correctly
testing/test_findpaths.py:24
Method
test_custom_ini_without_section
Custom .ini files without [pytest] section are not considered for configuration
testing/test_findpaths.py:30
Method
test_custom_name
(self, pytester: Pytester)
testing/python/fixtures.py:3742
Method
test_custom_norecursedirs
(self, pytester: Pytester)
testing/test_collection.py:225
Method
test_custom_prog
Custom prog can be set for `argparse.ArgumentParser`.
testing/test_parseopt.py:25
Method
test_custom_rel_cache_dir
(self, pytester: Pytester)
testing/test_cacheprovider.py:131
Method
test_custom_repr
(self)
doc/en/example/assertion/failure_demo.py:272
Method
test_custom_repr
(self, request)
testing/test_assertrewrite.py:719
Method
test_custom_repr_failure
(self, pytester: Pytester)
testing/test_collection.py:291
Method
test_custom_repr_non_ascii
(self)
testing/test_assertrewrite.py:738
Method
test_custom_reprcompare
(self, monkeypatch)
testing/test_assertrewrite.py:669
Method
test_custom_tolerances
(self)
testing/python/approx.py:436
Method
test_custom_toml_file
.toml files without [tool.pytest.ini_options] are not considered for configuration.
testing/test_findpaths.py:62
Method
test_customized_pymakeitem
(self, pytester: Pytester)
testing/python/collect.py:848
Method
test_customized_pymakemodule_issue205_subdir
(self, pytester: Pytester)
testing/python/collect.py:822
Function
test_customized_python_discovery
(pytester: Pytester)
testing/python/collect.py:1208
Function
test_customized_python_discovery_functions
(pytester: Pytester)
testing/python/collect.py:1238
Method
test_cwd_changed
(self, pytester: Pytester, monkeypatch)
testing/test_assertrewrite.py:1467
Function
test_cwd_deleted
(pytester: Pytester)
testing/code/test_excinfo.py:1383
Function
test_cwd_snapshot
(pytester: Pytester)
testing/test_pytester.py:304
Method
test_d
(self, path1: Path)
testing/test_pathlib.py:200
Function
test_dataclasses
()
testing/example_scripts/dataclasses/test_compare_dataclasses.py:5
Method
test_dataclasses
(self, pytester: Pytester)
testing/test_assertion.py:800
Function
test_dataclasses_verbose
()
testing/example_scripts/dataclasses/test_compare_dataclasses_verbose.py:5
Method
test_dataclasses_verbose
(self, pytester: Pytester)
testing/test_assertion.py:871
Function
test_dataclasses_with_attribute_comparison_off
()
testing/example_scripts/dataclasses/test_compare_dataclasses_field_comparison_off.py:5
Method
test_dataclasses_with_attribute_comparison_off
( self, pytester: Pytester )
testing/test_assertion.py:885
Function
test_debug
(pytester: Pytester)
testing/test_helpconfig.py:111
Method
test_debug_help
(self, pytester: Pytester)
testing/test_config.py:2107
Method
test_decimal
(self)
testing/python/approx.py:513
Function
test_decorator
()
testing/code/test_source.py:621
Function
test_def_online
()
testing/code/test_source.py:610
Function
test_default_markers
(pytester: Pytester)
testing/test_skipping.py:1191
Function
test_default_markers
(pytester: Pytester)
testing/test_pluginmanager.py:185
Method
test_default_tolerances
(self)
testing/python/approx.py:417
Method
test_default_verbosity
(self, pytester: Pytester)
testing/test_assertrewrite.py:1828
Function
test_deferred_hook_checking
Check hooks as late as possible (#1821).
testing/acceptance_test.py:1007
Function
test_deindent
()
testing/code/test_source.py:275
Function
test_delattr
()
testing/test_monkeypatch.py:93
Method
test_delattr
(self, monkeypatch: MonkeyPatch)
testing/test_monkeypatch.py:86
Function
test_delenv
()
testing/test_monkeypatch.py:184
Function
test_delitem
()
testing/test_monkeypatch.py:156
Method
test_deprecated_call_exception_is_raised
If the block of the code being tested by deprecated_call() raises an exception, it must raise the exception undisturbed.
testing/test_recwarn.py:177
Method
test_deprecated_call_modes
Ensure deprecated_call() captures a deprecation warning as expected inside its block/function.
testing/test_recwarn.py:158
Method
test_deprecated_call_no_warning
Ensure deprecated_call() raises the expected failure when its block/function does not raise a deprecation warning.
testing/test_recwarn.py:136
Method
test_deprecated_call_preserves
(self)
testing/test_recwarn.py:113
Method
test_deprecated_call_ret
(self)
testing/test_recwarn.py:109
Method
test_deprecated_call_specificity
(self)
testing/test_recwarn.py:192
Method
test_deprecated_call_supports_match
(self)
testing/test_recwarn.py:213
Method
test_deprecated_explicit_call
(self)
testing/test_recwarn.py:131
Method
test_deprecated_explicit_call_raises
(self)
testing/test_recwarn.py:127
Function
test_deprecation_of_cmdline_preparse
(pytester: Pytester)
testing/deprecated_test.py:265
Function
test_deselect
(pytester: Pytester)
testing/test_session.py:292
Method
test_deselected
(self, pytester: Pytester)
testing/test_terminal.py:674
Method
test_deselected_with_hookwrapper
(self, pytester: Pytester)
testing/test_terminal.py:693
Method
test_deserialization_failure
Check handling of failure during deserialization of report types.
testing/test_reports.py:252
Method
test_detect_recursive_dependency_error
(self, pytester: Pytester)
testing/python/fixtures.py:122
Method
test_deterministic_fixture_collection
#920
testing/python/fixtures.py:3173
Method
test_dict
(self)
testing/test_assertion.py:586
Method
test_dict
(self)
testing/python/approx.py:586
Method
test_dict_decimal
(self)
testing/python/approx.py:598
Method
test_dict_different_items
(self)
testing/test_assertion.py:615
Method
test_dict_nonnumeric
(self)
testing/python/approx.py:611
Method
test_dict_omitting
(self)
testing/test_assertion.py:591
Method
test_dict_omitting_with_verbosity_1
Ensure differing items are visible for verbosity=1 (#1512).
testing/test_assertion.py:599
Method
test_dict_omitting_with_verbosity_2
(self)
testing/test_assertion.py:608
Method
test_dict_vs_other
(self)
testing/python/approx.py:615
Method
test_dict_wrap
(self)
testing/test_assertion.py:551
Method
test_dict_wrong_len
(self)
testing/python/approx.py:606
Function
test_diff_newline_at_end
(pytester: Pytester)
testing/test_assertion.py:1540
Method
test_different_types
(self)
testing/test_assertion.py:335
Method
test_dir
Directory and parts.
testing/test_main.py:137
Method
test_dir
(self, tmp_path: Path)
testing/test_pathlib.py:173
Method
test_direct_addressing_notfound
(self, pytester: Pytester)
testing/acceptance_test.py:346
Method
test_direct_addressing_selects
(self, pytester: Pytester)
testing/acceptance_test.py:333
Method
test_directory_skipped
(self, pytester: Pytester)
testing/acceptance_test.py:283
Function
test_disable_plugin_autoload
( pytester: Pytester, monkeypatch: MonkeyPatch, parse_args: Union[Tuple[str, str], Tuple[()]],
testing/test_config.py:1060
Method
test_disable_warnings_plugin_disables_config_warnings
Disabling 'warnings' plugin also disables config time warnings
testing/test_config.py:294
Function
test_disabled
Test option to disable fault handler in the command line.
testing/test_faulthandler.py:57
Method
test_disabled_capture_fixture
( self, pytester: Pytester, fixture: str, no_capture: bool )
testing/test_capture.py:622
Method
test_disabled_capture_fixture_twice
Test that an inner disabled() exit doesn't undo an outer disabled(). Issue #7148.
testing/test_capture.py:650
Function
test_djangolike_testcase
(pytester: Pytester)
testing/test_unittest.py:668
Function
test_do_class_cleanups_on_setupclass_failure
(pytester: Pytester)
testing/test_unittest.py:1348
Function
test_do_class_cleanups_on_success
(pytester: Pytester)
testing/test_unittest.py:1320
← previous
next →
2,501–2,600 of 4,602, ranked by callers