mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Fix copy&paste error: call title instead of count
This commit is contained in:
parent
8dd19321bb
commit
74640247d4
1 changed files with 1 additions and 1 deletions
|
@ -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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue