MCPcopy Create free account

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

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

Methodtest_no_carry_over
(self, pytester: Pytester)
testing/test_capture.py:205
Functiontest_no_conftest
(pytester: Pytester)
testing/test_conftest.py:355
Methodtest_no_funcargs
(self)
testing/python/metafunc.py:53
Methodtest_no_header
(self, pytester: Pytester)
testing/test_terminal.py:894
Methodtest_no_header_trailer_info
( self, monkeypatch: MonkeyPatch, pytester: Pytester, request )
testing/test_terminal.py:818
Methodtest_no_help_by_default
(self)
testing/test_parseopt.py:21
Functiontest_no_ini
If no ini file, test should error.
testing/test_pythonpath.py:74
Functiontest_no_items_should_not_show_output
(pytester: Pytester)
testing/python/show_fixtures_per_test.py:4
Methodtest_no_magic_values
Make sure the tests do not match on magic values, no double underscored values, like '__dict__' and '+'.
testing/test_mark.py:876
Methodtest_no_marker
(self, pytester: Pytester)
testing/test_skipping.py:13
Methodtest_no_marker_match_on_unmarked_names
(self, pytester: Pytester)
testing/test_mark.py:625
Methodtest_no_match_directories_outside_the_suite
`-k` should not match against directories containing the test suite (#7040).
testing/test_mark.py:893
Functiontest_no_maxsize
()
testing/io/test_saferepr.py:19
Methodtest_no_meta_path_found
Even without any meta_path should still import module.
testing/test_pathlib.py:297
Methodtest_no_raise_message
(self)
testing/python/raises.py:143
Functiontest_no_recursion_index_on_recursion_error
Ensure that we don't break in case we can't find the recursion index during a recursion error (#2486).
testing/code/test_excinfo.py:1458
Methodtest_no_req
(self, order)
doc/en/example/fixtures/test_fixtures_order_autouse_temp_effects.py:27
Methodtest_no_req
(self, order)
doc/en/example/fixtures/test_fixtures_order_autouse_temp_effects.py:35
Methodtest_no_skip_summary_if_failure
(self, pytester: Pytester)
testing/test_terminal.py:754
Methodtest_no_summary
(self, pytester: Pytester)
testing/test_terminal.py:914
Functiontest_no_summary_collecterror
(pytester: Pytester)
testing/test_terminal.py:2354
Functiontest_no_teardown_if_setupclass_failed
(pytester: Pytester)
testing/test_unittest.py:892
Functiontest_no_terminal_discovery_error
(pytester: Pytester)
testing/test_config.py:1251
Methodtest_no_under
(self, pytester: Pytester)
testing/test_collection.py:801
Functiontest_no_warnings
(module: str)
testing/test_meta.py:25
Methodtest_noargfixturedec
(self, pytester: Pytester)
testing/python/fixtures.py:1180
Methodtest_noclass
(self)
testing/python/raises.py:130
Methodtest_noclass_discovery_if_not_testcase
(self, pytester: Pytester)
testing/acceptance_test.py:795
Functiontest_node_ctor_fspath_argument_is_deprecated
(pytester: Pytester)
testing/deprecated_test.py:282
Functiontest_node_direct_construction_deprecated
()
testing/test_nodes.py:44
Functiontest_node_from_parent_disallowed_arguments
()
testing/test_nodes.py:37
Functiontest_node_warn_is_no_longer_only_pytest_warnings
( pytester: Pytester, warn_type: Type[Warning], msg: str )
testing/test_nodes.py:90
Functiontest_node_warning_enforces_warning_types
(pytester: Pytester)
testing/test_nodes.py:103
Methodtest_non_ascii_paste_text
Make sure that text which contains non-ascii characters is pasted correctly. See #1219.
testing/test_pastebin.py:64
Methodtest_non_ignored_whitespace
(self, pytester: Pytester)
testing/test_doctest.py:622
Methodtest_non_ignored_whitespace_glob
(self, pytester: Pytester)
testing/test_doctest.py:660
Methodtest_non_relative_path
(self, pytester: Pytester)
testing/python/fixtures.py:3845
Methodtest_non_serializable_parametrize
Test that failed parametrized tests with unmarshable parameters don't break pytest-cache.
testing/test_cacheprovider.py:405
Functiontest_non_string_warning_argument
Non-str argument passed to warning breaks pytest (#2956)
testing/test_warnings.py:211
Functiontest_non_unittest_no_setupclass_support
(pytester: Pytester)
testing/test_unittest.py:866
Methodtest_nonascii_text
:issue: 877 non ascii python2 str caused a UnicodeDecodeError
testing/test_assertion.py:770
Functiontest_none_help_param_raises_exception
Test that a None help param raises a TypeError.
testing/test_helpconfig.py:48
Methodtest_none_of_multiple_warns
(self)
testing/test_recwarn.py:389
Methodtest_nonnumeric_dict_repr
Dicts with non-numerics and infinites have no tolerances
testing/python/approx.py:814
Methodtest_nonnumeric_false_if_unequal
For nonnumeric types, x != pytest.approx(y) reduces to x != y
testing/python/approx.py:799
Methodtest_nonnumeric_list_repr
Lists with non-numerics and infinites have no tolerances
testing/python/approx.py:822
Methodtest_nonnumeric_okay_if_equal
(self, x)
testing/python/approx.py:788
Methodtest_normal
(self, many_tests_files, pytester: Pytester)
testing/test_terminal.py:1962
Functiontest_normal_flow
Check that the warnings section is displayed.
testing/test_warnings.py:42
Methodtest_normal_verbosity
(self, pytester: Pytester, test_files)
testing/test_terminal.py:1894
Functiontest_nose_setup
(pytester: Pytester)
testing/test_nose.py:9
Functiontest_nose_setup_func
(pytester: Pytester)
testing/test_nose.py:53
Functiontest_nose_setup_func_failure
(pytester: Pytester)
testing/test_nose.py:83
Functiontest_nose_setup_func_failure_2
(pytester: Pytester)
testing/test_nose.py:107
Functiontest_nose_setup_ordering
(pytester: Pytester)
testing/test_nose.py:266
Functiontest_nose_setup_partial
(pytester: Pytester)
testing/test_nose.py:126
Functiontest_nose_setup_skipped_if_non_callable
Regression test for #9391.
testing/test_nose.py:482
Functiontest_nose_style_setup_teardown
(pytester: Pytester)
testing/test_nose.py:200
Methodtest_noself_in_method
(self, pytester: Pytester)
testing/python/metafunc.py:1049
Methodtest_not
(self)
doc/en/example/assertion/failure_demo.py:35
Methodtest_not_collectable_arguments
(self, pytester: Pytester)
testing/acceptance_test.py:182
Methodtest_not_in_text_multiline
(self)
doc/en/example/assertion/failure_demo.py:82
Methodtest_not_in_text_single
(self)
doc/en/example/assertion/failure_demo.py:86
Methodtest_not_in_text_single_long
(self)
doc/en/example/assertion/failure_demo.py:90
Methodtest_not_in_text_single_long_term
(self)
doc/en/example/assertion/failure_demo.py:94
Methodtest_not_matching
(self, pattern: str, path: str)
testing/test_pathlib.py:75
Methodtest_not_raise_exception_with_mixed_encoding
(self, tw_mock)
testing/code/test_code.py:186
Methodtest_nothing
(self, tmp_path: Path, monkeypatch: MonkeyPatch)
testing/test_config.py:1384
Functiontest_nothing_logged
(pytester: Pytester)
testing/logging/test_reporting.py:14
Functiontest_notify_exception
(pytester: Pytester, capfd)
testing/test_config.py:1226
Methodtest_notset_idval
Test that a NOTSET value (used by an empty parameterset) generates a proper ID. Regression test for #7686.
testing/python/metafunc.py:368
Functiontest_nottest_class_decorator
(pytester: Pytester)
testing/test_nose.py:406
Functiontest_nottest_function_decorator
(pytester: Pytester)
testing/test_nose.py:377
Functiontest_nullbyte
(pytester: Pytester, junit_logging: str)
testing/test_junitxml.py:1005
Functiontest_nullbyte_replace
(pytester: Pytester, junit_logging: str)
testing/test_junitxml.py:1027
Methodtest_number_and_allow_unicode
(self, pytester: Pytester)
testing/test_doctest.py:1078
Methodtest_number_non_matches
(self, pytester, expression, output)
testing/test_doctest.py:1066
Methodtest_number_precision
Test the NUMBER option.
testing/test_doctest.py:972
Methodtest_number_re
(self)
testing/test_doctest.py:941
Methodtest_numpy_array
(self)
testing/python/approx.py:618
Methodtest_numpy_array_protocol
array-like objects such as tensorflow's DeviceArray are handled like ndarray. See issue #8132
testing/python/approx.py:707
Methodtest_numpy_array_with_scalar
(self)
testing/python/approx.py:841
Methodtest_numpy_array_wrong_shape
(self)
testing/python/approx.py:698
Methodtest_numpy_expecting_inf
(self)
testing/python/approx.py:684
Methodtest_numpy_expecting_nan
(self)
testing/python/approx.py:666
Methodtest_numpy_scalar_with_array
(self)
testing/python/approx.py:852
Methodtest_numpy_tolerance_args
Check that numpy rel/abs args are handled correctly for comparison against an np.array Check both sides of the operator, hope
testing/python/approx.py:636
Methodtest_ok
(self)
testing/example_scripts/unittest/test_unittest_asynctest.py:19
Methodtest_on_rm_rf_error
(self, tmp_path: Path)
testing/test_tmpdir.py:360
Functiontest_one
(fix2)
testing/example_scripts/issue_519.py:48
Functiontest_one_dir
(pytester: Pytester, file_structure)
testing/test_pythonpath.py:50
Methodtest_one_from_multiple_warns
(self)
testing/test_recwarn.py:383
Methodtest_one_repr_empty
The faulty empty string repr did trigger an unbound local error in _diff_text.
testing/test_assertion.py:748
Methodtest_one_skipped
(self, pytester, makedoctest)
testing/test_doctest.py:1109
Methodtest_one_skipped_failed
(self, pytester, makedoctest)
testing/test_doctest.py:1121
Functiontest_oneline
()
testing/code/test_source.py:407
Functiontest_oneline_and_comment
()
testing/code/test_source.py:426
Methodtest_only_skips_marked_test
(self, pytester: Pytester)
testing/test_skipping.py:838
Methodtest_operator_overloading
(self)
testing/python/approx.py:328
Methodtest_opposite_sign
(self)
testing/python/approx.py:348
← previousnext →3,401–3,500 of 4,602, ranked by callers