Commit 798b4df8 authored by Antoine Pitrou's avatar Antoine Pitrou

test_unicode was forgetting to run the common string tests for str.find()

parents 760531a4 c0bbe7d3
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment