(self)
| 578 | assert_array_equal(P, tgt) |
| 579 | |
| 580 | def test_rsplit(self): |
| 581 | A = self.A().rsplit(b'3') |
| 582 | tgt = [[[b' abc '], [b'']], |
| 583 | [[b'12', b'45'], [b'MixedCase']], |
| 584 | [[b'12', b' \t ', b'45 \x00 '], [b'UPPER']]] |
| 585 | assert_(issubclass(A.dtype.type, np.object_)) |
| 586 | assert_equal(A.tolist(), tgt) |
| 587 | |
| 588 | def test_rstrip(self): |
| 589 | A, B = self.A(), self.B() |
nothing calls this directly
no test coverage detected