summaryrefslogtreecommitdiff
path: root/docutils
diff options
context:
space:
mode:
authorgrubert <grubert@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2021-04-09 11:44:41 +0000
committergrubert <grubert@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2021-04-09 11:44:41 +0000
commit06c07004bd87fd0058c28dcfab586708023e976c (patch)
treec06a25dda4fff356d08161130967e8ed7387858e /docutils
parent311bee81c2ccc8237624a245809c1150d6ef2d3a (diff)
downloaddocutils-06c07004bd87fd0058c28dcfab586708023e976c.tar.gz
fix deprecation warning, simpler text
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8678 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils')
-rw-r--r--docutils/test/test_writers/test_manpage.py30
1 files changed, 12 insertions, 18 deletions
diff --git a/docutils/test/test_writers/test_manpage.py b/docutils/test/test_writers/test_manpage.py
index 655827aba..a57a96ec3 100644
--- a/docutils/test/test_writers/test_manpage.py
+++ b/docutils/test/test_writers/test_manpage.py
@@ -56,11 +56,10 @@ totest['blank'] = [
r""".\" Man page generated from reStructuredText.
.
"""+indend_macros+
-""".TH "" "" "" ""
+r""".TH "" "" "" ""
.SH NAME
\-
-"""+
-r""".\" Generated by docutils manpage writer.
+.\" Generated by docutils manpage writer.
.
"""],
[r"""Hello, world.
@@ -73,11 +72,10 @@ r""".\" Generated by docutils manpage writer.
r""".\" Man page generated from reStructuredText.
.
"""+indend_macros+
-""".TH "HELLO, WORLD." "" "" ""
+r""".TH "HELLO, WORLD." "" "" ""
.SH NAME
Hello, world. \-
-"""+
-r""".sp
+.sp
\fBWARNING:\fP
.INDENT 0.0
.INDENT 3.5
@@ -150,11 +148,10 @@ and . in a line and at line start
r""".\" Man page generated from reStructuredText.
.
"""+indend_macros+
-""".TH "SIMPLE" 1 "2009-08-05" "0.1" "text processing"
+r""".TH "SIMPLE" 1 "2009-08-05" "0.1" "text processing"
.SH NAME
simple \- The way to go
-"""+
-r""".SH SYNOPSIS
+.SH SYNOPSIS
.INDENT 0.0
.INDENT 3.5
.sp
@@ -377,11 +374,10 @@ totest['cmdlineoptions'] = [
r""".\" Man page generated from reStructuredText.
.
"""+indend_macros+
-""".TH "" "" "" ""
+r""".TH "" "" "" ""
.SH NAME
\-
-"""+
-r""".INDENT 0.0
+.INDENT 0.0
.TP
.B optional arguments:
.INDENT 7.0
@@ -408,11 +404,10 @@ totest['citation'] = [
r""".\" Man page generated from reStructuredText.
.
"""+indend_macros+
-""".TH "" "" "" ""
+r""".TH "" "" "" ""
.SH NAME
\-
-"""+
-r""".IP [docutils] 5
+.IP [docutils] 5
blah blah blah
.IP [empty_citation] 5
.\" Generated by docutils manpage writer.
@@ -429,11 +424,10 @@ totest['rubric'] = [
r""".\" Man page generated from reStructuredText.
.
"""+indend_macros+
-""".TH "" "" "" ""
+r""".TH "" "" "" ""
.SH NAME
\-
-"""+
-r"""some rubric
+some rubric
.INDENT 0.0
.IP \(bu 2
followed by