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

Method test_padding

numpy/core/tests/test_multiarray.py:8086–8089  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

8084 assert_array_equal(res, obj)
8085
8086 def test_padding(self):
8087 for j in range(8):
8088 x = np.array([(1,), (2,)], dtype={'f0': (int, j)})
8089 self._check_roundtrip(x)
8090
8091 def test_reference_leak(self):
8092 if HAS_REFCOUNT:

Callers

nothing calls this directly

Calls 1

_check_roundtripMethod · 0.95

Tested by

no test coverage detected