]> granicus.if.org Git - python/commitdiff
Skip nameprep test 3.43, as we do allow unassigned characters. The test
authorMartin v. Löwis <martin@v.loewis.de>
Fri, 18 Apr 2003 20:21:00 +0000 (20:21 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Fri, 18 Apr 2003 20:21:00 +0000 (20:21 +0000)
fails only in UCS-2 mode, since it tests a non-BMP character.

Lib/test/test_codecs.py

index 769a40d20aa48f95e3816f791aa725b83efc05c8..17395d322957ceb3416ffd62b5934af3a8b143b3 100644 (file)
@@ -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'