summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_unicode.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2011-08-13 03:17:18 (GMT)
committerBenjamin Peterson <benjamin@python.org>2011-08-13 03:17:18 (GMT)
commitf413b80806bb7d077a1611610273dab6d916908d (patch)
tree26430b8d63dd062bc95fc86bfa7cff6f6cded165 /Lib/test/test_unicode.py
parent7bf4363f77b9aba82126d092f70aa27f3610bf69 (diff)
downloadcpython-f413b80806bb7d077a1611610273dab6d916908d.zip
cpython-f413b80806bb7d077a1611610273dab6d916908d.tar.gz
cpython-f413b80806bb7d077a1611610273dab6d916908d.tar.bz2
in narrow builds, make sure to test codepoints as identifier characters (closes #12732)
This fixes the use of Unicode identifiers outside the BMP in narrow builds.
Diffstat (limited to 'Lib/test/test_unicode.py')
-rw-r--r--Lib/test/test_unicode.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_unicode.py b/Lib/test/test_unicode.py
index 55aaba6..09cf48f 100644
--- a/Lib/test/test_unicode.py
+++ b/Lib/test/test_unicode.py
@@ -404,6 +404,7 @@ class UnicodeTest(string_tests.CommonTest,
self.assertTrue("bc".isidentifier())
self.assertTrue("b_".isidentifier())
self.assertTrue("ยต".isidentifier())
+ self.assertTrue("๐”˜๐”ซ๐”ฆ๐” ๐”ฌ๐”ก๐”ข".isidentifier())
self.assertFalse(" ".isidentifier())
self.assertFalse("[".isidentifier())