diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2011-11-11 15:00:46 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2011-11-11 15:00:46 (GMT) |
commit | 40dc919b0d44ead37d39a1daa8c84e07780a9bb2 (patch) | |
tree | 297896c01a67e7473ec3de00fbf2c9099c43ba00 /Lib/test/test_unicode.py | |
parent | e92ff0503cb006fa96f40928d5563b8cce44c4e4 (diff) | |
download | cpython-40dc919b0d44ead37d39a1daa8c84e07780a9bb2.zip cpython-40dc919b0d44ead37d39a1daa8c84e07780a9bb2.tar.gz cpython-40dc919b0d44ead37d39a1daa8c84e07780a9bb2.tar.bz2 |
Fix range in test.
Diffstat (limited to 'Lib/test/test_unicode.py')
-rw-r--r-- | Lib/test/test_unicode.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_unicode.py b/Lib/test/test_unicode.py index 811da0a..5b044e2 100644 --- a/Lib/test/test_unicode.py +++ b/Lib/test/test_unicode.py @@ -1410,7 +1410,7 @@ class UnicodeTest(string_tests.CommonTest, # UTF-8 must be roundtrip safe for all code points # (except surrogates, which are forbidden). u = ''.join(map(chr, list(range(0, 0xd800)) + - list(range(0xe000, 0x10ffff)))) + list(range(0xe000, 0x110000)))) for encoding in ('utf-8',): self.assertEqual(str(u.encode(encoding),encoding), u) |