From: Antoine Pitrou Date: Sat, 8 Oct 2011 20:41:35 +0000 (+0200) Subject: test_unicode was forgetting to run the common string tests for str.find() X-Git-Tag: v3.2.3rc1~515 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c0bbe7d38a9a7b43de4a921876072662ba5c82fc;p=thirdparty%2FPython%2Fcpython.git test_unicode was forgetting to run the common string tests for str.find() --- diff --git a/Lib/test/test_unicode.py b/Lib/test/test_unicode.py index 5cd2927f2d91..86185e9db6e4 100644 --- a/Lib/test/test_unicode.py +++ b/Lib/test/test_unicode.py @@ -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)