Commit 74640247 authored by Walter Dörwald's avatar Walter Dörwald

Fix copy&paste error: call title instead of count

parent 8dd19321
......@@ -90,7 +90,7 @@ class UnicodeTest(unittest.TestCase):
self.checkmethod('title', u"fOrMaT,thIs-aS*titLe;String", u'Format,This-As*Title;String')
self.checkmethod('title', u"getInt", u'Getint')
self.assertRaises(TypeError, u'hello'.count, 42)
self.assertRaises(TypeError, u'hello'.title, 42)
def test_find(self):
self.checkmethod('find', u'abcdefghiabc', 0, u'abc')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment