MCPcopy Create free account

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

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

Functiontest_unittest_setup_interaction
(pytester: Pytester, stmt: str)
testing/test_unittest.py:834
Functiontest_unittest_skip_issue1169
(pytester: Pytester)
testing/test_unittest.py:993
Functiontest_unittest_skip_issue148
(pytester: Pytester)
testing/test_unittest.py:216
Functiontest_unittest_typerror_traceback
(pytester: Pytester)
testing/test_unittest.py:760
Methodtest_unknown_attr
(self, monkeypatch: MonkeyPatch)
testing/test_monkeypatch.py:77
Methodtest_unknown_attr_non_raising
(self, monkeypatch: MonkeyPatch)
testing/test_monkeypatch.py:81
Methodtest_unknown_import
(self, monkeypatch: MonkeyPatch)
testing/test_monkeypatch.py:73
Methodtest_unknown_option
(self, pytester: Pytester)
testing/acceptance_test.py:433
Functiontest_unorderable_types
(pytester: Pytester)
testing/test_unittest.py:740
Functiontest_unorderable_types
(pytester: Pytester)
testing/python/collect.py:1259
Functiontest_unraisable
(pytester: Pytester)
testing/test_unraisableexception.py:12
Functiontest_unraisable_in_setup
(pytester: Pytester)
testing/test_unraisableexception.py:44
Functiontest_unraisable_in_teardown
(pytester: Pytester)
testing/test_unraisableexception.py:80
Functiontest_unraisable_warning_error
(pytester: Pytester)
testing/test_unraisableexception.py:117
Methodtest_unsupported_pytest_section_in_cfg_file
.cfg files with [pytest] section are no longer supported and should fail to alert users
testing/test_findpaths.py:48
Methodtest_update
(self)
testing/io/test_terminalwriter.py:221
Methodtest_update_with_newline
(self)
testing/io/test_terminalwriter.py:226
Methodtest_update_with_wide_text
(self)
testing/io/test_terminalwriter.py:231
Functiontest_upper
()
testing/freeze/tests/test_trivial.py:1
Functiontest_url_property
(pytester: Pytester)
testing/test_junitxml.py:1500
Functiontest_usage_error_code
(pytester: Pytester)
testing/acceptance_test.py:1148
Methodtest_usefixtures_ini
(self, pytester: Pytester)
testing/python/fixtures.py:1407
Methodtest_usefixtures_marker
(self, pytester: Pytester)
testing/python/fixtures.py:1382
Functiontest_usefixtures_marker_on_unittest
#3498
testing/test_unittest.py:1031
Methodtest_usefixtures_seen_in_generate_tests
(self, pytester: Pytester)
testing/python/metafunc.py:1354
Methodtest_usefixtures_seen_in_showmarkers
(self, pytester: Pytester)
testing/python/fixtures.py:1436
Methodtest_uses_parametrized_resource
(self, pytester: Pytester)
testing/python/fixtures.py:1991
Functiontest_using_capsys_fixture_works_with_sys_stdout_encoding
( capsys: CaptureFixture[str], )
testing/test_capture.py:1322
Methodtest_vacuous_all_skipped
(self, pytester, makedoctest)
testing/test_doctest.py:1145
Methodtest_valid_cfg_file
Custom .cfg files with [tool:pytest] section are read correctly
testing/test_findpaths.py:42
Functiontest_valid_idents
(ident: str)
testing/test_mark_expression.py:167
Methodtest_valid_setup_py
Test to make sure that pytest ignores valid setup.py files when ran with --doctest-modules
testing/test_doctest.py:797
Methodtest_valid_toml_file
.toml files with [tool.pytest.ini_options] are read correctly, including changing data types to str/list for compatibility with other configur
testing/test_findpaths.py:76
Functiontest_validate_basetemp_fails
(tmp_path, basetemp, monkeypatch)
testing/test_main.py:94
Functiontest_validate_basetemp_integration
(pytester: Pytester)
testing/test_main.py:103
Functiontest_validate_basetemp_ok
(tmp_path, basetemp, monkeypatch)
testing/test_main.py:88
Methodtest_value_access_by_path
(self, basedir: Path)
testing/test_conftest.py:93
Methodtest_value_access_not_existing
(self, basedir: Path)
testing/test_conftest.py:86
Methodtest_value_access_with_confmod
(self, basedir: Path)
testing/test_conftest.py:109
Methodtest_verbose
(self, pytester: Pytester, test_files)
testing/test_terminal.py:1905
Methodtest_verbose
(self, many_tests_files, pytester: Pytester)
testing/test_terminal.py:2040
Methodtest_verbose_count
(self, many_tests_files, pytester: Pytester)
testing/test_terminal.py:2050
Functiontest_verbose_include_multiline_docstring
(pytester: Pytester)
testing/python/show_fixtures_per_test.py:219
Functiontest_verbose_include_private_fixtures_and_loc
(pytester: Pytester)
testing/python/show_fixtures_per_test.py:122
Methodtest_verbose_reporting
(self, verbose_testfile, pytester: Pytester)
testing/test_terminal.py:981
Methodtest_verbose_reporting_xdist
( self, verbose_testfile, monkeypatch: MonkeyPatch, pytester: Pytester,
testing/test_terminal.py:995
Methodtest_verbose_skip_reason
(self, pytester: Pytester)
testing/test_terminal.py:348
Functiontest_version_less_verbose
(pytester: Pytester, pytestconfig, monkeypatch)
testing/test_helpconfig.py:15
Functiontest_version_verbose
(pytester: Pytester, pytestconfig, monkeypatch)
testing/test_helpconfig.py:6
Functiontest_versions
Regression check for the public version attributes in pytest.
testing/test_helpconfig.py:22
Functiontest_via_exec
(pytester: Pytester)
testing/test_terminal.py:2360
Functiontest_visit_ignores_errors
(tmp_path: Path)
testing/test_pathlib.py:422
Functiontest_warn_missing
(pytester: Pytester, cmdline_args, warning_output)
testing/test_assertion.py:1494
Functiontest_warn_on_async_function
(pytester: Pytester)
testing/acceptance_test.py:1154
Functiontest_warn_on_async_gen_function
(pytester: Pytester)
testing/acceptance_test.py:1187
Methodtest_warn_stacklevel
#4243
testing/test_recwarn.py:58
Functiontest_warning_captured_hook
(pytester: Pytester)
testing/test_warnings.py:242
Functiontest_warning_on_unwrap_of_broken_object
( stop: Optional[Callable[[object], object]] )
testing/test_doctest.py:1525
Methodtest_warning_tuple
(self)
testing/test_recwarn.py:240
Functiontest_warning_types
Make sure all warnings declared in _pytest.warning_types are displayed as coming from 'pytest' instead of the internal module (#5452).
testing/test_warning_types.py:16
Functiontest_warnings_checker_twice
Issue #4617
testing/test_warnings.py:574
Methodtest_warns_context_manager_with_kwargs
(self)
testing/test_recwarn.py:406
Functiontest_warns_none_is_deprecated
()
testing/deprecated_test.py:193
Functiontest_wcswidth
(s: str, expected: int)
testing/io/test_wcwidth.py:37
Functiontest_wcwidth
(c: str, expected: int)
testing/io/test_wcwidth.py:21
Methodtest_with_arg_outside_cwd_with_inifile
(self, tmp_path: Path)
testing/test_config.py:1445
Methodtest_with_arg_outside_cwd_without_inifile
( self, tmp_path: Path, monkeypatch: MonkeyPatch )
testing/test_config.py:1433
Methodtest_with_config_also_in_parent_directory
Regression test for #7807.
testing/test_config.py:1476
Methodtest_with_deselected
(self, pytester: Pytester, mock_timing)
testing/acceptance_test.py:911
Methodtest_with_existing_file_in_subdir
( self, tmp_path: Path, monkeypatch: MonkeyPatch )
testing/test_config.py:1465
Methodtest_with_failing_collection
(self, pytester: Pytester, mock_timing)
testing/acceptance_test.py:918
Methodtest_with_ini
(self, tmp_path: Path, name: str, contents: str)
testing/test_config.py:1346
Methodtest_with_non_dir_arg
( self, dirs: Sequence[str], tmp_path: Path, monkeypatch: MonkeyPatch )
testing/test_config.py:1457
Methodtest_with_not
(self, pytester: Pytester, mock_timing)
testing/acceptance_test.py:929
Methodtest_with_only_debug_writes_pytestdebug_log
(self, pytester: Pytester)
testing/test_config.py:2077
Methodtest_with_specific_inifile
( self, tmp_path: Path, name: str, contents: str )
testing/test_config.py:1402
Functiontest_with_statement
(caplog)
testing/logging/test_fixture.py:85
Methodtest_without_debug_does_not_write_log
(self, pytester: Pytester)
testing/test_config.py:2067
Functiontest_works_with_filterwarnings
Ensure our warnings capture does not mess with pre-installed filters (#2430).
testing/test_warnings.py:153
Functiontest_wrap_session_exit_sessionfinish
( returncode: Optional[int], pytester: Pytester )
testing/test_main.py:66
Functiontest_wrap_session_notify_exception
(ret_exc, pytester: Pytester)
testing/test_main.py:23
Functiontest_wrapped_getfslineno
()
testing/python/integration.py:82
Methodtest_wrapped_getfuncargnames
(self)
testing/python/integration.py:101
Methodtest_write_bytes_to_buffer
In python3, stdout / stderr are text io wrappers (exposing a buffer property of the underlying bytestream). See issue #1407
testing/test_capture.py:861
Methodtest_write_pyc
(self, pytester: Pytester, tmp_path, monkeypatch)
testing/test_assertrewrite.py:1040
Methodtest_writeline
(self, pytester: Pytester, linecomp)
testing/test_terminal.py:119
Methodtest_writeorg
(self, tmpfile: BinaryIO)
testing/test_capture.py:1001
Methodtest_wrong_skip_usage
(self, pytester: Pytester)
testing/test_skipping.py:867
Methodtest_wrong_target
(self, monkeypatch: MonkeyPatch)
testing/test_monkeypatch.py:69
Functiontest_x
()
testing/example_scripts/perf_examples/collect_stats/template_test.py:1
Methodtest_xdist_longrepr_to_str_issue_241
Regarding issue pytest-xdist#241. This test came originally from test_remote.py in xdist (ca03269).
testing/test_reports.py:14
Methodtest_xdist_normal
( self, many_tests_files, pytester: Pytester, monkeypatch )
testing/test_terminal.py:2066
Methodtest_xdist_normal
(self, many_files, pytester: Pytester, monkeypatch)
testing/test_terminal.py:2214
Methodtest_xdist_normal_count
( self, many_tests_files, pytester: Pytester, monkeypatch )
testing/test_terminal.py:2074
Methodtest_xdist_report_longrepr_reprcrash_130
Regarding issue pytest-xdist#130 This test came originally from test_remote.py in xdist (ca03269).
testing/test_reports.py:37
Methodtest_xdist_verbose
( self, many_tests_files, pytester: Pytester, monkeypatch )
testing/test_terminal.py:2088
Methodtest_xfail
(self, pytester: Pytester)
testing/test_skipping.py:1288
Methodtest_xfail_captures_output_once
( self, pytester: Pytester, junit_logging: str, run_and_parse: RunAndParse )
testing/test_junitxml.py:683
Methodtest_xfail_condition_keyword
(self, pytester: Pytester, strict: bool)
testing/test_skipping.py:672
Methodtest_xfail_evalfalse_but_fails
(self, pytester: Pytester)
testing/test_skipping.py:397
← previousnext →4,401–4,500 of 4,602, ranked by callers