#157: fix make check.

This commit is contained in:
Georg Brandl 2009-05-10 20:59:08 +02:00
parent e02e828cbe
commit ef01782f42
4 changed files with 7 additions and 4 deletions

View File

@ -9,7 +9,7 @@ all: clean-pyc check test
check:
@$(PYTHON) utils/check_sources.py -i sphinx/style/jquery.js \
-i sphinx/pycode/pgen2 -i sphinx/util/smartypants.py \
-i doc/_build -i ez_setup.py -i tests/path.py .
-i doc/_build -i ez_setup.py -i tests/path.py -i tests/coverage.py .
clean: clean-pyc clean-patchfiles

View File

@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
"""
sphinx.ext.inheritance_diagram
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

View File

@ -472,7 +472,8 @@ class HTMLTranslator(BaseTranslator):
u'title="%s">\u00B6</a>' %
_('Permalink to this headline'))
elif close_tag.startswith('</a></h'):
self.body.append(u'</a><a class="headerlink" href="#%s" ' % aname +
self.body.append(u'</a><a class="headerlink" href="#%s" ' %
aname +
u'title="%s">\u00B6' %
_('Permalink to this headline'))

View File

@ -111,7 +111,8 @@ def test_inline():
def test_latex_escaping():
# correct escaping in normal mode
yield verify, u'Γ\\\\∞$', None, ur'\(\Gamma\)\textbackslash{}\(\infty\)\$'
yield (verify, u'Γ\\\\∞$', None,
ur'\(\Gamma\)\textbackslash{}\(\infty\)\$')
# in verbatim code fragments
yield (verify, u'::\n\n\\∞$[]', None,
u'\\begin{Verbatim}[commandchars=@\\[\\]]\n'