(self)
| 455 | assert_array_equal(C, tgt) |
| 456 | |
| 457 | def test_lower(self): |
| 458 | A, B = self.A(), self.B() |
| 459 | tgt = [[b' abc ', b''], |
| 460 | [b'12345', b'mixedcase'], |
| 461 | [b'123 \t 345 \0 ', b'upper']] |
| 462 | assert_(issubclass(A.lower().dtype.type, np.bytes_)) |
| 463 | assert_array_equal(A.lower(), tgt) |
| 464 | |
| 465 | tgt = [[' \u03c3 ', ''], |
| 466 | ['12345', 'mixedcase'], |
| 467 | ['123 \t 345 \0 ', 'upper']] |
| 468 | assert_(issubclass(B.lower().dtype.type, np.str_)) |
| 469 | assert_array_equal(B.lower(), tgt) |
| 470 | |
| 471 | def test_lstrip(self): |
| 472 | A, B = self.A(), self.B() |
nothing calls this directly
no test coverage detected