diff --git a/Makefile b/Makefile index 108ed96dc..dbe7c36e2 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/sphinx/ext/inheritance_diagram.py b/sphinx/ext/inheritance_diagram.py index dd8af234d..9c037c998 100644 --- a/sphinx/ext/inheritance_diagram.py +++ b/sphinx/ext/inheritance_diagram.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- """ sphinx.ext.inheritance_diagram ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/writers/html.py b/sphinx/writers/html.py index 79b2fcc55..81df395bd 100644 --- a/sphinx/writers/html.py +++ b/sphinx/writers/html.py @@ -472,10 +472,11 @@ class HTMLTranslator(BaseTranslator): u'title="%s">\u00B6' % _('Permalink to this headline')) elif close_tag.startswith('\u00B6' % _('Permalink to this headline')) - + BaseTranslator.depart_title(self, node) def unknown_visit(self, node): diff --git a/tests/test_markup.py b/tests/test_markup.py index 28ec17f56..77f2016ed 100644 --- a/tests/test_markup.py +++ b/tests/test_markup.py @@ -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'