(self, a, chars, out, dt)
| 599 | (["ab", "ac", "aab", "abb"], "b", ["a", "ac", "aa", "a"]), |
| 600 | ]) |
| 601 | def test_rstrip(self, a, chars, out, dt): |
| 602 | a = np.array(a, dtype=dt) |
| 603 | out = np.array(out, dtype=dt) |
| 604 | if chars is not None: |
| 605 | chars = np.array(chars, dtype=dt) |
| 606 | assert_array_equal(np.strings.rstrip(a, chars), out) |
| 607 | else: |
| 608 | assert_array_equal(np.strings.rstrip(a), out) |
| 609 | |
| 610 | @pytest.mark.parametrize("a,chars,out", [ |
| 611 | ("", None, ""), |
nothing calls this directly
no test coverage detected