(self)
| 488 | assert_array_equal(B.lstrip(), tgt) |
| 489 | |
| 490 | def test_partition(self): |
| 491 | A = self.A() |
| 492 | P = A.partition([b'3', b'M']) |
| 493 | tgt = [[(b' abc ', b'', b''), (b'', b'', b'')], |
| 494 | [(b'12', b'3', b'45'), (b'', b'M', b'ixedCase')], |
| 495 | [(b'12', b'3', b' \t 345 \0 '), (b'UPPER', b'', b'')]] |
| 496 | assert_(issubclass(P.dtype.type, np.bytes_)) |
| 497 | assert_array_equal(P, tgt) |
| 498 | |
| 499 | def test_replace(self): |
| 500 | A = self.A() |
nothing calls this directly
no test coverage detected