~ubuntu-branches/ubuntu/karmic/python-docutils/karmic

« back to all changes in this revision

Viewing changes to test/test_parsers/test_rst/test_directives/test_topics.py

  • Committer: Bazaar Package Importer
  • Author(s): martin f. krafft
  • Date: 2006-07-10 11:45:05 UTC
  • mfrom: (2.1.4 edgy)
  • Revision ID: james.westby@ubuntu.com-20060710114505-otkhqcslevewxmz5
Tags: 0.4-3
Added build dependency on python-central (closes: #377580).

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
# Author: David Goodger
4
4
# Contact: goodger@users.sourceforge.net
5
 
# Revision: $Revision: 1.6 $
6
 
# Date: $Date: 2003/02/20 22:35:48 $
 
5
# Revision: $Revision: 3199 $
 
6
# Date: $Date: 2005-04-09 03:32:29 +0200 (Sat, 09 Apr 2005) $
7
7
# Copyright: This module has been placed in the public domain.
8
8
 
9
9
"""
121
121
            Title
122
122
        <system_message level="3" line="3" source="test data" type="ERROR">
123
123
            <paragraph>
124
 
                The "topic" directive may not be used within topics, sidebars, or body elements.
 
124
                The "topic" directive may not be used within topics or body elements.
125
125
            <literal_block xml:space="preserve">
126
126
                .. topic:: Nested
127
127
                \n\
142
142
            Title
143
143
        <system_message level="3" line="3" source="test data" type="ERROR">
144
144
            <paragraph>
145
 
                The "topic" directive may not be used within topics, sidebars, or body elements.
 
145
                The "topic" directive may not be used within topics or body elements.
146
146
            <literal_block xml:space="preserve">
147
147
                .. topic:: Nested
148
148
                \n\
171
171
            Title
172
172
        <system_message level="3" line="3" source="test data" type="ERROR">
173
173
            <paragraph>
174
 
                The "topic" directive may not be used within topics, sidebars, or body elements.
 
174
                The "topic" directive may not be used within topics or body elements.
175
175
            <literal_block xml:space="preserve">
176
176
                .. topic:: Nested
177
177
                \n\
222
222
            Title
223
223
        <subtitle>
224
224
            Outer
225
 
        <system_message level="3" line="4" source="test data" type="ERROR">
 
225
        <topic>
 
226
            <title>
 
227
                Nested
226
228
            <paragraph>
227
 
                The "topic" directive may not be used within topics, sidebars, or body elements.
228
 
            <literal_block xml:space="preserve">
229
 
                .. topic:: Nested
230
 
                \n\
231
 
                   Body.
 
229
                Body.
232
230
        <paragraph>
233
231
            More.
234
232
    <paragraph>