MCPcopy Create free account
hub / github.com/PyTables/PyTables / test_read_entire_array

Method test_read_entire_array

tables/tests/test_array.py:592–596  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

590 return array, disk_array
591
592 def test_read_entire_array(self):
593 array, disk_array = self.create_array()
594 out_buffer = np.empty((self.size,), "f8")
595 disk_array.read(out=out_buffer)
596 np.testing.assert_equal(out_buffer, array)
597
598 def test_read_contiguous_slice1(self):
599 array, disk_array = self.create_array()

Callers

nothing calls this directly

Calls 2

create_arrayMethod · 0.95
readMethod · 0.45

Tested by

no test coverage detected