Rev 5922: Fixed as per poolie's review. in file:///home/vila/src/bzr/bugs/785098-utextwrap-failure/

Vincent Ladeuil v.ladeuil+lp at free.fr
Fri May 27 21:16:36 UTC 2011


At file:///home/vila/src/bzr/bugs/785098-utextwrap-failure/

------------------------------------------------------------
revno: 5922
revision-id: v.ladeuil+lp at free.fr-20110527211636-84s1jad05ndvyj49
parent: v.ladeuil+lp at free.fr-20110526182645-8mbh14c1p17064dc
committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
branch nick: 785098-utextwrap-failure
timestamp: Fri 2011-05-27 23:16:36 +0200
message:
  Fixed as per poolie's review.
-------------- next part --------------
=== modified file 'bzrlib/tests/test_utextwrap.py'
--- a/bzrlib/tests/test_utextwrap.py	2011-05-26 18:26:45 +0000
+++ b/bzrlib/tests/test_utextwrap.py	2011-05-27 21:16:36 +0000
@@ -174,12 +174,13 @@
         
         if (features.sphinx.available()):
             # Until https://bitbucket.org/birkenfeld/sphinx/issue/706 is fixed,
-            # we can't run these tests when sphinx <= 1.0.1
+            # we can't run these tests when sphinx <= 1.0.1 as it breaks
+            # textwrap.TextWrapper.wordsep_re
             version = tuple(map(int,
                                 features.sphinx.module.__version__.split('.')))
             if version <= (1, 0, 1):
-                raise tests.TestSkipped('sphinx monkeypatch textwrap')
-        testcase.debug()
+                raise tests.TestSkipped(
+                    'sphinx textwrap monkeypatch breaks utextwrap')
         super(base_class, testcase).setUp()
         override_textwrap_symbols(testcase)
         reused_class.setUp(testcase)



More information about the bazaar-commits mailing list