(self)
| 548 | assert_array_equal(self.B.title(), tgt) |
| 549 | |
| 550 | def test_upper(self): |
| 551 | tgt = [[b' ABC ', b''], |
| 552 | [b'12345', b'MIXEDCASE'], |
| 553 | [b'123 \t 345 \0 ', b'UPPER']] |
| 554 | assert_(issubclass(self.A.upper().dtype.type, np.bytes_)) |
| 555 | assert_array_equal(self.A.upper(), tgt) |
| 556 | |
| 557 | tgt = [[' \u03a3 ', ''], |
| 558 | ['12345', 'MIXEDCASE'], |
| 559 | ['123 \t 345 \0 ', 'UPPER']] |
| 560 | assert_(issubclass(self.B.upper().dtype.type, np.str_)) |
| 561 | assert_array_equal(self.B.upper(), tgt) |
| 562 | |
| 563 | def test_isnumeric(self): |
| 564 |
nothing calls this directly
no test coverage detected