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_function
()
testing/python/metafunc.py:361
Method
test_function_as_object_instance_ignored
(self, pytester: Pytester)
testing/python/collect.py:274
Method
test_function_basic
(self)
testing/python/metafunc.py:61
Method
test_function_equality
(self, pytester: Pytester)
testing/python/collect.py:303
Method
test_function_equality_with_callspec
(self, pytester: Pytester)
testing/python/collect.py:530
Function
test_function_instance
(pytester: Pytester)
testing/python/integration.py:481
Function
test_function_item_obj_is_instance
item.obj should be a bound method on unittest.TestCase function items (#5390).
testing/test_unittest.py:146
Method
test_function_originalname
(self, pytester: Pytester)
testing/python/collect.py:684
Method
test_function_with_square_brackets
Check that functions with square brackets don't cause trouble.
testing/python/collect.py:707
Method
test_generate_same_function_names_issue403
(self, pytester: Pytester)
testing/python/metafunc.py:1394
Method
test_generate_tests_in_class
(self, pytester: Pytester)
testing/python/metafunc.py:1063
Method
test_generate_tests_only_done_in_subdir
(self, pytester: Pytester)
testing/python/metafunc.py:1370
Function
test_generative
(param1, param2)
doc/en/example/assertion/failure_demo.py:18
Method
test_generic_sized_iterable_object
(self)
testing/python/approx.py:863
Function
test_get_assertion_exprs
(src, expected)
testing/test_assertrewrite.py:1688
Method
test_get_cache_dir
(self, monkeypatch, prefix, source, expected)
testing/test_assertrewrite.py:1742
Method
test_get_data_support
Implement optional PEP302 api (#808).
testing/test_assertrewrite.py:1228
Function
test_get_dirs_from_args
get_dirs_from_args() skips over non-existing directories and files
testing/test_findpaths.py:124
Function
test_get_extended_length_path_str
()
testing/test_pathlib.py:370
Method
test_get_maxsize_for_saferepr
(self, verbose: int, expected_size)
testing/test_assertrewrite.py:1810
Function
test_get_plugin_specs_as_list
()
testing/test_config.py:1284
Function
test_get_real_func
Check that get_real_func correctly unwraps decorators until reaching the real function
testing/test_compat.py:59
Function
test_get_real_func_partial
Test get_real_func handles partial instances correctly
testing/test_compat.py:84
Function
test_get_stderr_fileno_invalid_fd
Test for faulthandler being able to handle invalid file descriptors for stderr (#8249).
testing/test_faulthandler.py:151
Function
test_get_user
Test that get_user() function works even if environment variables required by getpass module are missing from the environment on Windows (#101
testing/test_tmpdir.py:222
Function
test_get_user_uid_not_found
Test that get_user() function works even if the current process's user id does not correspond to a valid user (e.g. running pytest in a Docker
testing/test_tmpdir.py:213
Method
test_getbasetemp_custom_removes_old
(self, pytester: Pytester)
testing/test_tmpdir.py:71
Method
test_getcfg_and_config
( self, pytester: Pytester, tmp_path: Path, section: str, filename: st
testing/test_config.py:38
Method
test_getconftest_pathlist
(self, pytester: Pytester, tmp_path: Path)
testing/test_config.py:595
Method
test_getcustomfile_roundtrip
(self, pytester: Pytester)
testing/test_collection.py:96
Method
test_getfixturevalue
(self, pytester: Pytester)
testing/python/fixtures.py:809
Method
test_getfixturevalue_recursive
(self, pytester: Pytester)
testing/python/fixtures.py:747
Method
test_getfixturevalue_teardown
Issue #1895 `test_inner` requests `inner` fixture, which in turn requests `resource` using `getfixturevalue`. `test_func` th
testing/python/fixtures.py:771
Function
test_getfslineno
()
testing/code/test_source.py:350
Function
test_getfuncargnames_functions
Test getfuncargnames for normal functions
testing/python/fixtures.py:17
Function
test_getfuncargnames_methods
Test getfuncargnames for normal methods
testing/python/fixtures.py:41
Function
test_getfuncargnames_partial
Check getfuncargnames for methods defined with functools.partial (#5701)
testing/python/fixtures.py:76
Method
test_getfuncargnames_patching
(self)
testing/python/integration.py:118
Function
test_getfuncargnames_staticmethod
Test getfuncargnames for staticmethods
testing/python/fixtures.py:51
Function
test_getfuncargnames_staticmethod_inherited
Test getfuncargnames for inherited staticmethods (#8061)
testing/python/fixtures.py:62
Function
test_getfuncargnames_staticmethod_partial
Check getfuncargnames for staticmethods defined with functools.partial (#5701)
testing/python/fixtures.py:90
Function
test_getfuncsource_dynamic
()
testing/code/test_source.py:247
Function
test_getfuncsource_with_multine_string
()
testing/code/test_source.py:260
Method
test_getgroup_simple
(self, parser: parseopt.Parser)
testing/test_parseopt.py:77
Method
test_getline
(self)
testing/code/test_source.py:100
Function
test_getline_finally
()
testing/code/test_source.py:232
Method
test_getmodulecollector
(self, pytester: Pytester)
testing/python/collect.py:267
Method
test_getoption
(self, pytester: Pytester)
testing/test_config.py:589
Method
test_getparent_and_accessors
(self, pytester: Pytester)
testing/test_collection.py:67
Method
test_getrange
(self)
testing/code/test_source.py:91
Method
test_getrange_step_not_supported
(self)
testing/code/test_source.py:96
Function
test_getreportopt
()
testing/test_terminal.py:1246
Method
test_getsource
(self)
testing/code/test_code.py:161
Method
test_getsourcelines_error_issue553
( self, pytester: Pytester, monkeypatch )
testing/acceptance_test.py:441
Function
test_getstartingblock_multiline
()
testing/code/test_source.py:643
Function
test_getstartingblock_singleline
()
testing/code/test_source.py:220
Method
test_getstatement
(self)
testing/code/test_source.py:123
Function
test_getstatement_empty_fullsource
()
testing/code/test_code.py:67
Method
test_getstatementrange_ast_issue58
(self)
testing/code/test_source.py:196
Method
test_getstatementrange_bug
(self)
testing/code/test_source.py:165
Method
test_getstatementrange_bug2
(self)
testing/code/test_source.py:179
Method
test_getstatementrange_out_of_bounds_py3
(self)
testing/code/test_source.py:210
Method
test_getstatementrange_triple_quoted
(self)
testing/code/test_source.py:132
Method
test_getstatementrange_with_syntaxerror_issue7
(self)
testing/code/test_source.py:215
Method
test_getstatementrange_within_constructs
(self)
testing/code/test_source.py:143
Function
test_gitignore
Ensure we automatically create .gitignore file in the pytest_cache directory (#3286).
testing/test_cacheprovider.py:1196
Function
test_global_capture_with_live_logging
(pytester: Pytester)
testing/test_capture.py:1502
Method
test_global_file
(self, pytester: Pytester)
testing/test_collection.py:642
Method
test_global_func
(self)
doc/en/example/assertion/failure_demo.py:237
Function
test_global_properties
(pytester: Pytester, xunit_family: str)
testing/test_junitxml.py:1466
Method
test_group_add_and_get
(self, parser: parseopt.Parser)
testing/test_parseopt.py:72
Method
test_group_addoption
(self)
testing/test_parseopt.py:92
Method
test_group_addoption_conflict
(self)
testing/test_parseopt.py:98
Method
test_group_ordering
(self, parser: parseopt.Parser)
testing/test_parseopt.py:84
Method
test_group_shortopt_lowercase
(self, parser: parseopt.Parser)
testing/test_parseopt.py:105
Function
test_group_warnings_by_message
(pytester: Pytester)
testing/test_warnings.py:584
Function
test_group_warnings_by_message_summary
(pytester: Pytester)
testing/test_warnings.py:615
Method
test_has_ancestor
(self, tmp_path: Path)
testing/test_findpaths.py:103
Method
test_has_plugin
Test hasplugin function of the plugin manager (#932).
testing/acceptance_test.py:844
Method
test_header
(self, pytester: Pytester)
testing/test_terminal.py:842
Method
test_header_absolute_testpath
Regresstion test for #7814.
testing/test_terminal.py:871
Method
test_header_trailer_info
( self, monkeypatch: MonkeyPatch, pytester: Pytester, request )
testing/test_terminal.py:789
Function
test_hello
()
doc/en/example/xfail_demo.py:7
Function
test_hello
()
testing/example_scripts/issue88_initial_file_multinodes/test_hello.py:1
Function
test_hello2
()
doc/en/example/xfail_demo.py:12
Function
test_hello3
()
doc/en/example/xfail_demo.py:17
Function
test_hello4
()
doc/en/example/xfail_demo.py:22
Function
test_hello5
()
doc/en/example/xfail_demo.py:27
Function
test_hello6
()
doc/en/example/xfail_demo.py:31
Function
test_hello7
()
doc/en/example/xfail_demo.py:36
Function
test_help
(pytester: Pytester)
testing/test_helpconfig.py:28
Function
test_help_and_version_after_argument_error
(pytester: Pytester)
testing/test_config.py:1724
Function
test_help_formatter_uses_py_get_terminal_width
(monkeypatch: MonkeyPatch)
testing/test_config.py:1768
Function
test_help_via_addopts
(pytester: Pytester)
testing/test_config.py:1705
Function
test_helper_failures
()
testing/test_compat.py:166
Method
test_hidden_by_cmdline
(self, pytester: Pytester)
testing/test_warnings.py:503
Method
test_hidden_by_ini
(self, pytester: Pytester)
testing/test_warnings.py:473
Method
test_hidden_by_mark
Should hide the deprecation warning from the function, but the warning during collection should be displayed normally.
testing/test_warnings.py:486
Method
test_hidden_by_system
(self, pytester: Pytester, monkeypatch)
testing/test_warnings.py:513
Function
test_hide_pytest_internal_warnings
Make sure we can ignore internal pytest warnings using a warnings filter.
testing/test_warnings.py:344
← previous
next →
2,901–3,000 of 4,602, ranked by callers