* add a test for the parsed-literal directive

* adapt test to pygments output versus Sphinx-emulated nohighlighting output
This commit is contained in:
Georg Brandl
2014-01-11 10:25:34 +01:00
parent 0103ff2a2b
commit c5b4ff0adc
3 changed files with 6 additions and 2 deletions

View File

@@ -132,7 +132,7 @@ def test_latex_escaping():
# in verbatim code fragments
yield (verify, u'::\n\n\\∞${}', None,
u'\\begin{Verbatim}[commandchars=\\\\\\{\\}]\n'
u'@\\(\\Gamma\\)\\PYGZbs{}\\(\\infty\\)\\$\\PYGZob{}\\PYGZcb{}\n'
u'@\\(\\Gamma\\)\\PYGZbs{}\\(\\infty\\)\\PYGZdl{}\\PYGZob{}\\PYGZcb{}\n'
u'\\end{Verbatim}')
# in URIs
yield (verify_re, u'`test <http://example.com/~me/>`_', None,