(self)
| 461 | assert_array_equal(P, tgt) |
| 462 | |
| 463 | def test_rsplit(self): |
| 464 | A = self.A.rsplit(b'3') |
| 465 | tgt = [[[b' abc '], [b'']], |
| 466 | [[b'12', b'45'], [b'MixedCase']], |
| 467 | [[b'12', b' \t ', b'45 \x00 '], [b'UPPER']]] |
| 468 | assert_(issubclass(A.dtype.type, np.object_)) |
| 469 | assert_equal(A.tolist(), tgt) |
| 470 | |
| 471 | def test_rstrip(self): |
| 472 | assert_(issubclass(self.A.rstrip().dtype.type, np.bytes_)) |
nothing calls this directly
no test coverage detected