(self)
| 1321 | assert_array_equal(x, a) |
| 1322 | |
| 1323 | def test_compiled_bytes(self): |
| 1324 | regexp = re.compile(b'(\\d)') |
| 1325 | c = BytesIO(b'123') |
| 1326 | dt = [('num', np.float64)] |
| 1327 | a = np.array([1, 2, 3], dtype=dt) |
| 1328 | x = np.fromregex(c, regexp, dt) |
| 1329 | assert_array_equal(x, a) |
| 1330 | |
| 1331 | def test_bad_dtype_not_structured(self): |
| 1332 | regexp = re.compile(b'(\\d)') |
nothing calls this directly
no test coverage detected