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_marked_skipif_no_args
(self, pytester: Pytester)
testing/test_skipping.py:32
Method
test_marked_skipif_with_boolean_without_reason
( self, pytester: Pytester )
testing/test_skipping.py:105
Method
test_marked_skipif_with_invalid_boolean
(self, pytester: Pytester)
testing/test_skipping.py:124
Method
test_marked_xfail_no_args
(self, pytester: Pytester)
testing/test_skipping.py:18
Function
test_marker_expr_eval_failure_handling
(pytester: Pytester, expr)
testing/test_mark.py:1117
Function
test_marker_without_description
(pytester: Pytester)
testing/test_mark.py:125
Function
test_markers_from_parametrize
#3605
testing/test_mark.py:1067
Function
test_markers_option
(pytester: Pytester)
testing/test_mark.py:88
Function
test_markers_option_with_plugin_in_current_dir
(pytester: Pytester)
testing/test_mark.py:145
Method
test_markup
(self, tw, bold: bool, color: str)
testing/io/test_terminalwriter.py:127
Method
test_markup_bad
(self, tw)
testing/io/test_terminalwriter.py:131
Method
test_match_failure_exact_string_message
(self)
testing/python/raises.py:222
Method
test_match_failure_string_quoting
(self)
testing/python/raises.py:215
Function
test_match_raises_error
(pytester: Pytester)
testing/code/test_excinfo.py:413
Method
test_match_regex
(self)
testing/test_recwarn.py:371
Function
test_match_succeeds
()
testing/code/test_excinfo.py:407
Method
test_matching
(self, pattern: str, path: str)
testing/test_pathlib.py:54
Method
test_matching_abspath
(self)
testing/test_pathlib.py:57
Function
test_matchnodes_two_collections_same_file
(pytester: Pytester)
testing/test_collection.py:759
Method
test_max_increased_verbosity
(self, pytester: Pytester)
testing/test_assertrewrite.py:1838
Method
test_maxfail
(self, pytester: Pytester)
testing/test_session.py:90
Method
test_maxfailures
(self, pytester: Pytester, option)
testing/test_terminal.py:1365
Method
test_maxfailures_with_interrupted
(self, pytester: Pytester)
testing/test_terminal.py:1386
Function
test_maxsize
()
testing/io/test_saferepr.py:12
Function
test_maxsize_error_on_instance
()
testing/io/test_saferepr.py:26
Method
test_merging_markers_deep
(self, pytester: Pytester)
testing/test_mark.py:472
Function
test_messages
(caplog)
testing/logging/test_fixture.py:108
Function
test_messages_logged
(pytester: Pytester)
testing/logging/test_reporting.py:33
Method
test_messy_name
(self, tmp_path: Path)
testing/test_pathlib.py:166
Method
test_method
(self)
doc/en/example/pythoncollection.py:10
Method
test_method
(self, something)
testing/example_scripts/fixtures/fill_fixtures/test_funcarg_lookup_modulelevel.py:10
Method
test_method
(self, something)
testing/example_scripts/fixtures/fill_fixtures/test_funcarg_lookup_classlevel.py:9
Method
test_method
(self)
testing/code/test_source.py:45
Function
test_method_and_teardown_failing_reporting
(pytester: Pytester)
testing/test_unittest.py:237
Function
test_method_setup
(pytester: Pytester)
testing/test_runner_xunit.py:127
Function
test_method_setup_failure_no_teardown
(pytester: Pytester)
testing/test_runner_xunit.py:146
Function
test_method_setup_uses_fresh_instances
(pytester: Pytester)
testing/test_runner_xunit.py:168
Function
test_minus_k_colon_is_deprecated
(pytester: Pytester)
testing/deprecated_test.py:67
Function
test_minus_k_dash_is_deprecated
(pytester: Pytester)
testing/deprecated_test.py:55
Method
test_minus_x_import_error
(self, pytester: Pytester)
testing/test_session.py:234
Method
test_minus_x_overridden_by_maxfail
(self, pytester: Pytester)
testing/test_session.py:242
Method
test_missing_required_plugins
Check 'required_plugins' option with various settings. This test installs a mock "myplugin-1.5" which is used in the parametrized test cases.
testing/test_config.py:398
Function
test_mktemp
(pytester: Pytester, basename: str, is_ok: bool)
testing/test_tmpdir.py:101
Method
test_mktemp
(self, tmp_path)
testing/test_tmpdir.py:51
Method
test_mock
(self, pytester: Pytester)
testing/python/integration.py:220
Method
test_mock_double_patch_issue473
(self, pytester: Pytester)
testing/python/integration.py:277
Method
test_mock_sentinel_check_against_numpy_like
Ensure our function that detects mock arguments compares against sentinels using identity to circumvent objects which can't be compared with e
testing/python/integration.py:192
Method
test_mock_sorting
(self, pytester: Pytester)
testing/python/integration.py:253
Function
test_mocker
(mocker)
testing/plugins_integration/pytest_mock_integration.py:1
Function
test_module_and_function_setup
(pytester: Pytester)
testing/test_runner_xunit.py:8
Method
test_module_considers_pluginmanager_at_import
(self, pytester: Pytester)
testing/python/collect.py:77
Function
test_module_full_path_without_drive
Collect and run test using full path except for the drive letter (#7628). Passing a full path without a drive letter would trigger a bug in legac
testing/test_main.py:205
Function
test_module_level_pytestmark
(pytester: Pytester)
testing/test_unittest.py:439
Function
test_module_level_setup
(pytester: Pytester)
testing/test_nose.py:161
Function
test_module_level_skip_error
Verify that using pytest.skip at module level causes a collection error.
testing/test_skipping.py:1329
Function
test_module_level_skip_with_allow_module_level
Verify that using pytest.skip(allow_module_level=True) is allowed.
testing/test_skipping.py:1346
Method
test_module_name_from_path
(self, tmp_path: Path)
testing/test_pathlib.py:554
Function
test_module_not_found
Without the pythonpath setting, the module should not be found.
testing/test_pythonpath.py:64
Method
test_module_parametrized_ordering
(self, pytester: Pytester)
testing/python/fixtures.py:2592
Function
test_module_setup_failure_no_teardown
(pytester: Pytester)
testing/test_runner_xunit.py:41
Method
test_module_with_global_test
(self, pytester: Pytester)
testing/python/integration.py:345
Function
test_modulecol_roundtrip
(pytester: Pytester)
testing/python/collect.py:994
Method
test_modules_importable_as_side_effect
In import-modes `prepend` and `append`, we are able to import modules from folders containing conftest.py files due to the side effect of chan
testing/test_collection.py:1458
Method
test_modules_not_importable_as_side_effect
In import-mode `importlib`, modules in folders containing conftest.py are not importable, as don't change sys.path or sys.modules as side effe
testing/test_collection.py:1465
Method
test_mojibake
(self)
testing/test_assertion.py:786
Function
test_monkeypatch_plugin
(pytester: Pytester)
testing/test_monkeypatch.py:235
Method
test_more_quiet_reporting
(self, pytester: Pytester)
testing/test_terminal.py:1023
Function
test_multiline
()
testing/code/test_source.py:515
Method
test_multiline
(self)
doc/en/example/assertion/failure_demo.py:263
Function
test_multiline_docstring_in_module
(pytester: Pytester)
testing/python/show_fixtures_per_test.py:185
Function
test_multiline_message
()
testing/logging/test_formatter.py:62
Method
test_multiline_text_diff
(self)
testing/test_assertion.py:364
Method
test_multiple_custom_debug_logs
(self, pytester: Pytester)
testing/test_config.py:2087
Method
test_multiple_items_per_collector_byid
(self, pytester: Pytester)
testing/acceptance_test.py:296
Method
test_multiple_metavar_help
Help text for options with a metavar tuple should display help in the form "--preferences=value1 value2 value3" (#2004).
testing/test_parseopt.py:276
Method
test_multiple_override_ini_options
Ensure a file path following a '-o' option does not generate an error (#3103)
testing/test_config.py:1680
Method
test_multiple_packages
Complex test involving multiple package fixtures. Make sure teardowns are executed in order. . └── root ├── __init
testing/python/fixtures.py:4183
Method
test_multiple_parametrization_issue_736
(self, pytester: Pytester)
testing/python/fixtures.py:2208
Method
test_multiple_parametrize
(self, pytester: Pytester)
testing/python/collect.py:559
Method
test_multiple_patterns
Test support for multiple --doctest-glob arguments (#1255).
testing/test_doctest.py:126
Method
test_name
(self, request)
testing/test_assertrewrite.py:185
Method
test_namedtuple
(self)
testing/test_assertion.py:1012
Method
test_namespace_doctestfile
Check that inserting something into the namespace works in a simple text file doctest
testing/test_doctest.py:1357
Method
test_namespace_import_doesnt_confuse_import_hook
Ref #383. Python 3.3's namespace package messed with our import hooks. Importing a module that didn't exist, even if the ImportError
testing/acceptance_test.py:408
Method
test_namespace_pyfile
Check that inserting something into the namespace works in a simple Python file docstring doctest
testing/test_doctest.py:1384
Method
test_nan_tolerance
(self)
testing/python/approx.py:404
Function
test_ne
()
testing/code/test_code.py:15
Method
test_negative_tolerance
( self, rel: Optional[float], abs: Optional[float] )
testing/python/approx.py:373
Method
test_negative_tolerance_message
(self)
testing/python/approx.py:380
Method
test_nested_import_error
(self, pytester: Pytester)
testing/acceptance_test.py:164
Method
test_nested_import_error
(self, pytester: Pytester)
testing/test_session.py:40
Function
test_new_instances
(pytester: Pytester)
testing/test_unittest.py:131
Method
test_new_pattern
(self, pytester: Pytester)
testing/test_doctest.py:115
Method
test_newfirst_parametrize
(self, pytester: Pytester)
testing/test_cacheprovider.py:1114
Method
test_newfirst_usecase
(self, pytester: Pytester)
testing/test_cacheprovider.py:1058
Method
test_newstyle_with_request
(self, pytester: Pytester)
testing/python/fixtures.py:1062
Function
test_next_higher
()
testing/test_scope.py:24
Function
test_next_lower
()
testing/test_scope.py:14
Function
test_no_brokenpipeerror_message
Ensure that the broken pipe error message is suppressed. In some Python versions, it reaches sys.unraisablehook, in others a BrokenPipeError
testing/acceptance_test.py:1283
Method
test_no_captured_text
(self, pytester: Pytester)
testing/test_runner.py:1026
← previous
next →
3,301–3,400 of 4,602, ranked by callers