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

Method test_rec_iterate

numpy/_core/tests/test_regression.py:305–311  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

303 assert_equal('0', np.binary_repr(0))
304
305 def test_rec_iterate(self):
306 # Ticket #160
307 descr = np.dtype([('i', int), ('f', float), ('s', '|S3')])
308 x = np.rec.array([(1, 1.1, '1.0'),
309 (2, 2.2, '2.0')], dtype=descr)
310 x[0].tolist()
311 list(x[0])
312
313 def test_unicode_string_comparison(self):
314 # Ticket #190

Callers

nothing calls this directly

Calls 2

dtypeMethod · 0.45
tolistMethod · 0.45

Tested by

no test coverage detected