~ubuntu-branches/ubuntu/jaunty/python-docutils/jaunty

« back to all changes in this revision

Viewing changes to test/test_parsers/test_rst/test_bullet_lists.py

  • Committer: Bazaar Package Importer
  • Author(s): Simon McVittie
  • Date: 2008-07-24 10:39:53 UTC
  • mfrom: (1.1.4 upstream) (3.1.7 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080724103953-8gh4uezg17g9ysgy
Tags: 0.5-2
* Upload docutils 0.5 to unstable
* Update rst.el to upstream Subversion r5596, which apparently fixes
  all its performance problems (17_speed_up_rst_el.dpatch, closes: #474941)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /usr/bin/env python
2
2
 
3
 
# Author: David Goodger
4
 
# Contact: goodger@users.sourceforge.net
5
 
# Revision: $Revision: 778 $
6
 
# Date: $Date: 2002-10-09 02:51:53 +0200 (Wed, 09 Oct 2002) $
 
3
# $Id: test_bullet_lists.py 4593 2006-06-04 21:38:21Z wiemann $
 
4
# Author: David Goodger <goodger@python.org>
7
5
# Copyright: This module has been placed in the public domain.
8
6
 
9
7
"""
174
172
    <paragraph>
175
173
        empty item above, no blank line
176
174
"""],
 
175
[u"""\
 
176
Unicode bullets:
 
177
 
 
178
\u2022 BULLET
 
179
 
 
180
\u2023 TRIANGULAR BULLET
 
181
 
 
182
\u2043 HYPHEN BULLET
 
183
""",
 
184
u"""\
 
185
<document source="test data">
 
186
    <paragraph>
 
187
        Unicode bullets:
 
188
    <bullet_list bullet="\u2022">
 
189
        <list_item>
 
190
            <paragraph>
 
191
                BULLET
 
192
    <bullet_list bullet="\u2023">
 
193
        <list_item>
 
194
            <paragraph>
 
195
                TRIANGULAR BULLET
 
196
    <bullet_list bullet="\u2043">
 
197
        <list_item>
 
198
            <paragraph>
 
199
                HYPHEN BULLET
 
200
"""],
177
201
]
178
202
 
179
203
if __name__ == '__main__':