(self, a, chars, out, dt)
| 570 | (["ba", "ac", "baa", "bba"], "b", ["a", "ac", "aa", "a"]), |
| 571 | ]) |
| 572 | def test_lstrip(self, a, chars, out, dt): |
| 573 | a = np.array(a, dtype=dt) |
| 574 | out = np.array(out, dtype=dt) |
| 575 | if chars is not None: |
| 576 | chars = np.array(chars, dtype=dt) |
| 577 | assert_array_equal(np.strings.lstrip(a, chars), out) |
| 578 | else: |
| 579 | assert_array_equal(np.strings.lstrip(a), out) |
| 580 | |
| 581 | @pytest.mark.parametrize("a,chars,out", [ |
| 582 | ("", None, ""), |
nothing calls this directly
no test coverage detected