(self, buf, sub, start, end, res, dt)
| 1184 | ("Ae¢☃€ 😊" * 2, "😊", 7, None, 13), |
| 1185 | ]) |
| 1186 | def test_index_unicode(self, buf, sub, start, end, res, dt): |
| 1187 | buf = np.array(buf, dtype=dt) |
| 1188 | sub = np.array(sub, dtype=dt) |
| 1189 | assert_array_equal(np.strings.index(buf, sub, start, end), res) |
| 1190 | |
| 1191 | def test_index_raises_unicode(self, dt): |
| 1192 | with pytest.raises(ValueError, match="substring not found"): |
nothing calls this directly
no test coverage detected