Issue #26712: Unify (r)split, (l/r)strip tests into string_tests

This eliminates a few redundant test cases.
This commit is contained in:
Martin Panter 2016-04-10 08:45:26 +00:00
parent d979b2cfcf
commit 0d0db6cc1e
3 changed files with 35 additions and 96 deletions

View file

@ -380,10 +380,6 @@ class UnicodeTest(string_tests.CommonTest,
def test_split(self):
string_tests.CommonTest.test_split(self)
# Mixed arguments
self.checkequalnofix(['a', 'b', 'c', 'd'], 'a//b//c//d', 'split', '//')
self.checkequalnofix(['a', 'b', 'c', 'd'], 'a//b//c//d', 'split', '//')
self.checkequalnofix(['endcase ', ''], 'endcase test', 'split', 'test')
# test mixed kinds
for left, right in ('ba', '\u0101\u0100', '\U00010301\U00010300'):
left *= 9