(self)
| 453 | assert_array_equal(C, tgt) |
| 454 | |
| 455 | def test_rpartition(self): |
| 456 | P = self.A.rpartition([b'3', b'M']) |
| 457 | tgt = [[(b'', b'', b' abc '), (b'', b'', b'')], |
| 458 | [(b'12', b'3', b'45'), (b'', b'M', b'ixedCase')], |
| 459 | [(b'123 \t ', b'3', b'45 \0 '), (b'', b'', b'UPPER')]] |
| 460 | assert_(issubclass(P.dtype.type, np.bytes_)) |
| 461 | assert_array_equal(P, tgt) |
| 462 | |
| 463 | def test_rsplit(self): |
| 464 | A = self.A.rsplit(b'3') |
nothing calls this directly
no test coverage detected