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

Method test_record

numpy/lib/tests/test_io.py:179–181  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

177 self.roundtrip(a, file_on_disk=True, load_kwds={'mmap_mode': 'r'})
178
179 def test_record(self):
180 a = np.array([(1, 2), (3, 4)], dtype=[('x', 'i4'), ('y', 'i4')])
181 self.check_roundtrips(a)
182
183 @pytest.mark.slow
184 def test_format_2_0(self):

Callers

nothing calls this directly

Calls 1

check_roundtripsMethod · 0.95

Tested by

no test coverage detected