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

Method roundtrip

numpy/lib/tests/test_io.py:184–188  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

182
183class TestSaveLoad(RoundtripTest):
184 def roundtrip(self, *args, **kwargs):
185 RoundtripTest.roundtrip(self, np.save, *args, **kwargs)
186 assert_equal(self.arr[0], self.arr_reloaded)
187 assert_equal(self.arr[0].dtype, self.arr_reloaded.dtype)
188 assert_equal(self.arr[0].flags.fnc, self.arr_reloaded.flags.fnc)
189
190
191class TestSavezLoad(RoundtripTest):

Callers 1

roundtripMethod · 0.45

Calls 1

assert_equalFunction · 0.90

Tested by

no test coverage detected