(self)
| 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 |