(self)
| 427 | assert_array_equal(P, tgt) |
| 428 | |
| 429 | def test_replace(self): |
| 430 | R = self.A.replace([b'3', b'a'], |
| 431 | [b'##########', b'@']) |
| 432 | tgt = [[b' abc ', b''], |
| 433 | [b'12##########45', b'MixedC@se'], |
| 434 | [b'12########## \t ##########45 \x00', b'UPPER']] |
| 435 | assert_(issubclass(R.dtype.type, np.bytes_)) |
| 436 | assert_array_equal(R, tgt) |
| 437 | |
| 438 | def test_rjust(self): |
| 439 | assert_(issubclass(self.A.rjust(10).dtype.type, np.bytes_)) |
nothing calls this directly
no test coverage detected