4 # Author: David Goodger <goodger@python.org>
5 # Copyright: This module has been placed in the public domain.
11 from __init__
import DocutilsTestSupport
14 s
= DocutilsTestSupport
.ParserTestSuite()
15 s
.generateTests(totest
)
20 totest
['outdenting'] = [
22 Anywhere a paragraph would have an effect on the current
23 indentation level, a comment or list item should also.
27 This paragraph ends the bullet list item before a block quote.
32 <document source="test data">
34 Anywhere a paragraph would have an effect on the current
35 indentation level, a comment or list item should also.
36 <bullet_list bullet="+">
41 This paragraph ends the bullet list item before a block quote.
49 .. Comments swallow up all indented text following.
51 (Therefore this is not a) block quote.
55 If we want a block quote after this bullet list item,
56 we need to use an empty comment:
63 <document source="test data">
64 <bullet_list bullet="+">
68 <comment xml:space="preserve">
69 Comments swallow up all indented text following.
71 (Therefore this is not a) block quote.
72 <bullet_list bullet="-">
77 If we want a block quote after this bullet list item,
78 we need to use an empty comment:
79 <comment xml:space="preserve">
86 if __name__
== '__main__':
88 unittest
.main(defaultTest
='suite')