diff options
-rw-r--r-- | Lib/test/test_bigaddrspace.py | 2 | ||||
-rw-r--r-- | Tools/unicode/mkstringprep.py | 5 |
2 files changed, 2 insertions, 5 deletions
diff --git a/Lib/test/test_bigaddrspace.py b/Lib/test/test_bigaddrspace.py index b639f68..aa1f8ca 100644 --- a/Lib/test/test_bigaddrspace.py +++ b/Lib/test/test_bigaddrspace.py @@ -55,7 +55,7 @@ class BytesTest(unittest.TestCase): class StrTest(unittest.TestCase): - unicodesize = 2 if sys.maxunicode < 65536 else 4 + unicodesize = 4 @bigaddrspacetest def test_concat(self): diff --git a/Tools/unicode/mkstringprep.py b/Tools/unicode/mkstringprep.py index ead020c..4271883 100644 --- a/Tools/unicode/mkstringprep.py +++ b/Tools/unicode/mkstringprep.py @@ -1,9 +1,6 @@ -import re, sys +import re from unicodedata import ucd_3_2_0 as unicodedata -if sys.maxunicode == 65535: - raise RuntimeError("need UCS-4 Python") - def gen_category(cats): for i in range(0, 0x110000): if unicodedata.category(chr(i)) in cats: |