MCPcopy Index your code
hub / github.com/numpy/numpy / test_format_2_0

Method test_format_2_0

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

Source from the content-addressed store, hash-verified

182
183 @pytest.mark.slow
184 def test_format_2_0(self):
185 dt = [(f"{i}" * 100, float) for i in range(500)]
186 a = np.ones(1000, dtype=dt)
187 with warnings.catch_warnings(record=True):
188 warnings.filterwarnings('always', '', UserWarning)
189 self.check_roundtrips(a)
190
191
192class TestSaveLoad(RoundtripTest):

Callers

nothing calls this directly

Calls 1

check_roundtripsMethod · 0.95

Tested by

no test coverage detected