MCPcopy Create free account

hub / github.com/pytest-dev/pytest / functions

Functions4,602 in github.com/pytest-dev/pytest

Methodtest_marked_skipif_no_args
(self, pytester: Pytester)
testing/test_skipping.py:32
Methodtest_marked_skipif_with_boolean_without_reason
( self, pytester: Pytester )
testing/test_skipping.py:105
Methodtest_marked_skipif_with_invalid_boolean
(self, pytester: Pytester)
testing/test_skipping.py:124
Methodtest_marked_xfail_no_args
(self, pytester: Pytester)
testing/test_skipping.py:18
Functiontest_marker_expr_eval_failure_handling
(pytester: Pytester, expr)
testing/test_mark.py:1117
Functiontest_marker_without_description
(pytester: Pytester)
testing/test_mark.py:125
Functiontest_markers_from_parametrize
#3605
testing/test_mark.py:1067
Functiontest_markers_option
(pytester: Pytester)
testing/test_mark.py:88
Functiontest_markers_option_with_plugin_in_current_dir
(pytester: Pytester)
testing/test_mark.py:145
Methodtest_markup
(self, tw, bold: bool, color: str)
testing/io/test_terminalwriter.py:127
Methodtest_markup_bad
(self, tw)
testing/io/test_terminalwriter.py:131
Methodtest_match_failure_exact_string_message
(self)
testing/python/raises.py:222
Methodtest_match_failure_string_quoting
(self)
testing/python/raises.py:215
Functiontest_match_raises_error
(pytester: Pytester)
testing/code/test_excinfo.py:413
Methodtest_match_regex
(self)
testing/test_recwarn.py:371
Functiontest_match_succeeds
()
testing/code/test_excinfo.py:407
Methodtest_matching
(self, pattern: str, path: str)
testing/test_pathlib.py:54
Methodtest_matching_abspath
(self)
testing/test_pathlib.py:57
Functiontest_matchnodes_two_collections_same_file
(pytester: Pytester)
testing/test_collection.py:759
Methodtest_max_increased_verbosity
(self, pytester: Pytester)
testing/test_assertrewrite.py:1838
Methodtest_maxfail
(self, pytester: Pytester)
testing/test_session.py:90
Methodtest_maxfailures
(self, pytester: Pytester, option)
testing/test_terminal.py:1365
Methodtest_maxfailures_with_interrupted
(self, pytester: Pytester)
testing/test_terminal.py:1386
Functiontest_maxsize
()
testing/io/test_saferepr.py:12
Functiontest_maxsize_error_on_instance
()
testing/io/test_saferepr.py:26
Methodtest_merging_markers_deep
(self, pytester: Pytester)
testing/test_mark.py:472
Functiontest_messages
(caplog)
testing/logging/test_fixture.py:108
Functiontest_messages_logged
(pytester: Pytester)
testing/logging/test_reporting.py:33
Methodtest_messy_name
(self, tmp_path: Path)
testing/test_pathlib.py:166
Methodtest_method
(self)
doc/en/example/pythoncollection.py:10
Methodtest_method
(self, something)
testing/example_scripts/fixtures/fill_fixtures/test_funcarg_lookup_modulelevel.py:10
Methodtest_method
(self, something)
testing/example_scripts/fixtures/fill_fixtures/test_funcarg_lookup_classlevel.py:9
Methodtest_method
(self)
testing/code/test_source.py:45
Functiontest_method_and_teardown_failing_reporting
(pytester: Pytester)
testing/test_unittest.py:237
Functiontest_method_setup
(pytester: Pytester)
testing/test_runner_xunit.py:127
Functiontest_method_setup_failure_no_teardown
(pytester: Pytester)
testing/test_runner_xunit.py:146
Functiontest_method_setup_uses_fresh_instances
(pytester: Pytester)
testing/test_runner_xunit.py:168
Functiontest_minus_k_colon_is_deprecated
(pytester: Pytester)
testing/deprecated_test.py:67
Functiontest_minus_k_dash_is_deprecated
(pytester: Pytester)
testing/deprecated_test.py:55
Methodtest_minus_x_import_error
(self, pytester: Pytester)
testing/test_session.py:234
Methodtest_minus_x_overridden_by_maxfail
(self, pytester: Pytester)
testing/test_session.py:242
Methodtest_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
Functiontest_mktemp
(pytester: Pytester, basename: str, is_ok: bool)
testing/test_tmpdir.py:101
Methodtest_mktemp
(self, tmp_path)
testing/test_tmpdir.py:51
Methodtest_mock
(self, pytester: Pytester)
testing/python/integration.py:220
Methodtest_mock_double_patch_issue473
(self, pytester: Pytester)
testing/python/integration.py:277
Methodtest_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
Methodtest_mock_sorting
(self, pytester: Pytester)
testing/python/integration.py:253
Functiontest_mocker
(mocker)
testing/plugins_integration/pytest_mock_integration.py:1
Functiontest_module_and_function_setup
(pytester: Pytester)
testing/test_runner_xunit.py:8
Methodtest_module_considers_pluginmanager_at_import
(self, pytester: Pytester)
testing/python/collect.py:77
Functiontest_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
Functiontest_module_level_pytestmark
(pytester: Pytester)
testing/test_unittest.py:439
Functiontest_module_level_setup
(pytester: Pytester)
testing/test_nose.py:161
Functiontest_module_level_skip_error
Verify that using pytest.skip at module level causes a collection error.
testing/test_skipping.py:1329
Functiontest_module_level_skip_with_allow_module_level
Verify that using pytest.skip(allow_module_level=True) is allowed.
testing/test_skipping.py:1346
Methodtest_module_name_from_path
(self, tmp_path: Path)
testing/test_pathlib.py:554
Functiontest_module_not_found
Without the pythonpath setting, the module should not be found.
testing/test_pythonpath.py:64
Methodtest_module_parametrized_ordering
(self, pytester: Pytester)
testing/python/fixtures.py:2592
Functiontest_module_setup_failure_no_teardown
(pytester: Pytester)
testing/test_runner_xunit.py:41
Methodtest_module_with_global_test
(self, pytester: Pytester)
testing/python/integration.py:345
Functiontest_modulecol_roundtrip
(pytester: Pytester)
testing/python/collect.py:994
Methodtest_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
Methodtest_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
Methodtest_mojibake
(self)
testing/test_assertion.py:786
Functiontest_monkeypatch_plugin
(pytester: Pytester)
testing/test_monkeypatch.py:235
Methodtest_more_quiet_reporting
(self, pytester: Pytester)
testing/test_terminal.py:1023
Functiontest_multiline
()
testing/code/test_source.py:515
Methodtest_multiline
(self)
doc/en/example/assertion/failure_demo.py:263
Functiontest_multiline_docstring_in_module
(pytester: Pytester)
testing/python/show_fixtures_per_test.py:185
Functiontest_multiline_message
()
testing/logging/test_formatter.py:62
Methodtest_multiline_text_diff
(self)
testing/test_assertion.py:364
Methodtest_multiple_custom_debug_logs
(self, pytester: Pytester)
testing/test_config.py:2087
Methodtest_multiple_items_per_collector_byid
(self, pytester: Pytester)
testing/acceptance_test.py:296
Methodtest_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
Methodtest_multiple_override_ini_options
Ensure a file path following a '-o' option does not generate an error (#3103)
testing/test_config.py:1680
Methodtest_multiple_packages
Complex test involving multiple package fixtures. Make sure teardowns are executed in order. . └── root ├── __init
testing/python/fixtures.py:4183
Methodtest_multiple_parametrization_issue_736
(self, pytester: Pytester)
testing/python/fixtures.py:2208
Methodtest_multiple_parametrize
(self, pytester: Pytester)
testing/python/collect.py:559
Methodtest_multiple_patterns
Test support for multiple --doctest-glob arguments (#1255).
testing/test_doctest.py:126
Methodtest_name
(self, request)
testing/test_assertrewrite.py:185
Methodtest_namedtuple
(self)
testing/test_assertion.py:1012
Methodtest_namespace_doctestfile
Check that inserting something into the namespace works in a simple text file doctest
testing/test_doctest.py:1357
Methodtest_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
Methodtest_namespace_pyfile
Check that inserting something into the namespace works in a simple Python file docstring doctest
testing/test_doctest.py:1384
Methodtest_nan_tolerance
(self)
testing/python/approx.py:404
Functiontest_ne
()
testing/code/test_code.py:15
Methodtest_negative_tolerance
( self, rel: Optional[float], abs: Optional[float] )
testing/python/approx.py:373
Methodtest_negative_tolerance_message
(self)
testing/python/approx.py:380
Methodtest_nested_import_error
(self, pytester: Pytester)
testing/acceptance_test.py:164
Methodtest_nested_import_error
(self, pytester: Pytester)
testing/test_session.py:40
Functiontest_new_instances
(pytester: Pytester)
testing/test_unittest.py:131
Methodtest_new_pattern
(self, pytester: Pytester)
testing/test_doctest.py:115
Methodtest_newfirst_parametrize
(self, pytester: Pytester)
testing/test_cacheprovider.py:1114
Methodtest_newfirst_usecase
(self, pytester: Pytester)
testing/test_cacheprovider.py:1058
Methodtest_newstyle_with_request
(self, pytester: Pytester)
testing/python/fixtures.py:1062
Functiontest_next_higher
()
testing/test_scope.py:24
Functiontest_next_lower
()
testing/test_scope.py:14
Functiontest_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
Methodtest_no_captured_text
(self, pytester: Pytester)
testing/test_runner.py:1026
← previousnext →3,301–3,400 of 4,602, ranked by callers