@@ -463,6 +463,7 @@ def test_endswith(self, a, suffix, start, end, out, dt):
463
463
("xyxzx" , "x" , "yxzx" ),
464
464
(["xyzzyhelloxyzzy" , "hello" ], ["xyz" , "xyz" ],
465
465
["helloxyzzy" , "hello" ]),
466
+ (["ba" , "ac" , "baa" , "bba" ], "b" , ["a" , "ac" , "aa" , "a" ]),
466
467
])
467
468
def test_lstrip (self , a , chars , out , dt ):
468
469
a = np .array (a , dtype = dt )
@@ -488,6 +489,7 @@ def test_lstrip(self, a, chars, out, dt):
488
489
("xyxzx" , "x" , "xyxz" ),
489
490
(["xyzzyhelloxyzzy" , "hello" ], ["xyz" , "xyz" ],
490
491
["xyzzyhello" , "hello" ]),
492
+ (["ab" , "ac" , "aab" , "abb" ], "b" , ["a" , "ac" , "aa" , "a" ]),
491
493
])
492
494
def test_rstrip (self , a , chars , out , dt ):
493
495
a = np .array (a , dtype = dt )
@@ -511,6 +513,7 @@ def test_rstrip(self, a, chars, out, dt):
511
513
("xyxzx" , "x" , "yxz" ),
512
514
(["xyzzyhelloxyzzy" , "hello" ], ["xyz" , "xyz" ],
513
515
["hello" , "hello" ]),
516
+ (["bab" , "ac" , "baab" , "bbabb" ], "b" , ["a" , "ac" , "aa" , "a" ]),
514
517
])
515
518
def test_strip (self , a , chars , out , dt ):
516
519
a = np .array (a , dtype = dt )
0 commit comments