From c0bbe7d38a9a7b43de4a921876072662ba5c82fc Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Sat, 8 Oct 2011 22:41:35 +0200 Subject: [PATCH] test_unicode was forgetting to run the common string tests for str.find() --- Lib/test/test_unicode.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/test/test_unicode.py b/Lib/test/test_unicode.py index 5cd2927f2d9..86185e9db6e 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)