Fix typos in comments (#123201)

This commit is contained in:
Wulian 2024-08-21 20:49:23 +08:00 committed by GitHub
parent 7b26c4d1e3
commit 94036e43a8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 13 additions and 13 deletions

View file

@ -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)