(self)
| 1332 | assert_array_equal(x, a) |
| 1333 | |
| 1334 | def test_compiled_bytes(self): |
| 1335 | regexp = re.compile(br'(\d)') |
| 1336 | c = BytesIO(b'123') |
| 1337 | dt = [('num', np.float64)] |
| 1338 | a = np.array([1, 2, 3], dtype=dt) |
| 1339 | x = np.fromregex(c, regexp, dt) |
| 1340 | assert_array_equal(x, a) |
| 1341 | |
| 1342 | def test_bad_dtype_not_structured(self): |
| 1343 | regexp = re.compile(br'(\d)') |
nothing calls this directly
no test coverage detected