diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2015-01-18 09:42:50 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2015-01-18 09:42:50 (GMT) |
commit | e8c9e14af9bd9f2ced50e8b6535e45f0d33d8e72 (patch) | |
tree | 579726e07f5c8c0a6a015647eccb3441e6f01e58 /Lib/test/test_unicode.py | |
parent | 2098d61aab657657af245ed974339eb3cbd65d76 (diff) | |
download | cpython-e8c9e14af9bd9f2ced50e8b6535e45f0d33d8e72.zip cpython-e8c9e14af9bd9f2ced50e8b6535e45f0d33d8e72.tar.gz cpython-e8c9e14af9bd9f2ced50e8b6535e45f0d33d8e72.tar.bz2 |
Issue #23181: More "codepoint" -> "code point".
Diffstat (limited to 'Lib/test/test_unicode.py')
-rw-r--r-- | Lib/test/test_unicode.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_unicode.py b/Lib/test/test_unicode.py index 9f6cc75..f2018ec 100644 --- a/Lib/test/test_unicode.py +++ b/Lib/test/test_unicode.py @@ -874,9 +874,9 @@ class UnicodeTest( def test_utf8_decode_invalid_sequences(self): # continuation bytes in a sequence of 2, 3, or 4 bytes continuation_bytes = map(chr, range(0x80, 0xC0)) - # start bytes of a 2-byte sequence equivalent to codepoints < 0x7F + # start bytes of a 2-byte sequence equivalent to code points < 0x7F invalid_2B_seq_start_bytes = map(chr, range(0xC0, 0xC2)) - # start bytes of a 4-byte sequence equivalent to codepoints > 0x10FFFF + # start bytes of a 4-byte sequence equivalent to code points > 0x10FFFF invalid_4B_seq_start_bytes = map(chr, range(0xF5, 0xF8)) invalid_start_bytes = ( continuation_bytes + invalid_2B_seq_start_bytes + |