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

Method test_valid

numpy/core/tests/test_conversion_utils.py:170–175  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

168 exact_match = True
169
170 def test_valid(self):
171 self._check("no", "NPY_NO_CASTING")
172 self._check("equiv", "NPY_EQUIV_CASTING")
173 self._check("safe", "NPY_SAFE_CASTING")
174 self._check("same_kind", "NPY_SAME_KIND_CASTING")
175 self._check("unsafe", "NPY_UNSAFE_CASTING")
176
177
178class TestIntpConverter:

Callers

nothing calls this directly

Calls 1

_checkMethod · 0.45

Tested by

no test coverage detected