Gentoo Archives: gentoo-commits

From: "Joel D. Martin (kanaka)" <kanaka@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-lang/python/files: python-2.4.4-test-cross.patch
Date: Tue, 11 Sep 2007 19:31:12
Message-Id: E1IVBL8-00074A-7P@stork.gentoo.org
1 kanaka 07/09/11 19:24:02
2
3 Added: python-2.4.4-test-cross.patch
4 Log:
5 Fix cross-compile check and add small cross-compile patch to remove in one of the tests when cross-compiling.
6 (Portage version: 2.1.2.12)
7
8 Revision Changes Path
9 1.1 dev-lang/python/files/python-2.4.4-test-cross.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/python/files/python-2.4.4-test-cross.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/python/files/python-2.4.4-test-cross.patch?rev=1.1&content-type=text/plain
13
14 Index: python-2.4.4-test-cross.patch
15 ===================================================================
16 --- Python-2.4.4/Lib/test/test_multibytecodec.py.orig 2007-09-10 14:52:34.424592960 -0400
17 +++ Python-2.4.4/Lib/test/test_multibytecodec.py 2007-09-10 14:53:30.646201491 -0400
18 @@ -81,11 +81,11 @@ class Test_ISO2022(unittest.TestCase):
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:
35
36
37
38 --
39 gentoo-commits@g.o mailing list