(self)
| 283 | assert_equal('0', np.binary_repr(0)) |
| 284 | |
| 285 | def test_rec_iterate(self): |
| 286 | # Ticket #160 |
| 287 | descr = np.dtype([('i', int), ('f', float), ('s', '|S3')]) |
| 288 | x = np.rec.array([(1, 1.1, '1.0'), |
| 289 | (2, 2.2, '2.0')], dtype=descr) |
| 290 | x[0].tolist() |
| 291 | [i for i in x[0]] |
| 292 | |
| 293 | def test_unicode_string_comparison(self): |
| 294 | # Ticket #190 |