test_unicode was forgetting to run the common string tests for str.find()
This commit is contained in:
parent
74472a94aa
commit
c0bbe7d38a
|
@ -174,6 +174,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…
Reference in New Issue