diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2011-10-08 20:41:35 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2011-10-08 20:41:35 (GMT) |
commit | c0bbe7d38a9a7b43de4a921876072662ba5c82fc (patch) | |
tree | 47816385f5731a3539e24d884a2df3fe90b56eb1 /Lib/test/test_unicode.py | |
parent | 74472a94aa7e779eeb696ae8f1706c01fab4634f (diff) | |
download | cpython-c0bbe7d38a9a7b43de4a921876072662ba5c82fc.zip cpython-c0bbe7d38a9a7b43de4a921876072662ba5c82fc.tar.gz cpython-c0bbe7d38a9a7b43de4a921876072662ba5c82fc.tar.bz2 |
test_unicode was forgetting to run the common string tests for str.find()
Diffstat (limited to 'Lib/test/test_unicode.py')
-rw-r--r-- | Lib/test/test_unicode.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_unicode.py b/Lib/test/test_unicode.py index 5cd2927..86185e9 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) |