diff options
author | Walter Dörwald <walter@livinglogic.de> | 2003-02-10 17:44:16 (GMT) |
---|---|---|
committer | Walter Dörwald <walter@livinglogic.de> | 2003-02-10 17:44:16 (GMT) |
commit | 74640247d40d192d9e672ebe5275a0bc510c6028 (patch) | |
tree | b2a0c57e8fb03d08341f8fcf6cb08fc9dd2760d2 /Lib | |
parent | 8dd19321bbb3b4f94d15ca3a405053265b99e91e (diff) | |
download | cpython-74640247d40d192d9e672ebe5275a0bc510c6028.zip cpython-74640247d40d192d9e672ebe5275a0bc510c6028.tar.gz cpython-74640247d40d192d9e672ebe5275a0bc510c6028.tar.bz2 |
Fix copy&paste error: call title instead of count
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_unicode.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_unicode.py b/Lib/test/test_unicode.py index 130a418..1b78ddd 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') |