[sagenb] 34/157: Doctest fix for sphinx 1.2

felix salfelder felix-guest at moszumanska.debian.org
Mon Dec 22 16:51:46 UTC 2014


This is an automated email from the git hooks/post-receive script.

felix-guest pushed a commit to branch master
in repository sagenb.

commit 9334f18a88ce549812741244ac61717950d73eb1
Author: Julien Puydt <julien.puydt at laposte.net>
Date:   Wed Aug 27 10:54:54 2014 +0200

    Doctest fix for sphinx 1.2
---
 sagenb/misc/sphinxify.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sagenb/misc/sphinxify.py b/sagenb/misc/sphinxify.py
index 2777f02..f399659 100644
--- a/sagenb/misc/sphinxify.py
+++ b/sagenb/misc/sphinxify.py
@@ -67,11 +67,11 @@ def sphinxify(docstring, format='html'):
 
         sage: from sagenb.misc.sphinxify import sphinxify
         sage: sphinxify('A test')
-        '\n<div class="docstring">\n    \n  <p>A test</p>\n\n\n</div>'
+        '...<div class="docstring">\n    \n  <p>A test</p>\n\n\n</div>'
         sage: sphinxify('**Testing**\n`monospace`')
-        '\n<div class="docstring"...<strong>Testing</strong>\n<span class="math"...</p>\n\n\n</div>'
+        '...<div class="docstring"...<strong>Testing</strong>\n<span class="math"...</p>\n\n\n</div>'
         sage: sphinxify('`x=y`')
-        '\n<div class="docstring">\n    \n  <p><span class="math">x=y</span></p>\n\n\n</div>'
+        '...<div class="docstring">\n    \n  <p><span class="math">x=y</span></p>\n\n\n</div>'
         sage: sphinxify('`x=y`', format='text')
         'x=y\n'
         sage: sphinxify(':math:`x=y`', format='text')

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/sagenb.git



More information about the debian-science-commits mailing list