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_xfail_handling
Ensure normal xfail is ignored, and strict xfail interrupts the session in sw mode (#5547)
testing/test_stepwise.py:201
Method
test_xfail_imperative
(self, pytester: Pytester)
testing/test_skipping.py:481
Method
test_xfail_imperative_in_setup_function
(self, pytester: Pytester)
testing/test_skipping.py:496
Function
test_xfail_item
(pytester: Pytester)
testing/test_skipping.py:1307
Method
test_xfail_markeval_namespace
(self, pytester: Pytester)
testing/test_skipping.py:711
Method
test_xfail_not_considered_failure
(self, pytester: Pytester)
testing/test_cacheprovider.py:598
Method
test_xfail_not_report_default
(self, pytester: Pytester)
testing/test_skipping.py:412
Method
test_xfail_not_run_no_setup_run
(self, pytester: Pytester)
testing/test_skipping.py:452
Method
test_xfail_not_run_xfail_reporting
(self, pytester: Pytester)
testing/test_skipping.py:426
Method
test_xfail_passing_is_xpass
(self, pytester: Pytester, strict: bool)
testing/python/metafunc.py:1727
Method
test_xfail_raises
( self, expected, actual, matchline, pytester: Pytester )
testing/test_skipping.py:598
Method
test_xfail_run_anyway
(self, pytester: Pytester)
testing/test_skipping.py:354
Method
test_xfail_run_with_skip_mark
( self, pytester: Pytester, test_input, expected )
testing/test_skipping.py:383
Method
test_xfail_simple
(self, pytester: Pytester, strict: bool)
testing/test_skipping.py:292
Function
test_xfail_skipif_with_globals
(pytester: Pytester)
testing/test_skipping.py:1174
Method
test_xfail_strict_considered_failure
(self, pytester: Pytester)
testing/test_cacheprovider.py:610
Function
test_xfail_test_setup_exception
(pytester: Pytester)
testing/test_skipping.py:1201
Method
test_xfail_using_platform
Verify that platform can be used with xfail statements.
testing/test_skipping.py:323
Method
test_xfail_with_arg
(self, pytester: Pytester)
testing/python/metafunc.py:1678
Method
test_xfail_with_arg_and_kwarg
(self, pytester: Pytester)
testing/python/metafunc.py:1710
Method
test_xfail_with_kwarg
(self, pytester: Pytester)
testing/python/metafunc.py:1694
Method
test_xfail_xpass
(self, pytester: Pytester)
testing/test_skipping.py:468
Method
test_xfail_xpassed
(self, pytester: Pytester)
testing/test_skipping.py:308
Method
test_xfail_xpassed_strict
(self, pytester: Pytester)
testing/test_skipping.py:338
Method
test_xfailure_function
( self, pytester: Pytester, run_and_parse: RunAndParse, xunit_family: str )
testing/test_junitxml.py:640
Method
test_xfailure_marker
( self, pytester: Pytester, run_and_parse: RunAndParse, xunit_family: str )
testing/test_junitxml.py:660
Method
test_xfailure_xpass
( self, pytester: Pytester, run_and_parse: RunAndParse, xunit_family: str )
testing/test_junitxml.py:712
Method
test_xfailure_xpass_strict
( self, pytester: Pytester, run_and_parse: RunAndParse, xunit_family: str )
testing/test_junitxml.py:731
Function
test_xpassed_with_strict_is_considered_a_failure
(pytester: Pytester)
testing/test_pytester.py:152
Function
test_yield_fixture_is_deprecated
()
testing/deprecated_test.py:123
Function
test_yield_fixture_with_no_value
(pytester: Pytester)
testing/python/fixtures.py:4457
Method
test_yields_more_than_one
(self, pytester: Pytester)
testing/python/fixtures.py:3722
Method
test_z1_unpack_error
(self)
doc/en/example/assertion/failure_demo.py:215
Method
test_z2_type_error
(self)
doc/en/example/assertion/failure_demo.py:219
Method
test_zero_tests_collected
Some plugins (testmon for example) might issue pytest_runtest_logreport without any tests being actually collected (#2971).
testing/test_terminal.py:1944
Method
test_zero_tolerance
(self)
testing/python/approx.py:353
Method
test_zipfile
(self, pytester: Pytester)
testing/test_assertrewrite.py:779
Function
test_zipimport_hook
Test package loader is being used correctly (see #1837).
testing/acceptance_test.py:962
Method
testdir
Identical to :fixture:`pytester`, and provides an instance whose methods return legacy ``LEGACY_PATH`` objects instead when applicabl
src/_pytest/legacypath.py:260
Method
text
The formatted log text.
src/_pytest/logging.py:398
Method
text
(self)
testing/test_junitxml.py:127
Method
tfunc
(match)
testing/python/raises.py:209
Function
tmp_path
Return a temporary directory path object which is unique to each test function invocation, created as a sub directory of the base temporary di
src/_pytest/tmpdir.py:198
Function
tmp_path_factory
Return a :class:`pytest.TempPathFactory` instance for the test session.
src/_pytest/tmpdir.py:183
Method
tmpdir
Temporary directory where tests are executed.
src/_pytest/legacypath.py:59
Method
tmpdir
Return a temporary directory path object which is unique to each test function invocation, created as a sub directory of the base temporary
src/_pytest/legacypath.py:303
Method
tmpdir_factory
Return a :class:`pytest.TempdirFactory` instance for the test session.
src/_pytest/legacypath.py:296
Function
tmpfile
(pytester: Pytester)
testing/test_capture.py:934
Method
to_text
(s: Union[Any, bytes])
src/_pytest/pytester.py:782
Method
tolerance
Return the tolerance for the comparison. This could be either an absolute tolerance or a relative tolerance, depending on what the us
src/_pytest/python_api.py:464
Method
toterminal
(self, tw: TerminalWriter)
src/_pytest/doctest.py:163
Method
toterminal
(self, out: TerminalWriter)
src/_pytest/reports.py:418
Method
toterminal
(self, tw: TerminalWriter)
src/_pytest/fixtures.py:882
Method
toterminal
(self, tw: TerminalWriter)
src/_pytest/_code/code.py:993
Method
toterminal
(self, tw: TerminalWriter)
src/_pytest/_code/code.py:1010
Method
toterminal
(self, tw: TerminalWriter)
src/_pytest/_code/code.py:1024
Method
toterminal
(self, tw: TerminalWriter)
src/_pytest/_code/code.py:1037
Method
toterminal
(self, tw: TerminalWriter)
src/_pytest/_code/code.py:1069
Method
toterminal
(self, tw: TerminalWriter)
src/_pytest/_code/code.py:1159
Method
toterminal
(self, tw: TerminalWriter, indent="")
src/_pytest/_code/code.py:1174
Function
tr
()
testing/test_terminal.py:1698
Method
traceback
The traceback.
src/_pytest/_code/code.py:560
Function
truncate_if_required
Truncate this assertion explanation if the given test item is eligible.
src/_pytest/assertion/truncate.py:18
Method
tw
( self, request, tmp_path: Path )
testing/io/test_terminalwriter.py:67
Function
tw_mock
Returns a mock terminal writer
testing/conftest.py:68
Function
two
(request)
testing/example_scripts/unittest/test_parametrized_fixture_error_message.py:7
Method
type
The exception class.
src/_pytest/_code/code.py:528
Method
typename
The type name of the exception.
src/_pytest/_code/code.py:552
Function
unset_tracing
()
src/_pytest/helpconfig.py:122
Method
unwritable_cache_dir
(self, pytester: Pytester)
testing/test_cacheprovider.py:48
Method
value
The exception value.
src/_pytest/_code/code.py:536
Method
verbose_testfile
(self, pytester: Pytester)
testing/test_terminal.py:963
Method
verbosity
(self)
src/_pytest/terminal.py:354
Method
visit_Assert
Return the AST statements to replace the ast.Assert instance. This rewrites the test of an assertion to provide intermediate values a
src/_pytest/assertion/rewrite.py:846
Method
visit_Attribute
(self, attr: ast.Attribute)
src/_pytest/assertion/rewrite.py:1052
Method
visit_BinOp
(self, binop: ast.BinOp)
src/_pytest/assertion/rewrite.py:1014
Method
visit_BoolOp
(self, boolop: ast.BoolOp)
src/_pytest/assertion/rewrite.py:973
Method
visit_Call
(self, call: ast.Call)
src/_pytest/assertion/rewrite.py:1022
Method
visit_Compare
(self, comp: ast.Compare)
src/_pytest/assertion/rewrite.py:1062
Method
visit_Name
(self, name: ast.Name)
src/_pytest/assertion/rewrite.py:963
Method
visit_Starred
(self, starred: ast.Starred)
src/_pytest/assertion/rewrite.py:1046
Method
visit_UnaryOp
(self, unary: ast.UnaryOp)
src/_pytest/assertion/rewrite.py:1008
Function
wallet
()
testing/plugins_integration/bdd_wallet.py:15
Method
width_of_current_line
Return an estimate of the width so far in the current line.
src/_pytest/_io/terminalwriter.py:93
Method
world
()
testing/test_monkeypatch.py:372
Function
wrap
(f)
testing/python/integration.py:86
Function
wrapped_func
(x, y, z)
testing/python/integration.py:92
Function
wrapper
(*args, **kwargs)
src/_pytest/debugging.py:322
Method
writeorg
(self, data)
src/_pytest/capture.py:303
Method
writeorg
(self, data)
src/_pytest/capture.py:319
Method
writeorg
Write to original file descriptor.
src/_pytest/capture.py:437
Function
x
()
testing/code/test_source.py:308
Method
x
()
testing/test_assertrewrite.py:397
Method
xtest_dynamic_xfail_set_during_setup
(self, pytester: Pytester)
testing/test_skipping.py:519
Method
xunit_setup_class_fixture
(cls)
src/_pytest/python.py:842
Method
xunit_setup_function_fixture
(request)
src/_pytest/python.py:581
Method
xunit_setup_method_fixture
(self, request)
src/_pytest/python.py:880
Method
xunit_setup_module_fixture
(request)
src/_pytest/python.py:552
Method
xyz
()
testing/code/test_excinfo.py:129
Function
xyzsomething
(request)
testing/example_scripts/fixtures/fill_fixtures/test_funcarg_lookupfails.py:5
← previous
next →
4,501–4,600 of 4,602, ranked by callers