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

Method test_multiple_arrays

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

Source from the content-addressed store, hash-verified

218 del a # Avoid pyflakes unused variable warning.
219
220 def test_multiple_arrays(self):
221 a = np.array([[1, 2], [3, 4]], float)
222 b = np.array([[1 + 2j, 2 + 7j], [3 - 6j, 4 + 12j]], complex)
223 self.roundtrip(a, b)
224
225 def test_named_arrays(self):
226 a = np.array([[1, 2], [3, 4]], float)

Callers

nothing calls this directly

Calls 1

roundtripMethod · 0.95

Tested by

no test coverage detected