summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_html.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_html.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_html.py')
-rw-r--r--Lib/test/test_html.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_html.py b/Lib/test/test_html.py
index 5e9f382..d6f0ae8 100644
--- a/Lib/test/test_html.py
+++ b/Lib/test/test_html.py
@@ -48,10 +48,10 @@ class HtmlTests(unittest.TestCase):
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