From: Martin v. Löwis Date: Fri, 18 Apr 2003 20:21:00 +0000 (+0000) Subject: Skip nameprep test 3.43, as we do allow unassigned characters. The test X-Git-Tag: v2.3c1~1126 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b5c4b7be3fc0c04f30535b456a22baef4d9b324e;p=thirdparty%2FPython%2Fcpython.git Skip nameprep test 3.43, as we do allow unassigned characters. The test fails only in UCS-2 mode, since it tests a non-BMP character. --- diff --git a/Lib/test/test_codecs.py b/Lib/test/test_codecs.py index 769a40d20aa4..17395d322957 100644 --- a/Lib/test/test_codecs.py +++ b/Lib/test/test_codecs.py @@ -294,8 +294,10 @@ nameprep_tests = [ ('\xd8\xa71\xd8\xa8', '\xd8\xa71\xd8\xa8'), # 3.43 Unassigned code point U+E0002. - ('\xf3\xa0\x80\x82', - None), + # Skip this test as we allow unassigned + #('\xf3\xa0\x80\x82', + # None), + (None, None), # 3.44 Larger test (shrinking). # Original test case reads \xc3\xdf ('X\xc2\xad\xc3\x9f\xc4\xb0\xe2\x84\xa1j\xcc\x8c\xc2\xa0\xc2'