MCPcopy Create free account
hub / github.com/pybind/pybind11 / test_all_basic_tests_completeness

Function test_all_basic_tests_completeness

tests/test_gil_scoped.py:153–160  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

151
152
153def test_all_basic_tests_completeness():
154 num_found = 0
155 for key, value in VARS_BEFORE_ALL_BASIC_TESTS.items():
156 if not key.startswith("test_"):
157 continue
158 assert value in ALL_BASIC_TESTS
159 num_found += 1
160 assert len(ALL_BASIC_TESTS) == num_found
161
162
163def _intentional_deadlock():

Callers

nothing calls this directly

Calls 2

lenFunction · 0.85
itemsMethod · 0.45

Tested by

no test coverage detected