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_no_carry_over
(self, pytester: Pytester)
testing/test_capture.py:205
Function
test_no_conftest
(pytester: Pytester)
testing/test_conftest.py:355
Method
test_no_funcargs
(self)
testing/python/metafunc.py:53
Method
test_no_header
(self, pytester: Pytester)
testing/test_terminal.py:894
Method
test_no_header_trailer_info
( self, monkeypatch: MonkeyPatch, pytester: Pytester, request )
testing/test_terminal.py:818
Method
test_no_help_by_default
(self)
testing/test_parseopt.py:21
Function
test_no_ini
If no ini file, test should error.
testing/test_pythonpath.py:74
Function
test_no_items_should_not_show_output
(pytester: Pytester)
testing/python/show_fixtures_per_test.py:4
Method
test_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
Method
test_no_marker
(self, pytester: Pytester)
testing/test_skipping.py:13
Method
test_no_marker_match_on_unmarked_names
(self, pytester: Pytester)
testing/test_mark.py:625
Method
test_no_match_directories_outside_the_suite
`-k` should not match against directories containing the test suite (#7040).
testing/test_mark.py:893
Function
test_no_maxsize
()
testing/io/test_saferepr.py:19
Method
test_no_meta_path_found
Even without any meta_path should still import module.
testing/test_pathlib.py:297
Method
test_no_raise_message
(self)
testing/python/raises.py:143
Function
test_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
Method
test_no_req
(self, order)
doc/en/example/fixtures/test_fixtures_order_autouse_temp_effects.py:27
Method
test_no_req
(self, order)
doc/en/example/fixtures/test_fixtures_order_autouse_temp_effects.py:35
Method
test_no_skip_summary_if_failure
(self, pytester: Pytester)
testing/test_terminal.py:754
Method
test_no_summary
(self, pytester: Pytester)
testing/test_terminal.py:914
Function
test_no_summary_collecterror
(pytester: Pytester)
testing/test_terminal.py:2354
Function
test_no_teardown_if_setupclass_failed
(pytester: Pytester)
testing/test_unittest.py:892
Function
test_no_terminal_discovery_error
(pytester: Pytester)
testing/test_config.py:1251
Method
test_no_under
(self, pytester: Pytester)
testing/test_collection.py:801
Function
test_no_warnings
(module: str)
testing/test_meta.py:25
Method
test_noargfixturedec
(self, pytester: Pytester)
testing/python/fixtures.py:1180
Method
test_noclass
(self)
testing/python/raises.py:130
Method
test_noclass_discovery_if_not_testcase
(self, pytester: Pytester)
testing/acceptance_test.py:795
Function
test_node_ctor_fspath_argument_is_deprecated
(pytester: Pytester)
testing/deprecated_test.py:282
Function
test_node_direct_construction_deprecated
()
testing/test_nodes.py:44
Function
test_node_from_parent_disallowed_arguments
()
testing/test_nodes.py:37
Function
test_node_warn_is_no_longer_only_pytest_warnings
( pytester: Pytester, warn_type: Type[Warning], msg: str )
testing/test_nodes.py:90
Function
test_node_warning_enforces_warning_types
(pytester: Pytester)
testing/test_nodes.py:103
Method
test_non_ascii_paste_text
Make sure that text which contains non-ascii characters is pasted correctly. See #1219.
testing/test_pastebin.py:64
Method
test_non_ignored_whitespace
(self, pytester: Pytester)
testing/test_doctest.py:622
Method
test_non_ignored_whitespace_glob
(self, pytester: Pytester)
testing/test_doctest.py:660
Method
test_non_relative_path
(self, pytester: Pytester)
testing/python/fixtures.py:3845
Method
test_non_serializable_parametrize
Test that failed parametrized tests with unmarshable parameters don't break pytest-cache.
testing/test_cacheprovider.py:405
Function
test_non_string_warning_argument
Non-str argument passed to warning breaks pytest (#2956)
testing/test_warnings.py:211
Function
test_non_unittest_no_setupclass_support
(pytester: Pytester)
testing/test_unittest.py:866
Method
test_nonascii_text
:issue: 877 non ascii python2 str caused a UnicodeDecodeError
testing/test_assertion.py:770
Function
test_none_help_param_raises_exception
Test that a None help param raises a TypeError.
testing/test_helpconfig.py:48
Method
test_none_of_multiple_warns
(self)
testing/test_recwarn.py:389
Method
test_nonnumeric_dict_repr
Dicts with non-numerics and infinites have no tolerances
testing/python/approx.py:814
Method
test_nonnumeric_false_if_unequal
For nonnumeric types, x != pytest.approx(y) reduces to x != y
testing/python/approx.py:799
Method
test_nonnumeric_list_repr
Lists with non-numerics and infinites have no tolerances
testing/python/approx.py:822
Method
test_nonnumeric_okay_if_equal
(self, x)
testing/python/approx.py:788
Method
test_normal
(self, many_tests_files, pytester: Pytester)
testing/test_terminal.py:1962
Function
test_normal_flow
Check that the warnings section is displayed.
testing/test_warnings.py:42
Method
test_normal_verbosity
(self, pytester: Pytester, test_files)
testing/test_terminal.py:1894
Function
test_nose_setup
(pytester: Pytester)
testing/test_nose.py:9
Function
test_nose_setup_func
(pytester: Pytester)
testing/test_nose.py:53
Function
test_nose_setup_func_failure
(pytester: Pytester)
testing/test_nose.py:83
Function
test_nose_setup_func_failure_2
(pytester: Pytester)
testing/test_nose.py:107
Function
test_nose_setup_ordering
(pytester: Pytester)
testing/test_nose.py:266
Function
test_nose_setup_partial
(pytester: Pytester)
testing/test_nose.py:126
Function
test_nose_setup_skipped_if_non_callable
Regression test for #9391.
testing/test_nose.py:482
Function
test_nose_style_setup_teardown
(pytester: Pytester)
testing/test_nose.py:200
Method
test_noself_in_method
(self, pytester: Pytester)
testing/python/metafunc.py:1049
Method
test_not
(self)
doc/en/example/assertion/failure_demo.py:35
Method
test_not_collectable_arguments
(self, pytester: Pytester)
testing/acceptance_test.py:182
Method
test_not_in_text_multiline
(self)
doc/en/example/assertion/failure_demo.py:82
Method
test_not_in_text_single
(self)
doc/en/example/assertion/failure_demo.py:86
Method
test_not_in_text_single_long
(self)
doc/en/example/assertion/failure_demo.py:90
Method
test_not_in_text_single_long_term
(self)
doc/en/example/assertion/failure_demo.py:94
Method
test_not_matching
(self, pattern: str, path: str)
testing/test_pathlib.py:75
Method
test_not_raise_exception_with_mixed_encoding
(self, tw_mock)
testing/code/test_code.py:186
Method
test_nothing
(self, tmp_path: Path, monkeypatch: MonkeyPatch)
testing/test_config.py:1384
Function
test_nothing_logged
(pytester: Pytester)
testing/logging/test_reporting.py:14
Function
test_notify_exception
(pytester: Pytester, capfd)
testing/test_config.py:1226
Method
test_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
Function
test_nottest_class_decorator
(pytester: Pytester)
testing/test_nose.py:406
Function
test_nottest_function_decorator
(pytester: Pytester)
testing/test_nose.py:377
Function
test_nullbyte
(pytester: Pytester, junit_logging: str)
testing/test_junitxml.py:1005
Function
test_nullbyte_replace
(pytester: Pytester, junit_logging: str)
testing/test_junitxml.py:1027
Method
test_number_and_allow_unicode
(self, pytester: Pytester)
testing/test_doctest.py:1078
Method
test_number_non_matches
(self, pytester, expression, output)
testing/test_doctest.py:1066
Method
test_number_precision
Test the NUMBER option.
testing/test_doctest.py:972
Method
test_number_re
(self)
testing/test_doctest.py:941
Method
test_numpy_array
(self)
testing/python/approx.py:618
Method
test_numpy_array_protocol
array-like objects such as tensorflow's DeviceArray are handled like ndarray. See issue #8132
testing/python/approx.py:707
Method
test_numpy_array_with_scalar
(self)
testing/python/approx.py:841
Method
test_numpy_array_wrong_shape
(self)
testing/python/approx.py:698
Method
test_numpy_expecting_inf
(self)
testing/python/approx.py:684
Method
test_numpy_expecting_nan
(self)
testing/python/approx.py:666
Method
test_numpy_scalar_with_array
(self)
testing/python/approx.py:852
Method
test_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
Method
test_ok
(self)
testing/example_scripts/unittest/test_unittest_asynctest.py:19
Method
test_on_rm_rf_error
(self, tmp_path: Path)
testing/test_tmpdir.py:360
Function
test_one
(fix2)
testing/example_scripts/issue_519.py:48
Function
test_one_dir
(pytester: Pytester, file_structure)
testing/test_pythonpath.py:50
Method
test_one_from_multiple_warns
(self)
testing/test_recwarn.py:383
Method
test_one_repr_empty
The faulty empty string repr did trigger an unbound local error in _diff_text.
testing/test_assertion.py:748
Method
test_one_skipped
(self, pytester, makedoctest)
testing/test_doctest.py:1109
Method
test_one_skipped_failed
(self, pytester, makedoctest)
testing/test_doctest.py:1121
Function
test_oneline
()
testing/code/test_source.py:407
Function
test_oneline_and_comment
()
testing/code/test_source.py:426
Method
test_only_skips_marked_test
(self, pytester: Pytester)
testing/test_skipping.py:838
Method
test_operator_overloading
(self)
testing/python/approx.py:328
Method
test_opposite_sign
(self)
testing/python/approx.py:348
← previous
next →
3,401–3,500 of 4,602, ranked by callers