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

Method test_format_2_0

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

Source from the content-addressed store, hash-verified

173
174 @pytest.mark.slow
175 def test_format_2_0(self):
176 dt = [(("%d" % i) * 100, float) for i in range(500)]
177 a = np.ones(1000, dtype=dt)
178 with warnings.catch_warnings(record=True):
179 warnings.filterwarnings('always', '', UserWarning)
180 self.check_roundtrips(a)
181
182
183class TestSaveLoad(RoundtripTest):

Callers

nothing calls this directly

Calls 1

check_roundtripsMethod · 0.95

Tested by

no test coverage detected