(self)
| 626 | assert_array_equal(B.strip(), tgt) |
| 627 | |
| 628 | def test_split(self): |
| 629 | A = self.A().split(b'3') |
| 630 | tgt = [ |
| 631 | [[b' abc '], [b'']], |
| 632 | [[b'12', b'45'], [b'MixedCase']], |
| 633 | [[b'12', b' \t ', b'45 \x00 '], [b'UPPER']]] |
| 634 | assert_(issubclass(A.dtype.type, np.object_)) |
| 635 | assert_equal(A.tolist(), tgt) |
| 636 | |
| 637 | def test_splitlines(self): |
| 638 | A = np.char.array(['abc\nfds\nwer']).splitlines() |
nothing calls this directly
no test coverage detected