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
()
testing/example_scripts/collect/package_infinite_recursion/tests/test_basic.py:1
Function
test
()
testing/example_scripts/collect/package_init_given_as_arg/pkg/test_foo.py:1
Function
test
()
testing/example_scripts/fixtures/test_fixture_named_request.py:9
Function
test
(b, request)
testing/example_scripts/fixtures/test_getfixturevalue_dynamic.py:19
Function
test
()
testing/example_scripts/fixtures/custom_item/foo/test_foo.py:1
Function
test
(fix1)
testing/example_scripts/fixtures/fill_fixtures/test_detect_recursive_dependency_error.py:14
Method
test
(self)
testing/example_scripts/unittest/test_setup_skip_module.py:11
Function
test_1
(arg1)
testing/example_scripts/fixtures/fill_fixtures/test_conftest_funcargs_only_available_in_subdir/sub1/test_in_sub1.py:1
Function
test_2
()
testing/example_scripts/warnings/test_group_warnings_by_message_summary/test_2.py:4
Function
test_2
(arg2)
testing/example_scripts/fixtures/fill_fixtures/test_conftest_funcargs_only_available_in_subdir/sub2/test_in_sub2.py:1
Method
test_23
(self)
doc/en/example/assertion/test_setup_flow_example.py:19
Method
test_42
(self)
doc/en/example/assertion/test_setup_flow_example.py:15
Function
test_519
(pytester: Pytester)
testing/examples/test_issue519.py:4
Function
test_AssertionError_message
(pytester: Pytester)
testing/test_assertion.py:1522
Function
test_BdbQuit
(pytester: Pytester)
testing/test_unittest.py:1143
Function
test_ExceptionChainRepr
Test ExceptionChainRepr, especially with regard to being hashable.
testing/code/test_code.py:198
Function
test_PYTEST_DEBUG
(pytester: Pytester, monkeypatch)
testing/test_helpconfig.py:118
Method
test_Sequence
(self)
testing/test_assertion.py:669
Function
test_SkipTest_during_collection
(pytester: Pytester)
testing/test_nose.py:338
Function
test_SkipTest_in_test
(pytester: Pytester)
testing/test_nose.py:351
Function
test__check_initialpaths_for_relpath
Ensure that it handles dirs, and does not always use dirname.
testing/test_nodes.py:116
Method
test__eq__
(self, lhs, rhs, expected)
testing/test_mark.py:932
Function
test__get_multicapture
()
testing/test_capture.py:1633
Method
test__in_venv
Directly test the virtual env detection function
testing/test_collection.py:213
Method
test_a
(self, path1: Path)
testing/test_pathlib.py:183
Method
test_absolute_paths_are_resolved_correctly
Absolute paths resolve back to absolute paths.
testing/test_main.py:189
Method
test_absolute_tolerance
(self)
testing/python/approx.py:458
Method
test_absolute_win32_path
(self, pytester: Pytester)
testing/test_config.py:526
Function
test_access_denied_during_cleanup
Ensure that deleting a numbered dir does not fail because of OSErrors (#4262).
testing/test_pathlib.py:339
Method
test_accesskeywords
(self, pytester: Pytester)
testing/python/fixtures.py:1135
Method
test_accessmarker_dynamic
(self, pytester: Pytester)
testing/python/fixtures.py:1151
Method
test_add_removed
(self, monkeypatch: MonkeyPatch)
testing/test_pytester.py:327
Method
test_addhooks_conftestplugin
( self, pytester: Pytester, _config_for_test: Config )
testing/test_pluginmanager.py:24
Method
test_addhooks_nohooks
(self, pytester: Pytester)
testing/test_pluginmanager.py:54
Method
test_addini
(self, pytester: Pytester, maybe_type: str)
testing/test_config.py:614
Method
test_addini_args_ini_files
(self, pytester: Pytester)
testing/test_config.py:676
Method
test_addini_args_pyproject_toml
(self, pytester: Pytester)
testing/test_config.py:686
Method
test_addini_bool
( self, pytester: Pytester, str_val: str, bool_val: bool )
testing/test_config.py:744
Method
test_addini_linelist_ini_files
(self, pytester: Pytester)
testing/test_config.py:712
Method
test_addini_linelist_pprojecttoml
(self, pytester: Pytester)
testing/test_config.py:723
Function
test_addini_paths
(pytester: pytest.Pytester, config_type: str)
testing/test_legacypath.py:112
Method
test_addini_paths
(self, pytester: Pytester, config_type: str)
testing/test_config.py:638
Method
test_addinivalue_line_existing
(self, pytester: Pytester)
testing/test_config.py:764
Method
test_addinivalue_line_new
(self, pytester: Pytester)
testing/test_config.py:786
Function
test_addmarker_order
(pytester)
testing/test_mark.py:1052
Method
test_addopts_before_initini
( self, monkeypatch: MonkeyPatch, _config_for_test, _sys_snapshot )
testing/test_config.py:1633
Method
test_addopts_from_env_not_concatenated
PYTEST_ADDOPTS should not take values from normal args (#4265).
testing/test_config.py:1642
Method
test_addopts_from_ini_not_concatenated
`addopts` from ini should not take values from normal args (#4265).
testing/test_config.py:1655
Method
test_aliases
(self)
testing/test_mark.py:935
Method
test_all
(self, pytester: Pytester, pastebinlist)
testing/test_pastebin.py:36
Method
test_all_skipped
(self, pytester, makedoctest)
testing/test_doctest.py:1133
Method
test_allow_bytes
Test that doctests which output bytes work in all python versions tested by pytest when the ALLOW_BYTES option is used (either in the
testing/test_doctest.py:876
Method
test_allow_sane_sorting_for_decorators
(self, pytester: Pytester)
testing/python/collect.py:752
Method
test_allow_unicode
Test that doctests which output unicode work in all python versions tested by pytest when the ALLOW_UNICODE option is used (either in
testing/test_doctest.py:837
Function
test_already_initialized_crash
Even if faulthandler is already initialized, we still dump tracebacks on crashes (#8258).
testing/test_faulthandler.py:131
Method
test_anothermethod
(self)
doc/en/example/pythoncollection.py:13
Function
test_apiwrapper_problem_issue260
(pytester: Pytester)
testing/test_nose.py:285
Method
test_append_parse_args
( self, pytester: Pytester, tmp_path: Path, monkeypatch: MonkeyPatch )
testing/test_config.py:81
Method
test_applymarker
(self, pytester: Pytester)
testing/python/fixtures.py:1110
Method
test_arg_as_reason
(self, pytester: Pytester)
testing/test_skipping.py:802
Function
test_argcomplete
(pytester: Pytester, monkeypatch: MonkeyPatch)
testing/test_parseopt.py:291
Method
test_argument
(self)
testing/test_parseopt.py:31
Method
test_argument_processopt
(self)
testing/test_parseopt.py:64
Method
test_argument_type
(self)
testing/test_parseopt.py:49
Method
test_as_contextmanager
(self)
testing/test_recwarn.py:255
Function
test_as_errors
(pytester: Pytester, pyfile_with_warnings, method)
testing/test_warnings.py:89
Method
test_assert_already_has_message
(self)
testing/test_assertrewrite.py:289
Function
test_assert_indirect_tuple_no_warning
(pytester: Pytester)
testing/test_assertion.py:1582
Function
test_assert_never_enum
()
testing/test_compat.py:231
Function
test_assert_never_literal
()
testing/test_compat.py:249
Function
test_assert_never_union
()
testing/test_compat.py:214
Function
test_assert_outcomes_after_pytest_error
(pytester: Pytester)
testing/test_pytester.py:296
Method
test_assert_raising__bool__in_comparison
(self)
testing/test_assertrewrite.py:690
Function
test_assert_tuple_warning
(pytester: Pytester)
testing/test_assertion.py:1560
Function
test_assert_with_unicode
(pytester: Pytester)
testing/test_assertion.py:1595
Method
test_assertion_binchars
This test did fail when the escaping wasn't strict.
testing/test_junitxml.py:782
Function
test_assertion_location_with_coverage
This used to report the wrong location when run with coverage (#5754).
testing/test_assertion.py:1662
Method
test_assertion_message
(self, pytester: Pytester)
testing/test_assertrewrite.py:295
Method
test_assertion_message_escape
(self, pytester: Pytester)
testing/test_assertrewrite.py:345
Method
test_assertion_message_expr
(self, pytester: Pytester)
testing/test_assertrewrite.py:334
Method
test_assertion_message_multiline
(self, pytester: Pytester)
testing/test_assertrewrite.py:308
Method
test_assertion_message_tuple
(self, pytester: Pytester)
testing/test_assertrewrite.py:321
Method
test_assertion_messages_bytes
(self, pytester: Pytester)
testing/test_assertrewrite.py:358
Function
test_assertion_options
(pytester: Pytester)
testing/test_assertion.py:1356
Method
test_assertion_rewrite
(self, pytester: Pytester, import_mode)
testing/acceptance_test.py:152
Method
test_assertrepr_compare_same_width
Should use same width/truncation with same initial width.
testing/test_assertrewrite.py:240
Function
test_assertrepr_loaded_per_dir
(pytester: Pytester)
testing/test_assertion.py:1330
Function
test_async_support
(pytester: Pytester)
testing/test_unittest.py:1277
Function
test_asynctest_support
Check asynctest support (#7110)
testing/test_unittest.py:1285
Method
test_at_operator_issue1290
(self, pytester: Pytester)
testing/test_assertrewrite.py:504
Method
test_attr_fullwidth
(self, tw)
testing/io/test_terminalwriter.py:146
Function
test_attr_hasmarkup
()
testing/io/test_terminalwriter.py:155
Function
test_attribute
()
doc/en/example/assertion/failure_demo.py:123
Method
test_attribute
(self)
testing/test_assertrewrite.py:601
Function
test_attribute_failure
()
doc/en/example/assertion/failure_demo.py:138
Function
test_attribute_instance
()
doc/en/example/assertion/failure_demo.py:131
Function
test_attribute_multiple
()
doc/en/example/assertion/failure_demo.py:149
Method
test_attributes
(self, pytester: Pytester)
testing/python/metafunc.py:995
Method
test_attrs
(self)
testing/test_assertion.py:904
Method
test_attrs_recursive
(self)
testing/test_assertion.py:920
← previous
next →
2,101–2,200 of 4,602, ranked by callers