Issue #23181: More "codepoint" -> "code point".

This commit is contained in:
Serhiy Storchaka 2015-01-18 11:28:37 +02:00
parent b2653b344e
commit d3faf43f9b
24 changed files with 46 additions and 46 deletions

View file

@ -48,10 +48,10 @@ def check_num(num, expected):
check(s % num, char)
for end in [' ', 'X']:
check((s+end) % num, char+end)
# check invalid codepoints
# check invalid code points
for cp in [0xD800, 0xDB00, 0xDC00, 0xDFFF, 0x110000]:
check_num(cp, '\uFFFD')
# check more invalid codepoints
# check more invalid code points
for cp in [0x1, 0xb, 0xe, 0x7f, 0xfffe, 0xffff, 0x10fffe, 0x10ffff]:
check_num(cp, '')
# check invalid numbers