From: Walter Dörwald Date: Mon, 10 Feb 2003 17:44:16 +0000 (+0000) Subject: Fix copy&paste error: call title instead of count X-Git-Tag: v2.3c1~1932 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=74640247d40d192d9e672ebe5275a0bc510c6028;p=python Fix copy&paste error: call title instead of count --- diff --git a/Lib/test/test_unicode.py b/Lib/test/test_unicode.py index 130a418dc5..1b78ddded8 100644 --- a/Lib/test/test_unicode.py +++ b/Lib/test/test_unicode.py @@ -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')