(self, buf, sep, res1, res2, res3, dt)
| 970 | ("mississippi", "w", "", "", "mississippi"), |
| 971 | ]) |
| 972 | def test_rpartition(self, buf, sep, res1, res2, res3, dt): |
| 973 | buf = np.array(buf, dtype=dt) |
| 974 | sep = np.array(sep, dtype=dt) |
| 975 | res1 = np.array(res1, dtype=dt) |
| 976 | res2 = np.array(res2, dtype=dt) |
| 977 | res3 = np.array(res3, dtype=dt) |
| 978 | act1, act2, act3 = np.strings.rpartition(buf, sep) |
| 979 | assert_array_equal(act1, res1) |
| 980 | assert_array_equal(act2, res2) |
| 981 | assert_array_equal(act3, res3) |
| 982 | assert_array_equal(act1 + act2 + act3, buf) |
| 983 | |
| 984 | @pytest.mark.parametrize("args", [ |
| 985 | (None,), |
nothing calls this directly
no test coverage detected