]> granicus.if.org Git - python/commitdiff
test_unicode was forgetting to run the common string tests for str.find()
authorAntoine Pitrou <solipsis@pitrou.net>
Sat, 8 Oct 2011 20:41:35 +0000 (22:41 +0200)
committerAntoine Pitrou <solipsis@pitrou.net>
Sat, 8 Oct 2011 20:41:35 +0000 (22:41 +0200)
Lib/test/test_unicode.py

index 5cd2927f2d91ec2b27561e74ebc14405c71e4397..86185e9db6e4c5c6a24eb6ee2ecbd27500762956 100644 (file)
@@ -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)