From 74640247d40d192d9e672ebe5275a0bc510c6028 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Walter=20D=C3=B6rwald?= Date: Mon, 10 Feb 2003 17:44:16 +0000 Subject: [PATCH] Fix copy&paste error: call title instead of count --- Lib/test/test_unicode.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') -- 2.40.0