diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2011-02-04 18:46:35 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2011-02-04 18:46:35 +0000 |
commit | 7eb176536d29d076f4b053fd550d20d73d8fdf3a (patch) | |
tree | 8d07c1f452accda580c35b788e7c9876ee843ae3 /dev-python/pygments/files | |
parent | Bug #353231: Version bump. (diff) | |
download | gentoo-2-7eb176536d29d076f4b053fd550d20d73d8fdf3a.tar.gz gentoo-2-7eb176536d29d076f4b053fd550d20d73d8fdf3a.tar.bz2 gentoo-2-7eb176536d29d076f4b053fd550d20d73d8fdf3a.zip |
Fix tests.
(Portage version: 2.2.0_alpha19_p88/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/pygments/files')
-rw-r--r-- | dev-python/pygments/files/pygments-1.4-fix_tests.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/dev-python/pygments/files/pygments-1.4-fix_tests.patch b/dev-python/pygments/files/pygments-1.4-fix_tests.patch new file mode 100644 index 000000000000..d579dab02c23 --- /dev/null +++ b/dev-python/pygments/files/pygments-1.4-fix_tests.patch @@ -0,0 +1,14 @@ +https://bitbucket.org/birkenfeld/pygments-main/changeset/da2cb64f569c + +--- tests/test_basic_api.py ++++ tests/test_basic_api.py +@@ -55,6 +55,9 @@ + assert 'root' in cls._tokens, \ + '%s has no root state' % cls + ++ if cls.name == 'XQuery': # XXX temporary ++ return ++ + tokens = list(inst.get_tokens(test_content)) + txt = "" + for token in tokens: |