Gentoo Archives: gentoo-commits

From: "Marien Zwart (marienz)" <marienz@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-vcs/bzr/files: bzr-2.5.1-sphinx-test-failures.patch
Date: Mon, 02 Jul 2012 11:54:40
Message-Id: 20120702115426.9AE052004B@flycatcher.gentoo.org
1 marienz 12/07/02 11:54:26
2
3 Added: bzr-2.5.1-sphinx-test-failures.patch
4 Log:
5 Add patch fixing sphinx-related tests, tighten test-only ftp server dep (see bzr relnotes). Bug #424395.
6
7 (Portage version: 2.2.0_alpha114/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 dev-vcs/bzr/files/bzr-2.5.1-sphinx-test-failures.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/bzr/files/bzr-2.5.1-sphinx-test-failures.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/bzr/files/bzr-2.5.1-sphinx-test-failures.patch?rev=1.1&content-type=text/plain
14
15 Index: bzr-2.5.1-sphinx-test-failures.patch
16 ===================================================================
17 Upstream revno 6523 ((vila) Avoid test sphinx-related failures now
18 that we don't have direct sphinx anymore. (Vincent Ladeuil))
19
20 === modified file 'bzrlib/tests/test_utextwrap.py'
21 --- bzrlib/tests/test_utextwrap.py 2011-05-28 06:44:01 +0000
22 +++ bzrlib/tests/test_utextwrap.py 2012-04-17 12:18:27 +0000
23 @@ -171,16 +171,6 @@
24
25
26 def setup_both(testcase, base_class, reused_class):
27 -
28 - if (features.sphinx.available()):
29 - # Until https://bitbucket.org/birkenfeld/sphinx/issue/706 is fixed,
30 - # we can't run these tests when sphinx <= 1.0.1 as it breaks
31 - # textwrap.TextWrapper.wordsep_re
32 - version = tuple(map(int,
33 - features.sphinx.module.__version__.split('.')))
34 - if version <= (1, 0, 7):
35 - raise tests.TestSkipped(
36 - 'sphinx textwrap monkeypatch breaks utextwrap')
37 super(base_class, testcase).setUp()
38 override_textwrap_symbols(testcase)
39 reused_class.setUp(testcase)