From: | "Arfrever Frehtes Taifersar Arahesis (arfrever)" <arfrever@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-python/pygments/files: pygments-1.4-fix_tests.patch |
Date: | Fri, 04 Feb 2011 18:46:45 |
Message-Id: | 20110204184635.8F2D220057@flycatcher.gentoo.org |
1 | arfrever 11/02/04 18:46:35 |
2 | |
3 | Added: pygments-1.4-fix_tests.patch |
4 | Log: |
5 | Fix tests. |
6 | |
7 | (Portage version: 2.2.0_alpha19_p88/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 dev-python/pygments/files/pygments-1.4-fix_tests.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygments/files/pygments-1.4-fix_tests.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygments/files/pygments-1.4-fix_tests.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: pygments-1.4-fix_tests.patch |
16 | =================================================================== |
17 | https://bitbucket.org/birkenfeld/pygments-main/changeset/da2cb64f569c |
18 | |
19 | --- tests/test_basic_api.py |
20 | +++ tests/test_basic_api.py |
21 | @@ -55,6 +55,9 @@ |
22 | assert 'root' in cls._tokens, \ |
23 | '%s has no root state' % cls |
24 | |
25 | + if cls.name == 'XQuery': # XXX temporary |
26 | + return |
27 | + |
28 | tokens = list(inst.get_tokens(test_content)) |
29 | txt = "" |
30 | for token in tokens: |