mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
test_unicode was forgetting to run the common string tests for str.find()
This commit is contained in:
commit
798b4df812
1 changed files with 1 additions and 0 deletions
|
|
@ -170,6 +170,7 @@ class UnicodeTest(string_tests.CommonTest,
|
|||
self.checkequalnofix(0, 'aaa', 'count', 'a', 0, -10)
|
||||
|
||||
def test_find(self):
|
||||
string_tests.CommonTest.test_find(self)
|
||||
self.checkequalnofix(0, 'abcdefghiabc', 'find', 'abc')
|
||||
self.checkequalnofix(9, 'abcdefghiabc', 'find', 'abc', 1)
|
||||
self.checkequalnofix(-1, 'abcdefghiabc', 'find', 'def', 4)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue