(self)
| 289 | assert_array_equal(C.find(encode('M')), [12, -1]) |
| 290 | |
| 291 | def test_index(self): |
| 292 | A = self.A() |
| 293 | |
| 294 | def fail(): |
| 295 | A.index('a') |
| 296 | |
| 297 | assert_raises(ValueError, fail) |
| 298 | assert_(np.char.index('abcba', 'b') == 1) |
| 299 | assert_(issubclass(np.char.index('abcba', 'b').dtype.type, np.integer)) |
| 300 | |
| 301 | def test_isalnum(self): |
| 302 | A = self.A() |
nothing calls this directly
no test coverage detected