(self, a, sub, start, end, out, dt)
| 405 | id=r"A*2**17-[\w]+\Z-0-None--1"), |
| 406 | ]) |
| 407 | def test_find(self, a, sub, start, end, out, dt): |
| 408 | if "😊" in a and dt == "S": |
| 409 | pytest.skip("Bytes dtype does not support non-ascii input") |
| 410 | a = np.array(a, dtype=dt) |
| 411 | sub = np.array(sub, dtype=dt) |
| 412 | assert_array_equal(np.strings.find(a, sub, start, end), out) |
| 413 | |
| 414 | @pytest.mark.parametrize("a,sub,start,end,out", [ |
| 415 | ("abcdefghiabc", "abc", 0, None, 9), |
nothing calls this directly
no test coverage detected