Skip to content

Commit 163e6c9

Browse files
Add tests for invalid names.
1 parent a270a29 commit 163e6c9

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

Lib/test/test_unicodedata.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,17 @@ def test_lookup_nonexistant(self):
205205
"HANDBUG",
206206
"MODIFIER LETTER CYRILLIC SMALL QUESTION MARK",
207207
"???",
208+
"CJK UNIFIED IDEOGRAPH-03400",
209+
"CJK UNIFIED IDEOGRAPH-020000",
210+
"CJK UNIFIED IDEOGRAPH-33FF",
211+
"CJK UNIFIED IDEOGRAPH-F900",
212+
"CJK UNIFIED IDEOGRAPH-13460",
213+
"CJK UNIFIED IDEOGRAPH-17000",
214+
"CJK UNIFIED IDEOGRAPH-18B00",
215+
"CJK UNIFIED IDEOGRAPH-1B170",
216+
"CJK COMPATIBILITY IDEOGRAPH-3400",
217+
"TANGUT IDEOGRAPH-3400",
218+
"HANGUL SYLLABLE AC00",
208219
]:
209220
self.assertRaises(KeyError, self.db.lookup, nonexistent)
210221

0 commit comments

Comments
 (0)