summaryrefslogtreecommitdiff
path: root/docutils/test
diff options
context:
space:
mode:
authorwiemann <wiemann@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2004-11-26 09:27:55 +0000
committerwiemann <wiemann@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2004-11-26 09:27:55 +0000
commitf581c40df4ed37dbc2f9ec83abb76ed2c05a2ecc (patch)
treebf7c10a15c23ab737fe7703d2229b332dbd0d944 /docutils/test
parent29a2dd48a0bbaf7b0d9367ac187c69943938dce4 (diff)
downloaddocutils-f581c40df4ed37dbc2f9ec83abb76ed2c05a2ecc.tar.gz
allow empty sections and documents
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@2870 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/test')
-rwxr-xr-xdocutils/test/test_parsers/test_rst/test_section_headers.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/docutils/test/test_parsers/test_rst/test_section_headers.py b/docutils/test/test_parsers/test_rst/test_section_headers.py
index e1119f32a..f95ee6f89 100755
--- a/docutils/test/test_parsers/test_rst/test_section_headers.py
+++ b/docutils/test/test_parsers/test_rst/test_section_headers.py
@@ -853,9 +853,6 @@ Empty Section
<section id="empty-section" name="empty section">
<title>
Empty Section
- <system_message level="3" line="2" source="test data" type="ERROR">
- <paragraph>
- Section empty; must have contents.
"""],
["""\
===
@@ -891,9 +888,6 @@ Without it, the parser ends up in an infinite loop.
""",
"""\
<document source="test data">
- <system_message level="3" line="0" source="test data" type="ERROR">
- <paragraph>
- Document empty; must have contents.
"""],
]