summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgrubert <grubert@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2022-12-03 14:03:44 +0000
committergrubert <grubert@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2022-12-03 14:03:44 +0000
commitdff2ce974c6fe0744646ee3f4defd9001e3733e2 (patch)
tree0edc5840c9750848d8b5ba5db34853b8219a57c9
parent7e837bfddea8289d055dd376ec187b0b7cc2750e (diff)
downloaddocutils-dff2ce974c6fe0744646ee3f4defd9001e3733e2.tar.gz
remove blanks at eol in code NOT in expects
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9305 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
-rw-r--r--docutils/test/test_writers/test_manpage.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/docutils/test/test_writers/test_manpage.py b/docutils/test/test_writers/test_manpage.py
index 9964e4161..89a026194 100644
--- a/docutils/test/test_writers/test_manpage.py
+++ b/docutils/test/test_writers/test_manpage.py
@@ -105,7 +105,7 @@ This broke docutils\-sphinx.
totest['simple'] = [
["""\
-========
+========
simple
========
@@ -152,7 +152,7 @@ With mixed case.
* bullet list
* bull and list
-.. admonition:: homegrown
+.. admonition:: homegrown
something important
@@ -160,7 +160,7 @@ With mixed case.
and . in a line and at line start
.in a paragraph
-""",
+""",
r""".\" Man page generated from reStructuredText.
.
""" + indend_macros + r""".TH "SIMPLE" 1 "2009-08-05" "0.1" "text processing"
@@ -239,7 +239,7 @@ totest['table'] = [
1 2
abc so
====== =====
-""",
+""",
'''\
.\\" Man page generated from reStructuredText.
.
@@ -296,7 +296,7 @@ $
]
bla bla bla
-""",
+""",
"""\
.\\" Man page generated from reStructuredText.
.
@@ -353,7 +353,7 @@ Section
Description of Term 1 Description of Term 1 Description of Term 1
Description of Term 1 Description of Term 1
-""",
+""",
'''\
.\\" Man page generated from reStructuredText.
.
@@ -383,7 +383,7 @@ totest['cmdlineoptions'] = [
-h, --help show this help
--output FILE, -o FILE output filename
-i DEVICE, --input DEVICE input device
-""",
+""",
r""".\" Man page generated from reStructuredText.
.
""" + indend_macros + r""".TH "" "" ""
@@ -478,7 +478,7 @@ totest['man_header'] = [
page title
============
-in short
+in short
--------
:Manual section: 3