commit | 40dc919b0d44ead37d39a1daa8c84e07780a9bb2 | [log] [tgz] |
---|---|---|
author | Ezio Melotti <ezio.melotti@gmail.com> | Fri Nov 11 17:00:46 2011 +0200 |
committer | Ezio Melotti <ezio.melotti@gmail.com> | Fri Nov 11 17:00:46 2011 +0200 |
tree | 297896c01a67e7473ec3de00fbf2c9099c43ba00 | |
parent | e92ff0503cb006fa96f40928d5563b8cce44c4e4 [diff] [blame] |
Fix range in test.
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 @@ # 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)