(self)
| 669 | assert_array_equal(B.title(), tgt) |
| 670 | |
| 671 | def test_upper(self): |
| 672 | A, B = self.A(), self.B() |
| 673 | tgt = [[b' ABC ', b''], |
| 674 | [b'12345', b'MIXEDCASE'], |
| 675 | [b'123 \t 345 \0 ', b'UPPER']] |
| 676 | assert_(issubclass(A.upper().dtype.type, np.bytes_)) |
| 677 | assert_array_equal(A.upper(), tgt) |
| 678 | |
| 679 | tgt = [[' \u03a3 ', ''], |
| 680 | ['12345', 'MIXEDCASE'], |
| 681 | ['123 \t 345 \0 ', 'UPPER']] |
| 682 | assert_(issubclass(B.upper().dtype.type, np.str_)) |
| 683 | assert_array_equal(B.upper(), tgt) |
| 684 | |
| 685 | def test_isnumeric(self): |
| 686 | A, B = self.A(), self.B() |
nothing calls this directly
no test coverage detected