(self, a, sub, start, end, out, dt)
| 428 | ("Ae¢☃€ 😊" * 2, "😊", 0, 7, 6), |
| 429 | ]) |
| 430 | def test_rfind(self, a, sub, start, end, out, dt): |
| 431 | if "😊" in a and dt == "S": |
| 432 | pytest.skip("Bytes dtype does not support non-ascii input") |
| 433 | a = np.array(a, dtype=dt) |
| 434 | sub = np.array(sub, dtype=dt) |
| 435 | assert_array_equal(np.strings.rfind(a, sub, start, end), out) |
| 436 | |
| 437 | @pytest.mark.parametrize("a,sub,start,end,out", [ |
| 438 | ("aaa", "a", 0, None, 3), |
nothing calls this directly
no test coverage detected