]> granicus.if.org Git - python/commitdiff
test_unicode_error(): Comment this test out, since we still have
authorBarry Warsaw <barry@python.org>
Thu, 26 Sep 2002 17:21:53 +0000 (17:21 +0000)
committerBarry Warsaw <barry@python.org>
Thu, 26 Sep 2002 17:21:53 +0000 (17:21 +0000)
controversy.

Lib/email/test/test_email.py

index a63adc87d559e91020e5d6a0a6fbd862a01cd9d6..46e1b006c9695fca1a589d24007e4abd74429706 100644 (file)
@@ -2156,14 +2156,14 @@ A very long line that must get split to something other than at the
         h.append('hello', 'iso-8859-1')
         eq(h, '=?iso-8859-1?q?hello?=')
 
-    def test_unicode_error(self):
-        raises = self.assertRaises
-        raises(UnicodeError, Header, u'[P\xf6stal]', 'us-ascii')
-        raises(UnicodeError, Header, '[P\xf6stal]', 'us-ascii')
-        h = Header()
-        raises(UnicodeError, h.append, u'[P\xf6stal]', 'us-ascii')
-        raises(UnicodeError, h.append, '[P\xf6stal]', 'us-ascii')
-        raises(UnicodeError, Header, u'\u83ca\u5730\u6642\u592b', 'iso-8859-1')
+##    def test_unicode_error(self):
+##        raises = self.assertRaises
+##        raises(UnicodeError, Header, u'[P\xf6stal]', 'us-ascii')
+##        raises(UnicodeError, Header, '[P\xf6stal]', 'us-ascii')
+##        h = Header()
+##        raises(UnicodeError, h.append, u'[P\xf6stal]', 'us-ascii')
+##        raises(UnicodeError, h.append, '[P\xf6stal]', 'us-ascii')
+##        raises(UnicodeError, Header, u'\u83ca\u5730\u6642\u592b', 'iso-8859-1')
 
 
 \f