MCPcopy Create free account

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

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

Methodf9
()
testing/test_assertrewrite.py:423
Methodf_globals
(self)
src/_pytest/_code/code.py:143
Methodf_locals
(self)
src/_pytest/_code/code.py:147
Methodfailed
Whether the outcome is failed.
src/_pytest/reports.py:152
Functionfake_mkdir
(p, exist_ok=False, *, exc)
testing/test_assertrewrite.py:1705
Functionfile_structure
(pytester: Pytester)
testing/test_pythonpath.py:12
Functionfilename_arg
Argparse type validator for filename arguments. :path: Path of filename. :optname: Name of the option.
src/_pytest/config/__init__.py:203
Functionfill_wallet
(wallet)
testing/plugins_integration/bdd_wallet.py:23
Functionfillfixtures
Fill missing fixtures for a test function (deprecated).
src/_pytest/fixtures.py:361
Functionfilter_traceback_for_conftest_import_failure
Filter tracebacks entries which point to pytest internals or importlib. Make a special case for importlib because we use it to import test module
src/_pytest/config/__init__.py:122
Methodfin1
()
testing/test_runner.py:59
Methodfin2
()
testing/test_runner.py:62
Methodfin3
()
testing/test_runner.py:65
Methodfin_func
()
testing/test_runner.py:100
Methodfin_module
()
testing/test_runner.py:103
Functionfinal
(f)
src/_pytest/compat.py:351
Methodfinalize
(self)
src/_pytest/junitxml.py:256
Methodfinalize
See :meth:`Pytester._finalize`.
src/_pytest/legacypath.py:91
Methodfind_scope
(argnames, indirect)
testing/python/metafunc.py:161
Functionfindsource
(obj)
testing/test_runner.py:855
Methodfinish_recording
(self)
src/_pytest/pytester.py:271
Methodfirstlineno
(self)
src/_pytest/_code/code.py:79
Functionfix
()
testing/deprecated_test.py:127
Functionfix1
(request, arg1, checked_order)
testing/example_scripts/issue_519.py:37
Functionfix1
(fix2)
testing/example_scripts/fixtures/fill_fixtures/test_detect_recursive_dependency_error.py:5
Functionfix2
(request, fix1, arg2, checked_order)
testing/example_scripts/issue_519.py:43
Functionfix2
(fix1)
testing/example_scripts/fixtures/fill_fixtures/test_detect_recursive_dependency_error.py:10
Methodfixed_hook
(**kw)
src/_pytest/config/compat.py:45
Functionfixture
(self, request: FixtureRequest)
src/_pytest/unittest.py:148
Methodfixturenames
Names of all active fixtures in this request.
src/_pytest/fixtures.py:459
Methodflag_on
(self, pytester: Pytester)
testing/test_assertrewrite.py:1499
Functionfoo
(request)
bench/manyparam.py:5
Methodfoo
()
testing/code/test_excinfo.py:1069
Functionformat_explanation
r"""Format an explanation. Normally all embedded newlines are escaped, however there are three exceptions: \n{, \n} and \n~. The first two a
src/_pytest/assertion/util.py:35
Methodframe
(self)
src/_pytest/_code/code.py:214
Functionfreeze_includes
Return a list of module names used by pytest that should be included by cx_freeze.
src/_pytest/freeze_support.py:9
Methodfrom_item
(cls, item: "Item")
src/_pytest/mark/__init__.py:154
Methodfrom_parent
The public constructor.
src/_pytest/python.py:1689
Methodfrom_parent
The public constructor.
src/_pytest/nodes.py:624
Methodfullsource
Return a _pytest._code.Source object for the full source file of the code.
src/_pytest/_code/code.py:104
Methodfullwidth
(self)
src/_pytest/_io/terminalwriter.py:83
Functionfunc
(order)
doc/en/example/fixtures/test_fixtures_order_scope.py:10
Functionfunc
()
testing/test_runner.py:1052
Functionfunc
()
testing/python/integration.py:83
Methodfunc
()
testing/python/integration.py:105
Methodfunc1
(self)
doc/en/example/assertion/failure_demo.py:186
Methodfunc1
()
testing/python/collect.py:304
Methodfunc2
()
testing/python/collect.py:307
Methodfunction
Underlying python 'function' object.
src/_pytest/python.py:1698
Methodfunction
Test function object if the request has a per-function scope.
src/_pytest/fixtures.py:495
Methodfunction
()
testing/python/metafunc.py:54
Methodfunction1
()
testing/python/metafunc.py:973
Methodfunction2
(arg1)
testing/python/metafunc.py:978
Methodfunction3
(arg1, arg2="qwe")
testing/python/metafunc.py:983
Methodfunction4
(arg1, *args, **kwargs)
testing/python/metafunc.py:988
Functiong
(f, c, order)
doc/en/example/fixtures/test_fixtures_order_dependencies.py:40
Functiong
()
testing/code/test_source.py:251
Methodg
()
doc/en/example/assertion/failure_demo.py:27
Methodg
()
doc/en/example/assertion/failure_demo.py:210
Methodg
(a=42, *args, **kwargs)
testing/test_assertrewrite.py:531
Methodg
()
testing/code/test_excinfo.py:193
Methodgen
()
testing/python/metafunc.py:94
Methodgenitems
See :meth:`Pytester.genitems`.
src/_pytest/legacypath.py:155
Methodget_collected_names
(*args)
testing/test_mark.py:903
Methodget_data
Optional PEP302 get_data API.
src/_pytest/assertion/rewrite.py:274
Functionget_direct_param_fixture_func
(request)
src/_pytest/fixtures.py:390
Methodget_parametrize_mark_argnames
(mark: Mark)
src/_pytest/fixtures.py:1555
Functionget_plugin_manager
Obtain a new instance of the :py:class:`pytest.PytestPluginManager`, with default plugins already loaded. This function can be used by in
src/_pytest/config/__init__.py:293
Methodget_resource_reader
(self, name: str)
src/_pytest/assertion/rewrite.py:281
Methodget_stack
(self, f, t)
src/_pytest/debugging.py:226
Methodget_unique_child
(self)
testing/test_junitxml.py:96
Methodget_value_from_nested_list
Helper function to get the value out of a nested list, given an n-dimensional index. This mimics numpy's indexing, but for ra
src/_pytest/python_api.py:155
Methodgetbasetemp
Backward compat wrapper for ``_tmppath_factory.getbasetemp``.
src/_pytest/legacypath.py:288
Methodgethookrecorder
(self, hook)
src/_pytest/pytester.py:204
Methodgetini
(self, name)
testing/python/metafunc.py:254
Methodgetinicfg
Return the pytest section from the tox.ini config file.
src/_pytest/pytester.py:840
Methodgetinicfg
See :meth:`Pytester.getinicfg`.
src/_pytest/legacypath.py:115
Methodgetitem
See :meth:`Pytester.getitem`.
src/_pytest/legacypath.py:193
Methodgetitems
See :meth:`Pytester.getitems`.
src/_pytest/legacypath.py:197
Methodgetmodulecol
See :meth:`Pytester.getmodulecol`.
src/_pytest/legacypath.py:201
Methodgetnode
See :meth:`Pytester.getnode`.
src/_pytest/legacypath.py:147
Methodgetpathnode
See :meth:`Pytester.getpathnode`.
src/_pytest/legacypath.py:151
Methodgetrunner
(self)
testing/test_runner.py:415
Methodglobal_and_fixture_disabled
(self)
testing/logging/test_reporting.py:842
Methodh
()
testing/code/test_excinfo.py:199
MethodhandleError
(self, record: logging.LogRecord)
src/_pytest/logging.py:344
MethodhandleError
(self, record: logging.LogRecord)
src/_pytest/logging.py:756
MethodhandleError
(self, record: logging.LogRecord)
src/_pytest/logging.py:815
MethodhandleError
(self, record: logging.LogRecord)
src/_pytest/logging.py:829
Methodhandle_timeout
()
src/_pytest/pytester.py:1399
Methodhandler
Get the logging handler used by the fixture. :rtype: LogCaptureHandler
src/_pytest/logging.py:377
Methodhead_line
**Experimental** The head line shown with longrepr output for this report, more commonly during traceback representation during failur
src/_pytest/reports.py:179
Methodhello
(_cls)
testing/test_monkeypatch.py:368
Methodhook
Returns a patched AssertionRewritingHook instance so we can configure its initial paths and track if PathFinder.find_spec has been called.
testing/test_assertrewrite.py:1380
Methodhook
(self)
testing/python/metafunc.py:258
Methodhook_on
(self, pytester: Pytester)
testing/test_assertrewrite.py:1503
Methodi
()
testing/code/test_excinfo.py:280
Methodid
(self)
src/_pytest/python.py:993
Methodihook
fspath-sensitive hook proxy used to call pytest hooks.
src/_pytest/nodes.py:267
Functionimpct
(p, importmode, root)
testing/test_conftest.py:385
← previousnext →1,501–1,600 of 4,602, ranked by callers