MCPcopy Create free account

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

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

↓ 1 callersMethodexecute
(self, request: SubRequest)
src/_pytest/fixtures.py:1040
↓ 1 callersFunctionexp_match
(val: object)
testing/test_config.py:1285
↓ 1 callersFunctionexpression
(s: Scanner)
src/_pytest/mark/expression.py:136
↓ 1 callersMethodextract_from
Extract from an object or objects. :param parameterset: A legacy style parameterset that may or may not be a tuple, a
src/_pytest/mark/structures.py:104
↓ 1 callersFunctionf1
(x)
testing/code/test_code.py:93
↓ 1 callersFunctionf2
(x, *y)
testing/code/test_code.py:99
↓ 1 callersFunctionf3
(x, **z)
testing/code/test_code.py:105
↓ 1 callersFunctionf4
(x, *y, **z)
testing/code/test_code.py:111
↓ 1 callersFunctionfail_fixturefunc
(fixturefunc, msg: str)
src/_pytest/fixtures.py:901
↓ 1 callersMethodfill_unfilled
Fill an unfilled ExceptionInfo created with ``for_later()``.
src/_pytest/_code/code.py:522
↓ 1 callersMethodfinalize
(self, report: TestReport)
src/_pytest/junitxml.py:497
↓ 1 callersFunctionfind_next_version
( base_branch: str, is_major: bool, is_feature_release: bool, prerelease: str )
scripts/prepare-release-pr.py:136
↓ 1 callersFunctionfix
()
testing/python/fixtures.py:4290
↓ 1 callersFunctionfix_cache_order
( item: nodes.Item, argkeys_cache: Dict[Scope, Dict[nodes.Item, Dict[_Key, None]]], items_by_argke
src/_pytest/fixtures.py:299
↓ 1 callersFunctionfix_formatting
Runs pre-commit in all files to ensure they are formatted correctly
scripts/release.py:73
↓ 1 callersFunctionfixture
( fixture_function: FixtureFunction, *, scope: "Union[_ScopeName, Callable[[str, Config], _ScopeNa
src/_pytest/fixtures.py:1224
↓ 1 callersFunctionfoo
()
testing/test_compat.py:26
↓ 1 callersMethodformat
(self, record: logging.LogRecord)
src/_pytest/logging.py:176
↓ 1 callersMethodformat
Return an instance of the warning category, formatted with given kwargs.
src/_pytest/warning_types.py:143
↓ 1 callersMethodformat_for_rematch
Replace color names for use with LineMatcher.re_match_lines
testing/conftest.py:174
↓ 1 callersMethodformatrepr
(self)
src/_pytest/fixtures.py:822
↓ 1 callersMethodfrom_config
Create a factory according to pytest configuration. :meta private:
src/_pytest/tmpdir.py:55
↓ 1 callersMethodfrom_item_and_call
Create and fill a TestReport with standard item and call info.
src/_pytest/reports.py:310
↓ 1 callersMethodfunc
(arg1, arg2="qwe")
testing/python/metafunc.py:62
↓ 1 callersMethodfuncnamefilter
(self, name: str)
src/_pytest/python.py:370
↓ 1 callersFunctiongenerate_folders
(root, elements, *more_numbers)
testing/example_scripts/perf_examples/collect_stats/generate_folders.py:11
↓ 1 callersMethodgeneric_visit
Handle expressions we don't have custom code for.
src/_pytest/assertion/rewrite.py:840
↓ 1 callersMethodgenitems
Generate all test items from a collection node. This recurses into the collection node and returns a list of all the test items conta
src/_pytest/pytester.py:1002
↓ 1 callersFunctionget_best_relpath
(func)
src/_pytest/python.py:1486
↓ 1 callersFunctionget_default_arg_names
(function: Callable[..., Any])
src/_pytest/compat.py:200
↓ 1 callersFunctionget_dir_from_path
(path: Path)
src/_pytest/config/findpaths.py:144
↓ 1 callersFunctionget_file_part_from_node_id
(x: str)
src/_pytest/config/findpaths.py:141
↓ 1 callersFunctionget_fslocation_from_item
Try to extract the actual location from a node, depending on available attributes: * "location": a pair (path, lineno) * "obj": a Python obje
src/_pytest/nodes.py:498
↓ 1 callersFunctionget_issues
()
extra/get_issues.py:9
↓ 1 callersMethodget_last_failed_paths
Return a set with all Paths()s of the previously failed nodeids.
src/_pytest/cacheprovider.py:301
↓ 1 callersMethodget_lines_after
Return all lines following the given line in the text. The given line can contain glob wildcards.
src/_pytest/pytester.py:1579
↓ 1 callersMethodget_location
Return the more user-friendly information about the location of a warning, or None.
src/_pytest/terminal.py:298
↓ 1 callersFunctionget_log_level_for_setting
(config: Config, *setting_names: str)
src/_pytest/logging.py:499
↓ 1 callersMethodget_open_files
(self)
src/_pytest/pytester.py:125
↓ 1 callersFunctionget_option_ini
(config: Config, *names: str)
src/_pytest/logging.py:200
↓ 1 callersFunctionget_parametrized_fixture_keys
Return list of keys for all parametrized arguments which match the specified scope.
src/_pytest/fixtures.py:243
↓ 1 callersFunctionget_real_method
Attempt to obtain the real function object that might be wrapping ``obj``, while at the same time returning a bound method to ``holder`` if th
src/_pytest/compat.py:296
↓ 1 callersFunctionget_scope_package
(node, fixturedef: "FixtureDef[object]")
src/_pytest/fixtures.py:117
↓ 1 callersFunctionget_statement_startend2
(lineno: int, node: ast.AST)
src/_pytest/_code/source.py:146
↓ 1 callersFunctionget_terminal_width
()
src/_pytest/_io/terminalwriter.py:16
↓ 1 callersFunctionget_timeout_config_value
(config: Config)
src/_pytest/faulthandler.py:63
↓ 1 callersMethodgetargs
Return a list of tuples (name, value) for all arguments. If 'var' is set True, also include the variable and keyword arguments when p
src/_pytest/_code/code.py:176
↓ 1 callersMethodgetcall
(self, name: str)
src/_pytest/pytester.py:311
↓ 1 callersMethodgetfixtureclosure
( self, fixturenames: Tuple[str, ...], parentnode: nodes.Node, ignore_args: Se
src/_pytest/fixtures.py:1499
↓ 1 callersMethodgethookproxy
(self, fspath: "os.PathLike[str]")
src/_pytest/nodes.py:635
↓ 1 callersMethodgetparam
(self, name: str)
src/_pytest/python.py:986
↓ 1 callersMethodgetpathnode
Return the collection node of a file. This is like :py:meth:`getnode` but uses :py:meth:`parseconfigure` to create the (configured) p
src/_pytest/pytester.py:985
↓ 1 callersMethodgetrunner
(self)
testing/test_runner.py:945
↓ 1 callersFunctiongetworkerinfoline
(node)
src/_pytest/reports.py:44
↓ 1 callersFunctionh
(arg1, arg2="hello")
testing/python/fixtures.py:30
↓ 1 callersFunctionhasinit
(obj: object)
src/_pytest/python.py:911
↓ 1 callersFunctionhasnew
(obj: object)
src/_pytest/python.py:918
↓ 1 callersMethodhasplugin
Return whether a plugin with the given name is registered.
src/_pytest/config/__init__.py:475
↓ 1 callersMethodhello
()
testing/test_monkeypatch.py:342
↓ 1 callersMethodids
(val: object)
testing/python/metafunc.py:463
↓ 1 callersMethodinteraction
(self, *args)
testing/test_debugging.py:53
↓ 1 callersFunctionis_ancestor
Return whether query is an ancestor of base.
src/_pytest/main.py:238
↓ 1 callersMethodis_capturing
(self)
src/_pytest/capture.py:647
↓ 1 callersMethodis_globally_capturing
(self)
src/_pytest/capture.py:656
↓ 1 callersFunctionis_option
(x: str)
src/_pytest/config/findpaths.py:138
↓ 1 callersMethodisatty
(self)
testing/io/test_terminalwriter.py:43
↓ 1 callersFunctionisdict
(x: Any)
src/_pytest/assertion/util.py:110
↓ 1 callersMethodisinitpath
(self, p)
testing/test_assertrewrite.py:1394
↓ 1 callersFunctionisiterable
(obj: Any)
src/_pytest/assertion/util.py:130
↓ 1 callersFunctionissequence
(x: Any)
src/_pytest/assertion/util.py:102
↓ 1 callersFunctionisset
(x: Any)
src/_pytest/assertion/util.py:114
↓ 1 callersMethodistestclass
(self, obj: object, name: str)
src/_pytest/python.py:394
↓ 1 callersFunctionistestfunc
(func)
src/_pytest/mark/structures.py:42
↓ 1 callersMethodistestfunction
(self, obj: object, name: str)
src/_pytest/python.py:385
↓ 1 callersMethoditer_markers_with_node
Iterate over all markers of the node. :param name: If given, filter the results by the name attribute. :returns: An iterator of (node
src/_pytest/nodes.py:367
↓ 1 callersFunctioniter_plugins
()
scripts/update-plugin-list.py:51
↓ 1 callersMethodlex
(self, input: str)
src/_pytest/mark/expression.py:79
↓ 1 callersMethodlistextrakeywords
Return a set of all extra keywords in self and any parents.
src/_pytest/nodes.py:399
↓ 1 callersMethodload_and_is_true
(self, expression)
doc/en/example/multipython.py:48
↓ 1 callersFunctionlogin
(token: str)
scripts/prepare-release-pr.py:41
↓ 1 callersFunctionmain
(args)
extra/get_issues.py:33
↓ 1 callersFunctionmain
()
scripts/update-plugin-list.py:119
↓ 1 callersFunctionmain
()
scripts/prepare-release-pr.py:157
↓ 1 callersFunctionmain
Platform agnostic wrapper script for towncrier. Fixes the issue (#7251) where windows users are unable to natively run tox -e docs to build p
scripts/towncrier-draft-to-file.py:5
↓ 1 callersFunctionmain
(argv)
scripts/publish-gh-release-notes.py:66
↓ 1 callersFunctionmain
()
scripts/release.py:110
↓ 1 callersFunctionmake_numbered_dir_with_cleanup
Create a numbered dir with a cleanup lock and remove old ones.
src/_pytest/pathlib.py:348
↓ 1 callersMethodmake_properties_node
Return a Junit node containing custom properties, if any.
src/_pytest/junitxml.py:110
↓ 1 callersFunctionmake_scalar
(v: object)
src/_pytest/config/findpaths.py:80
↓ 1 callersMethodmark_rewrite
Mark import names as needing to be rewritten. The named module or package as well as any nested modules will be rewritten on import.
src/_pytest/assertion/rewrite.py:246
↓ 1 callersMethodmatching_platform
(self)
src/_pytest/pytester.py:156
↓ 1 callersFunctionmaybe_wrap_pytest_function_for_tracing
Wrap the given pytestfunct item for tracing support if --trace was given in the command line.
src/_pytest/debugging.py:329
↓ 1 callersFunctionmerge_family
(left, right)
src/_pytest/junitxml.py:67
↓ 1 callersMethodmkdir
Return a directory path object with the given name. If the directory does not yet exist, it will be created. You can use it to manage
src/_pytest/cacheprovider.py:122
↓ 1 callersMethodmkdir
See :meth:`Pytester.mkdir`.
src/_pytest/legacypath.py:135
↓ 1 callersFunctionmock_config
(verbose=0)
testing/test_assertion.py:20
↓ 1 callersMethodnext_higher
Return the next higher scope.
src/_pytest/scope.py:49
↓ 1 callersMethodno_re_match_line
Ensure captured lines do not match the given pattern, using ``re.match``. :param str pat: The regular expression to match lines.
src/_pytest/pytester.py:1707
↓ 1 callersFunctionnodeval
(node, name)
testing/test_junitxml.py:68
↓ 1 callersFunctionnot_expr
(s: Scanner)
src/_pytest/mark/expression.py:161
← previousnext →801–900 of 4,602, ranked by callers