MCPcopy Index your code
hub / github.com/numpy/numpy / test_keys

Function test_keys

numpy/typing/tests/test_runtime.py:81–85  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

keysMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…