MCPcopy Create free account

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

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

Methodtest_attrs_recursive_verbose
(self)
testing/test_assertion.py:941
Methodtest_attrs_verbose
(self)
testing/test_assertion.py:960
Methodtest_attrs_with_attribute_comparison_off
(self)
testing/test_assertion.py:975
Methodtest_auto_use_request_attributes
Check that all attributes of a request in an autouse fixture behave as expected when requested for a doctest item.
testing/test_doctest.py:1320
Methodtest_autouse_conftest_mid_directory
(self, pytester: Pytester)
testing/python/fixtures.py:1935
Methodtest_autouse_fixture
( self, pytester: Pytester, recwarn )
testing/python/integration.py:45
Methodtest_autouse_fixture_plugin
(self, pytester: Pytester)
testing/python/fixtures.py:561
Methodtest_autouse_in_conftests
(self, pytester: Pytester)
testing/python/fixtures.py:1887
Methodtest_autouse_in_module_and_two_classes
(self, pytester: Pytester)
testing/python/fixtures.py:1908
Methodtest_avoid_double_stdout
( self, pytester: Pytester, run_and_parse: RunAndParse, junit_logging: str )
testing/test_junitxml.py:906
Methodtest_b
(self, path1: Path)
testing/test_pathlib.py:189
Functiontest_backslash_not_treated_specially
r"""When generating nodeids, if the source name contains special characters like a newline, they are escaped into two characters like \n. Therefor
testing/test_mark_expression.py:69
Methodtest_bad_getsource
(self)
testing/code/test_code.py:145
Functiontest_bar
(i)
testing/plugins_integration/simple_integration.py:9
Functiontest_bar
(i)
testing/example_scripts/warnings/test_group_warnings_by_message.py:20
Functiontest_bar
(i)
testing/example_scripts/warnings/test_group_warnings_by_message_summary/test_1.py:20
Functiontest_baseexception
Test saferepr() with BaseExceptions, which includes pytest outcomes.
testing/io/test_saferepr.py:67
Functiontest_basetemp_with_read_only_files
Integration test for #5524
testing/test_tmpdir.py:410
Functiontest_basic
(expr: str, expected: bool)
testing/test_mark_expression.py:48
Methodtest_basic
Ensure we avoid calling PathFinder.find_spec when we know for sure a certain module will not be rewritten to optimize assertion rewri
testing/test_assertrewrite.py:1409
Methodtest_basic_behavior
(self, _sys_snapshot)
testing/test_config.py:837
Methodtest_basic_init
(self, basedir: Path)
testing/test_conftest.py:57
Functiontest_basic_objects
(python1, python2, obj)
doc/en/example/multipython.py:70
Methodtest_basic_testitem_events
(self, pytester: Pytester)
testing/test_session.py:8
Functiontest_bestrelpath
()
testing/test_pathlib.py:404
Methodtest_better_reporting_on_conftest_load_failure
Show a user-friendly traceback on conftest import failures (#486, #3332)
testing/acceptance_test.py:196
Functiontest_big_repr
()
testing/io/test_saferepr.py:141
Methodtest_binary_op
(self)
testing/test_assertrewrite.py:480
Methodtest_blocked_plugin_can_be_used
(self, pytestpm: PytestPluginManager)
testing/test_pluginmanager.py:422
Methodtest_body
(self)
testing/code/test_source.py:539
Methodtest_body
(self)
testing/code/test_source.py:565
Methodtest_body
(self)
testing/code/test_source.py:585
Methodtest_bool
(self)
testing/python/approx.py:322
Methodtest_boolop
(self)
testing/test_assertrewrite.py:364
Methodtest_boolop_percent
(self)
testing/test_assertrewrite.py:493
Functiontest_broken_getattribute
saferepr() can create proper representations of classes with broken __getattribute__ (#7145)
testing/io/test_saferepr.py:167
Methodtest_broken_repr
(self, pytester: Pytester)
testing/test_session.py:103
Methodtest_broken_repr_with_showlocals_verbose
(self, pytester: Pytester)
testing/test_session.py:135
Functiontest_buggy_builtin_repr
()
testing/io/test_saferepr.py:130
Methodtest_bytes_diff_normal
Check special handling for bytes diff (#5260)
testing/test_assertion.py:372
Methodtest_bytes_diff_verbose
Check special handling for bytes diff (#5260)
testing/test_assertion.py:382
Methodtest_bytes_idval
Unit test for the expected behavior to obtain ids for parametrized bytes values: bytes objects are always escaped using "binary escape".
testing/python/metafunc.py:342
Methodtest_bytes_literal
Test that doctests which output bytes fail in Python 3 when the ALLOW_BYTES option is not used. (#1287).
testing/test_doctest.py:928
Methodtest_c
(self, path1: Path)
testing/test_pathlib.py:195
Methodtest_cache_cumulative
Test workflow where user fixes errors gradually file by file using --lf.
testing/test_cacheprovider.py:678
Methodtest_cache_failure_warns
( self, pytester: Pytester, monkeypatch: MonkeyPatch, unwritable_cache_dir: Pa
testing/test_cacheprovider.py:72
Functiontest_cache_makedir
(cache: pytest.Cache)
testing/test_legacypath.py:84
Functiontest_cache_reportheader
(env, pytester: Pytester, monkeypatch: MonkeyPatch)
testing/test_cacheprovider.py:180
Functiontest_cache_reportheader_external_abspath
( pytester: Pytester, tmp_path_factory: TempPathFactory )
testing/test_cacheprovider.py:192
Functiontest_cache_show
(pytester: Pytester)
testing/test_cacheprovider.py:212
Methodtest_cache_writefail_cachfile_silent
(self, pytester: Pytester)
testing/test_cacheprovider.py:39
Methodtest_cache_writefail_permissions
( self, unwritable_cache_dir: Path, pytester: Pytester )
testing/test_cacheprovider.py:62
Functiontest_cached_property
()
testing/test_compat.py:194
Methodtest_cached_pyc_includes_pytest_version
Avoid stale caches (#1671)
testing/test_assertrewrite.py:885
Functiontest_cachedir_tag
Ensure we automatically create CACHEDIR.TAG file in the pytest_cache directory (#4278).
testing/test_cacheprovider.py:1242
Methodtest_cachefuncarg
(self, pytester: Pytester)
testing/test_cacheprovider.py:114
Methodtest_cafd_preserves_newlines
(self, capfd, nl)
testing/test_capture.py:530
Methodtest_call
(self)
testing/test_assertrewrite.py:530
Methodtest_call_failure_teardown_error
( self, pytester: Pytester, run_and_parse: RunAndParse, xunit_family: str )
testing/test_junitxml.py:334
Functiontest_call_fixture_function_error
Check if an error is raised if a fixture function is called directly (#4545)
testing/python/fixtures.py:4286
Methodtest_call_from_fixture
(self, pytester: Pytester)
testing/python/fixtures.py:3758
Methodtest_call_from_test
(self, pytester: Pytester)
testing/python/fixtures.py:3788
Methodtest_callables_nocode
An imported mock.call would break setup/factory discovery due to it being callable and __code__ not being a code object.
testing/python/fixtures.py:1870
Functiontest_callinfo
()
testing/test_runner.py:476
Methodtest_calls
(self, pytester: Pytester, mock_timing)
testing/acceptance_test.py:862
Methodtest_calls_show_2
(self, pytester: Pytester, mock_timing)
testing/acceptance_test.py:875
Methodtest_calls_showall
(self, pytester: Pytester, mock_timing)
testing/acceptance_test.py:884
Methodtest_calls_showall_verbose
(self, pytester: Pytester, mock_timing)
testing/acceptance_test.py:898
Methodtest_can_capture_previously_warned
(self)
testing/test_recwarn.py:396
Methodtest_can_skip_class_with_test_attr
Assure test class is skipped when using `__test__=False` (See #2007).
testing/test_collection.py:115
Functiontest_cancel_timeout_on_hook
Make sure that we are cancelling any scheduled traceback dumping due to timeout before entering pdb (pytest-dev/pytest-faulthandler#12) or any
testing/test_faulthandler.py:111
Methodtest_canonical_import
(self, monkeypatch)
testing/test_pluginmanager.py:228
Methodtest_capfd_sys_stdout_mode
(self, capfd)
testing/test_capture.py:1049
Methodtest_capfdbinary
(self, pytester: Pytester)
testing/test_capture.py:535
Functiontest_caplog_can_override_global_log_level
(pytester: Pytester)
testing/logging/test_fixture.py:202
Functiontest_caplog_captures_despite_exception
(pytester: Pytester)
testing/logging/test_fixture.py:241
Functiontest_caplog_captures_for_all_stages
(caplog, logging_during_setup_and_teardown)
testing/logging/test_fixture.py:163
Functiontest_capsys_results_accessible_by_attribute
(capsys: CaptureFixture[str])
testing/test_capture.py:1333
Methodtest_capsysbinary
(self, pytester: Pytester)
testing/test_capture.py:549
Methodtest_capsyscapfd
(self, pytester: Pytester)
testing/test_capture.py:445
Methodtest_capsyscapfdbinary
(self, pytester: Pytester)
testing/test_capture.py:488
Methodtest_capture_and_fixtures
(self, pytester: Pytester)
testing/test_capture.py:151
Methodtest_capture_and_logging
#14
testing/test_capture.py:608
Functiontest_capture_badoutput_issue412
(pytester: Pytester)
testing/test_capture.py:773
Functiontest_capture_binary_output
(pytester: Pytester)
testing/test_capture.py:808
Functiontest_capture_conftest_runtest_setup
(pytester: Pytester)
testing/test_capture.py:760
Functiontest_capture_early_option_parsing
(pytester: Pytester)
testing/test_capture.py:795
Methodtest_capture_is_represented_on_failure_issue128
( self, pytester: Pytester, method )
testing/test_capture.py:501
Methodtest_capture_no
(self, many_tests_files, pytester: Pytester)
testing/test_terminal.py:2118
Functiontest_capture_not_started_but_reset
()
testing/test_capture.py:1317
Methodtest_capture_results_accessible_by_attribute
(self)
testing/test_capture.py:1102
Methodtest_capture_scope_cache
(self, pytester: Pytester)
testing/test_capture.py:178
Functiontest_capture_with_live_logging
( pytester: Pytester, capture_fixture: CaptureFixture[str] )
testing/test_capture.py:1561
Methodtest_captured_text
(self, pytester: Pytester)
testing/test_runner.py:996
Functiontest_captureresult
()
testing/test_capture.py:903
Functiontest_capturing
(pytester: Pytester)
testing/test_setuponly.py:237
Functiontest_capturing_and_logging_fundamentals
(pytester: Pytester, method: str)
testing/test_capture.py:1378
Methodtest_capturing_basic_api
(self, method)
testing/test_capture.py:60
Functiontest_capturing_bytes_in_utf8_encoding
(pytester: Pytester, method: str)
testing/test_capture.py:118
Methodtest_capturing_done_simple
(self)
testing/test_capture.py:1075
← previousnext →2,201–2,300 of 4,602, ranked by callers