MCPcopy Create free account
hub / github.com/numpy/numpy / test_keys

Function test_keys

numpy/typing/tests/test_runtime.py:82–86  ·  view source on GitHub ↗

Test that ``TYPES.keys()`` and ``numpy.typing.__all__`` are synced.

()

Source from the content-addressed store, hash-verified

80
81
82def test_keys() -> None:
83 """Test that ``TYPES.keys()`` and ``numpy.typing.__all__`` are synced."""
84 keys = TYPES.keys()
85 ref = set(npt.__all__)
86 assert keys == ref
87
88
89PROTOCOLS: dict[str, tuple[type[Any], object]] = {

Callers

nothing calls this directly

Calls 1

keysMethod · 0.80

Tested by

no test coverage detected