summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_unicode.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-01-18 09:33:31 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2015-01-18 09:33:31 (GMT)
commit82e07b92b330ec885968ca98fac5284c45037eac (patch)
treef8cf075bd42432e50b25979f28bc83a606bbf828 /Lib/test/test_unicode.py
parentacdb7c158a53d67a7c1e309023248a489cd18295 (diff)
parentd3faf43f9ba7da0ae504c9186b10d0fa3a8eb300 (diff)
downloadcpython-82e07b92b330ec885968ca98fac5284c45037eac.zip
cpython-82e07b92b330ec885968ca98fac5284c45037eac.tar.gz
cpython-82e07b92b330ec885968ca98fac5284c45037eac.tar.bz2
Issue #23181: More "codepoint" -> "code point".
Diffstat (limited to 'Lib/test/test_unicode.py')
-rw-r--r--Lib/test/test_unicode.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_unicode.py b/Lib/test/test_unicode.py
index bfa262a..e4cd99b 100644
--- a/Lib/test/test_unicode.py
+++ b/Lib/test/test_unicode.py
@@ -1470,9 +1470,9 @@ class UnicodeTest(string_tests.CommonTest,
def test_utf8_decode_invalid_sequences(self):
# continuation bytes in a sequence of 2, 3, or 4 bytes
continuation_bytes = [bytes([x]) for x in 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 = [bytes([x]) for x in 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 = [bytes([x]) for x in range(0xF5, 0xF8)]
invalid_start_bytes = (
continuation_bytes + invalid_2B_seq_start_bytes +