summaryrefslogtreecommitdiff
path: root/tests/test_markup.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-01-10 22:18:18 +0100
committerGeorg Brandl <georg@python.org>2009-01-10 22:18:18 +0100
commitaedbdd953d4ea4129273294316c23780cda9cb3b (patch)
tree5044c2146ca4b1756136040d0b4365685b0c4f84 /tests/test_markup.py
parentb068e9180365a5d74d4fb02b003d7a05f99ffac3 (diff)
downloadsphinx-git-aedbdd953d4ea4129273294316c23780cda9cb3b.tar.gz
Fix more line length and trailing whitespace.
Diffstat (limited to 'tests/test_markup.py')
-rw-r--r--tests/test_markup.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/test_markup.py b/tests/test_markup.py
index 99c859114..cd6de5614 100644
--- a/tests/test_markup.py
+++ b/tests/test_markup.py
@@ -25,7 +25,8 @@ def setup_module():
global app, settings, parser
texescape.init() # otherwise done by the latex builder
app = TestApp(cleanenv=True)
- optparser = frontend.OptionParser(components=(rst.Parser, HTMLWriter, LaTeXWriter))
+ optparser = frontend.OptionParser(
+ components=(rst.Parser, HTMLWriter, LaTeXWriter))
settings = optparser.get_default_values()
settings.env = app.builder.env
parser = rst.Parser()
@@ -85,7 +86,8 @@ def test_inline():
# interpolation of braces in samp and file roles (HTML only)
verify(':samp:`a{b}c`',
'<p><tt class="docutils literal"><span class="pre">a</span>'
- '<em><span class="pre">b</span></em><span class="pre">c</span></tt></p>',
+ '<em><span class="pre">b</span></em>'
+ '<span class="pre">c</span></tt></p>',
'\\samp{abc}')
# interpolation of arrows in menuselection