From 40dc919b0d44ead37d39a1daa8c84e07780a9bb2 Mon Sep 17 00:00:00 2001 From: Ezio Melotti Date: Fri, 11 Nov 2011 17:00:46 +0200 Subject: Fix range in test. --- Lib/test/test_unicode.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v0.12