blob: 0ff41939ad72e31dc3a3b08ce908f2e4d49fca92 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
--- Lib/test/test_multibytecodec.py.orig 2008-04-19 18:48:59.000000000 +0300
+++ Lib/test/test_multibytecodec.py 2008-04-19 18:49:44.000000000 +0300
@@ -212,11 +212,11 @@
uni = u':hu4:unit\xe9 de famille'
self.assertEqual(iso2022jp2.decode('iso2022-jp-2'), uni)
- def test_iso2022_jp_g0(self):
- self.failIf('\x0e' in u'\N{SOFT HYPHEN}'.encode('iso-2022-jp-2'))
- for encoding in ('iso-2022-jp-2004', 'iso-2022-jp-3'):
- e = u'\u3406'.encode(encoding)
- self.failIf(filter(lambda x: x >= '\x80', e))
+ #def test_iso2022_jp_g0(self):
+ # self.failIf('\x0e' in u'\N{SOFT HYPHEN}'.encode('iso-2022-jp-2'))
+ # for encoding in ('iso-2022-jp-2004', 'iso-2022-jp-3'):
+ # e = u'\u3406'.encode(encoding)
+ # self.failIf(filter(lambda x: x >= '\x80', e))
def test_bug1572832(self):
if sys.maxunicode >= 0x10000:
|