mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
Fix typos in comments (#123201)
This commit is contained in:
parent
7b26c4d1e3
commit
94036e43a8
9 changed files with 13 additions and 13 deletions
|
|
@ -114,7 +114,7 @@ class UnicodeFunctionsTest(UnicodeDatabaseTest):
|
|||
|
||||
def test_lookup_nonexistant(self):
|
||||
# just make sure that lookup can fail
|
||||
for nonexistant in [
|
||||
for nonexistent in [
|
||||
"LATIN SMLL LETR A",
|
||||
"OPEN HANDS SIGHS",
|
||||
"DREGS",
|
||||
|
|
@ -122,7 +122,7 @@ class UnicodeFunctionsTest(UnicodeDatabaseTest):
|
|||
"MODIFIER LETTER CYRILLIC SMALL QUESTION MARK",
|
||||
"???",
|
||||
]:
|
||||
self.assertRaises(KeyError, self.db.lookup, nonexistant)
|
||||
self.assertRaises(KeyError, self.db.lookup, nonexistent)
|
||||
|
||||
def test_digit(self):
|
||||
self.assertEqual(self.db.digit('A', None), None)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue