MCPcopy Create free account

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

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

Methodtest_shown_by_default
Show deprecation warnings by default, even if user has customized the warnings filters (#4013).
testing/test_warnings.py:452
Methodtest_silence_unknown_key_warning
Unknown config key warnings can be silenced using filterwarnings (#7620)
testing/test_config.py:280
Methodtest_simple
(self)
doc/en/example/assertion/failure_demo.py:23
Methodtest_simple
(self, pytester: Pytester)
testing/python/fixtures.py:3629
Methodtest_simple_case
(self, pytester: Pytester)
testing/test_assertrewrite.py:1267
Methodtest_simple_doctestfile
(self, pytester: Pytester)
testing/test_doctest.py:104
Methodtest_simple_fail_second_start
(self, tmpfile: BinaryIO)
testing/test_capture.py:980
Methodtest_simple_many_check_open_files
(self, pytester: Pytester)
testing/test_capture.py:975
Methodtest_simple_mark
(self, pytester: Pytester)
testing/python/metafunc.py:1605
Methodtest_simple_multiline
(self)
doc/en/example/assertion/failure_demo.py:32
Methodtest_simple_noini
(self, tmp_path: Path, monkeypatch: MonkeyPatch)
testing/test_config.py:1323
Methodtest_simple_only_fd
(self, pytester: Pytester)
testing/test_capture.py:1201
Functiontest_simple_repr
()
testing/io/test_saferepr.py:7
Methodtest_simple_resume_suspend
(self)
testing/test_capture.py:1015
Functiontest_simple_unittest
(pytester: Pytester)
testing/test_unittest.py:11
Methodtest_simple_xfail
(self, pytester: Pytester)
testing/python/metafunc.py:1645
Methodtest_simple_xfail_single_argname
(self, pytester: Pytester)
testing/python/metafunc.py:1662
Methodtest_single_dir
(self, tmp_path: Path)
testing/test_findpaths.py:115
Methodtest_single_file
(self, tmp_path: Path)
testing/test_findpaths.py:118
Methodtest_single_line
(self)
doc/en/example/assertion/failure_demo.py:256
Functiontest_single_line_else
()
testing/code/test_source.py:496
Functiontest_single_line_finally
()
testing/code/test_source.py:501
Methodtest_single_tuple_unwraps_values
(self, pytester: Pytester)
testing/python/collect.py:335
Methodtest_skip_class
(self, pytester: Pytester)
testing/test_skipping.py:772
Methodtest_skip_contains_name_reason
( self, pytester: Pytester, run_and_parse: RunAndParse, xunit_family: str )
testing/test_junitxml.py:365
Functiontest_skip_counting_towards_summary
(tr)
testing/test_terminal.py:1859
Functiontest_skip_duplicates_by_default
Test for issue https://github.com/pytest-dev/pytest/issues/1609 (#1609) Ignore duplicate directories.
testing/python/collect.py:1363
Functiontest_skip_fails_with_msg_and_reason
(pytester: Pytester)
testing/test_skipping.py:1491
Methodtest_skip_file_by_conftest
(self, pytester: Pytester)
testing/test_session.py:159
Methodtest_skip_in_setup_function
(self, pytester: Pytester)
testing/test_runner.py:166
Methodtest_skip_no_reason
(self, pytester: Pytester)
testing/test_skipping.py:814
Functiontest_skip_not_report_default
(pytester: Pytester)
testing/test_skipping.py:951
Methodtest_skip_on_generated_funcarg_id
(self, pytester: Pytester)
testing/acceptance_test.py:315
Functiontest_skip_reasons_folding
()
testing/test_terminal.py:2221
Methodtest_skip_simple
(self)
testing/python/collect.py:1002
Functiontest_skip_test_with_unicode
(pytester: Pytester)
testing/test_nose.py:422
Functiontest_skip_using_reason_works_ok
(pytester: Pytester)
testing/test_skipping.py:1447
Methodtest_skip_with_msg_is_deprecated
(self, pytester: Pytester)
testing/deprecated_test.py:208
Methodtest_skip_with_reason
(self, pytester: Pytester)
testing/test_skipping.py:826
Methodtest_skipfunction
(self, pytester: Pytester)
testing/test_runner.py:146
Methodtest_skipif
(self, pytester: Pytester)
testing/test_skipping.py:1253
Functiontest_skipif_class
(pytester: Pytester)
testing/test_skipping.py:968
Methodtest_skipif_class
(self, pytester: Pytester)
testing/test_skipping.py:144
Methodtest_skipif_conditional
(self, pytester: Pytester)
testing/test_skipping.py:886
Methodtest_skipif_markeval_namespace
(self, pytester: Pytester)
testing/test_skipping.py:159
Methodtest_skipif_markeval_namespace_ValueError
(self, pytester: Pytester)
testing/test_skipping.py:263
Methodtest_skipif_markeval_namespace_multiple
Keys defined by ``pytest_markeval_namespace()`` in nested plugins override top-level ones.
testing/test_skipping.py:186
Methodtest_skipif_noreason
(self, pytester: Pytester)
testing/test_skipping.py:1272
Methodtest_skipif_reporting
(self, pytester: Pytester, params)
testing/test_skipping.py:901
Methodtest_skipif_reporting_multiple
( self, pytester: Pytester, marker, msg1, msg2 )
testing/test_skipping.py:930
Methodtest_skipif_using_platform
(self, pytester: Pytester)
testing/test_skipping.py:915
Functiontest_skipped_folding
(pytester: Pytester)
testing/test_skipping.py:1022
Functiontest_skipped_reasons_functional
(pytester: Pytester)
testing/test_skipping.py:985
Methodtest_skipping_wrapped_test
Issue 8796: INTERNALERROR raised when skipping a decorated DocTest through pytest_collection_modifyitems.
testing/test_doctest.py:1173
Methodtest_skips_on_false_string
(self, pytester: Pytester)
testing/test_skipping.py:790
Functiontest_sleep
()
testing/plugins_integration/pytest_trio_integration.py:7
Functiontest_sleep
()
testing/plugins_integration/pytest_anyio_integration.py:7
Functiontest_sleep
()
testing/plugins_integration/pytest_asyncio_integration.py:7
Methodtest_smoke_test
(self, path1: Path)
testing/test_pathlib.py:141
Methodtest_some_error
(self)
doc/en/example/assertion/failure_demo.py:182
Methodtest_something_async
(self)
testing/example_scripts/unittest/test_unittest_asyncio.py:12
Methodtest_something_async_fails
(self)
testing/example_scripts/unittest/test_unittest_asyncio.py:18
Functiontest_source_fallback
()
testing/code/test_source.py:312
Functiontest_source_from_function
()
testing/code/test_source.py:38
Functiontest_source_from_inner_function
()
testing/code/test_source.py:58
Functiontest_source_from_lines
()
testing/code/test_source.py:52
Functiontest_source_from_method
()
testing/code/test_source.py:43
Functiontest_source_mtime_long_long
Support modification dates after 2038 in rewritten files (#4903). pytest would crash with: fp.write(struct.pack("<ll", mtime, size))
testing/test_assertrewrite.py:1322
Functiontest_source_of_class_at_eof_without_newline
(_sys_snapshot, tmp_path: Path)
testing/code/test_source.py:289
Functiontest_source_str_function
()
testing/code/test_source.py:23
Functiontest_source_strip_multiline
()
testing/code/test_source.py:73
Functiontest_source_strips
()
testing/code/test_source.py:66
Functiontest_source_with_decorator
Test behavior with Source / Code().source with regard to decorators.
testing/code/test_source.py:469
Functiontest_spam
(spam)
testing/example_scripts/fixtures/fill_fixtures/test_extend_fixture_conftest_conftest/pkg/test_spam.py:1
Functiontest_spam
(spam)
testing/example_scripts/fixtures/fill_fixtures/test_extend_fixture_conftest_module/test_extend_fixture_conftest_module.py:9
Methodtest_spam
(self, spam)
testing/example_scripts/fixtures/fill_fixtures/test_extend_fixture_module_class.py:14
Functiontest_spawn_uses_tmphome
(pytester: Pytester)
testing/test_pytester.py:718
Methodtest_special_chars_full
(self, pytester: Pytester)
testing/test_assertion.py:1050
Methodtest_starred_with_side_effect
See #4412
testing/test_assertrewrite.py:518
Methodtest_startswith
(self)
doc/en/example/assertion/failure_demo.py:223
Methodtest_startswith_nested
(self)
doc/en/example/assertion/failure_demo.py:228
Functiontest_stash
()
testing/test_stash.py:6
Methodtest_static_method
Support for collecting staticmethod tests (#2528, #2699)
testing/python/collect.py:188
Methodtest_std_functional
(self, pytester: Pytester, opt)
testing/test_capture.py:433
Methodtest_stdcapture_fd_invalid_fd
(self, pytester: Pytester)
testing/test_capture.py:1242
Methodtest_stderr
(self)
testing/test_capture.py:986
Functiontest_stderr_write_returns_len
Write on Encoded files, namely captured stderr, should return number of characters written.
testing/test_capture.py:1615
Methodtest_stdfd_functional
(self, pytester: Pytester)
testing/test_capture.py:516
Methodtest_stdin
(self)
testing/test_capture.py:994
Methodtest_stdin_nulled_by_default
(self)
testing/test_capture.py:1173
Methodtest_stdin_restored
(self)
testing/test_capture.py:1166
Functiontest_stepwise_output_summary
(pytester: Pytester)
testing/test_stepwise.py:97
Functiontest_stepwise_skip_is_independent
(pytester: Pytester)
testing/test_stepwise.py:253
Functiontest_stop_on_collection_errors
Stop during collection errors. Broken test first or broken test last actually surfaced a bug (#5444), so we test both situations.
testing/test_stepwise.py:189
Functiontest_store_except_info_on_error
Test that upon test failure, the exception info is stored on sys.last_traceback and friends.
testing/test_runner.py:880
Methodtest_strict_and_skip
(self, pytester: Pytester)
testing/test_skipping.py:855
Functiontest_strict_option_is_deprecated
--strict is a deprecated alias to --strict-markers (#7530).
testing/deprecated_test.py:104
Functiontest_strict_prohibits_unregistered_markers
( pytester: Pytester, option_name: str )
testing/test_mark.py:186
Methodtest_strict_sanity
Sanity check for xfail(strict=True): a failing test should behave exactly like a normal xfail.
testing/test_skipping.py:613
Methodtest_strict_xfail
(self, pytester: Pytester, strict: bool)
testing/test_skipping.py:629
← previousnext →4,101–4,200 of 4,602, ranked by callers