From: | "Ali Polatel (hawking)" <hawking@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-lang/python/files: python-2.6-test-cross.patch |
Date: | Sun, 05 Oct 2008 00:55:35 |
Message-Id: | E1KmHuG-0004gp-R3@stork.gentoo.org |
1 | hawking 08/10/05 00:55:32 |
2 | |
3 | Added: python-2.6-test-cross.patch |
4 | Log: |
5 | Version bump. Drop old. |
6 | (Portage version: -svn/cvs/Linux 2.6.26-gentoo x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 dev-lang/python/files/python-2.6-test-cross.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/python/files/python-2.6-test-cross.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/python/files/python-2.6-test-cross.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: python-2.6-test-cross.patch |
15 | =================================================================== |
16 | --- Lib/test/test_multibytecodec.py.orig 2008-04-19 18:48:59.000000000 +0300 |
17 | +++ Lib/test/test_multibytecodec.py 2008-04-19 18:49:44.000000000 +0300 |
18 | @@ -212,11 +212,11 @@ |
19 | uni = u':hu4:unit\xe9 de famille' |
20 | self.assertEqual(iso2022jp2.decode('iso2022-jp-2'), uni) |
21 | |
22 | - def test_iso2022_jp_g0(self): |
23 | - self.failIf('\x0e' in u'\N{SOFT HYPHEN}'.encode('iso-2022-jp-2')) |
24 | - for encoding in ('iso-2022-jp-2004', 'iso-2022-jp-3'): |
25 | - e = u'\u3406'.encode(encoding) |
26 | - self.failIf(filter(lambda x: x >= '\x80', e)) |
27 | + #def test_iso2022_jp_g0(self): |
28 | + # self.failIf('\x0e' in u'\N{SOFT HYPHEN}'.encode('iso-2022-jp-2')) |
29 | + # for encoding in ('iso-2022-jp-2004', 'iso-2022-jp-3'): |
30 | + # e = u'\u3406'.encode(encoding) |
31 | + # self.failIf(filter(lambda x: x >= '\x80', e)) |
32 | |
33 | def test_bug1572832(self): |
34 | if sys.maxunicode >= 0x10000: |