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
Method
test_shown_by_default
Show deprecation warnings by default, even if user has customized the warnings filters (#4013).
testing/test_warnings.py:452
Method
test_silence_unknown_key_warning
Unknown config key warnings can be silenced using filterwarnings (#7620)
testing/test_config.py:280
Method
test_simple
(self)
doc/en/example/assertion/failure_demo.py:23
Method
test_simple
(self, pytester: Pytester)
testing/python/fixtures.py:3629
Method
test_simple_case
(self, pytester: Pytester)
testing/test_assertrewrite.py:1267
Method
test_simple_doctestfile
(self, pytester: Pytester)
testing/test_doctest.py:104
Method
test_simple_fail_second_start
(self, tmpfile: BinaryIO)
testing/test_capture.py:980
Method
test_simple_many_check_open_files
(self, pytester: Pytester)
testing/test_capture.py:975
Method
test_simple_mark
(self, pytester: Pytester)
testing/python/metafunc.py:1605
Method
test_simple_multiline
(self)
doc/en/example/assertion/failure_demo.py:32
Method
test_simple_noini
(self, tmp_path: Path, monkeypatch: MonkeyPatch)
testing/test_config.py:1323
Method
test_simple_only_fd
(self, pytester: Pytester)
testing/test_capture.py:1201
Function
test_simple_repr
()
testing/io/test_saferepr.py:7
Method
test_simple_resume_suspend
(self)
testing/test_capture.py:1015
Function
test_simple_unittest
(pytester: Pytester)
testing/test_unittest.py:11
Method
test_simple_xfail
(self, pytester: Pytester)
testing/python/metafunc.py:1645
Method
test_simple_xfail_single_argname
(self, pytester: Pytester)
testing/python/metafunc.py:1662
Method
test_single_dir
(self, tmp_path: Path)
testing/test_findpaths.py:115
Method
test_single_file
(self, tmp_path: Path)
testing/test_findpaths.py:118
Method
test_single_line
(self)
doc/en/example/assertion/failure_demo.py:256
Function
test_single_line_else
()
testing/code/test_source.py:496
Function
test_single_line_finally
()
testing/code/test_source.py:501
Method
test_single_tuple_unwraps_values
(self, pytester: Pytester)
testing/python/collect.py:335
Method
test_skip_class
(self, pytester: Pytester)
testing/test_skipping.py:772
Method
test_skip_contains_name_reason
( self, pytester: Pytester, run_and_parse: RunAndParse, xunit_family: str )
testing/test_junitxml.py:365
Function
test_skip_counting_towards_summary
(tr)
testing/test_terminal.py:1859
Function
test_skip_duplicates_by_default
Test for issue https://github.com/pytest-dev/pytest/issues/1609 (#1609) Ignore duplicate directories.
testing/python/collect.py:1363
Function
test_skip_fails_with_msg_and_reason
(pytester: Pytester)
testing/test_skipping.py:1491
Method
test_skip_file_by_conftest
(self, pytester: Pytester)
testing/test_session.py:159
Method
test_skip_in_setup_function
(self, pytester: Pytester)
testing/test_runner.py:166
Method
test_skip_no_reason
(self, pytester: Pytester)
testing/test_skipping.py:814
Function
test_skip_not_report_default
(pytester: Pytester)
testing/test_skipping.py:951
Method
test_skip_on_generated_funcarg_id
(self, pytester: Pytester)
testing/acceptance_test.py:315
Function
test_skip_reasons_folding
()
testing/test_terminal.py:2221
Method
test_skip_simple
(self)
testing/python/collect.py:1002
Function
test_skip_test_with_unicode
(pytester: Pytester)
testing/test_nose.py:422
Function
test_skip_using_reason_works_ok
(pytester: Pytester)
testing/test_skipping.py:1447
Method
test_skip_with_msg_is_deprecated
(self, pytester: Pytester)
testing/deprecated_test.py:208
Method
test_skip_with_reason
(self, pytester: Pytester)
testing/test_skipping.py:826
Method
test_skipfunction
(self, pytester: Pytester)
testing/test_runner.py:146
Method
test_skipif
(self, pytester: Pytester)
testing/test_skipping.py:1253
Function
test_skipif_class
(pytester: Pytester)
testing/test_skipping.py:968
Method
test_skipif_class
(self, pytester: Pytester)
testing/test_skipping.py:144
Method
test_skipif_conditional
(self, pytester: Pytester)
testing/test_skipping.py:886
Method
test_skipif_markeval_namespace
(self, pytester: Pytester)
testing/test_skipping.py:159
Method
test_skipif_markeval_namespace_ValueError
(self, pytester: Pytester)
testing/test_skipping.py:263
Method
test_skipif_markeval_namespace_multiple
Keys defined by ``pytest_markeval_namespace()`` in nested plugins override top-level ones.
testing/test_skipping.py:186
Method
test_skipif_noreason
(self, pytester: Pytester)
testing/test_skipping.py:1272
Method
test_skipif_reporting
(self, pytester: Pytester, params)
testing/test_skipping.py:901
Method
test_skipif_reporting_multiple
( self, pytester: Pytester, marker, msg1, msg2 )
testing/test_skipping.py:930
Method
test_skipif_using_platform
(self, pytester: Pytester)
testing/test_skipping.py:915
Function
test_skipped_folding
(pytester: Pytester)
testing/test_skipping.py:1022
Function
test_skipped_reasons_functional
(pytester: Pytester)
testing/test_skipping.py:985
Method
test_skipping_wrapped_test
Issue 8796: INTERNALERROR raised when skipping a decorated DocTest through pytest_collection_modifyitems.
testing/test_doctest.py:1173
Method
test_skips_on_false_string
(self, pytester: Pytester)
testing/test_skipping.py:790
Function
test_sleep
()
testing/plugins_integration/pytest_trio_integration.py:7
Function
test_sleep
()
testing/plugins_integration/pytest_anyio_integration.py:7
Function
test_sleep
()
testing/plugins_integration/pytest_asyncio_integration.py:7
Method
test_smoke_test
(self, path1: Path)
testing/test_pathlib.py:141
Method
test_some_error
(self)
doc/en/example/assertion/failure_demo.py:182
Method
test_something_async
(self)
testing/example_scripts/unittest/test_unittest_asyncio.py:12
Method
test_something_async_fails
(self)
testing/example_scripts/unittest/test_unittest_asyncio.py:18
Function
test_source_fallback
()
testing/code/test_source.py:312
Function
test_source_from_function
()
testing/code/test_source.py:38
Function
test_source_from_inner_function
()
testing/code/test_source.py:58
Function
test_source_from_lines
()
testing/code/test_source.py:52
Function
test_source_from_method
()
testing/code/test_source.py:43
Function
test_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
Function
test_source_of_class_at_eof_without_newline
(_sys_snapshot, tmp_path: Path)
testing/code/test_source.py:289
Function
test_source_str_function
()
testing/code/test_source.py:23
Function
test_source_strip_multiline
()
testing/code/test_source.py:73
Function
test_source_strips
()
testing/code/test_source.py:66
Function
test_source_with_decorator
Test behavior with Source / Code().source with regard to decorators.
testing/code/test_source.py:469
Function
test_spam
(spam)
testing/example_scripts/fixtures/fill_fixtures/test_extend_fixture_conftest_conftest/pkg/test_spam.py:1
Function
test_spam
(spam)
testing/example_scripts/fixtures/fill_fixtures/test_extend_fixture_conftest_module/test_extend_fixture_conftest_module.py:9
Method
test_spam
(self, spam)
testing/example_scripts/fixtures/fill_fixtures/test_extend_fixture_module_class.py:14
Function
test_spawn_uses_tmphome
(pytester: Pytester)
testing/test_pytester.py:718
Method
test_special_chars_full
(self, pytester: Pytester)
testing/test_assertion.py:1050
Method
test_starred_with_side_effect
See #4412
testing/test_assertrewrite.py:518
Method
test_startswith
(self)
doc/en/example/assertion/failure_demo.py:223
Method
test_startswith_nested
(self)
doc/en/example/assertion/failure_demo.py:228
Function
test_stash
()
testing/test_stash.py:6
Method
test_static_method
Support for collecting staticmethod tests (#2528, #2699)
testing/python/collect.py:188
Method
test_std_functional
(self, pytester: Pytester, opt)
testing/test_capture.py:433
Method
test_stdcapture_fd_invalid_fd
(self, pytester: Pytester)
testing/test_capture.py:1242
Method
test_stderr
(self)
testing/test_capture.py:986
Function
test_stderr_write_returns_len
Write on Encoded files, namely captured stderr, should return number of characters written.
testing/test_capture.py:1615
Method
test_stdfd_functional
(self, pytester: Pytester)
testing/test_capture.py:516
Method
test_stdin
(self)
testing/test_capture.py:994
Method
test_stdin_nulled_by_default
(self)
testing/test_capture.py:1173
Method
test_stdin_restored
(self)
testing/test_capture.py:1166
Function
test_stepwise_output_summary
(pytester: Pytester)
testing/test_stepwise.py:97
Function
test_stepwise_skip_is_independent
(pytester: Pytester)
testing/test_stepwise.py:253
Function
test_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
Function
test_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
Method
test_strict_and_skip
(self, pytester: Pytester)
testing/test_skipping.py:855
Function
test_strict_option_is_deprecated
--strict is a deprecated alias to --strict-markers (#7530).
testing/deprecated_test.py:104
Function
test_strict_prohibits_unregistered_markers
( pytester: Pytester, option_name: str )
testing/test_mark.py:186
Method
test_strict_sanity
Sanity check for xfail(strict=True): a failing test should behave exactly like a normal xfail.
testing/test_skipping.py:613
Method
test_strict_xfail
(self, pytester: Pytester, strict: bool)
testing/test_skipping.py:629
← previous
next →
4,101–4,200 of 4,602, ranked by callers