(self)
| 419 | assert_array_equal(self.B.lstrip(), tgt) |
| 420 | |
| 421 | def test_partition(self): |
| 422 | P = self.A.partition([b'3', b'M']) |
| 423 | tgt = [[(b' abc ', b'', b''), (b'', b'', b'')], |
| 424 | [(b'12', b'3', b'45'), (b'', b'M', b'ixedCase')], |
| 425 | [(b'12', b'3', b' \t 345 \0 '), (b'UPPER', b'', b'')]] |
| 426 | assert_(issubclass(P.dtype.type, np.bytes_)) |
| 427 | assert_array_equal(P, tgt) |
| 428 | |
| 429 | def test_replace(self): |
| 430 | R = self.A.replace([b'3', b'a'], |
nothing calls this directly
no test coverage detected