summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2011-10-08 20:42:00 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2011-10-08 20:42:00 (GMT)
commit798b4df81215bdc1caf479bdb75e129a3e51d173 (patch)
tree6141fe723f7215c3fbf35188756813c3c3740d11 /Lib
parent760531a4944f7e00cd5c024740439d5d202bafe2 (diff)
parentc0bbe7d38a9a7b43de4a921876072662ba5c82fc (diff)
downloadcpython-798b4df81215bdc1caf479bdb75e129a3e51d173.zip
cpython-798b4df81215bdc1caf479bdb75e129a3e51d173.tar.gz
cpython-798b4df81215bdc1caf479bdb75e129a3e51d173.tar.bz2
test_unicode was forgetting to run the common string tests for str.find()
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_unicode.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_unicode.py b/Lib/test/test_unicode.py
index 27df862..9a5862d 100644
--- a/Lib/test/test_unicode.py
+++ b/Lib/test/test_unicode.py
@@ -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)