mς
.αΈEc @ sB d k Z d k l Z d Z d e i f d YZ d Z d S( N( s HTMLsd Hello World
============
text text
Von Vφgeln und Φfen
===================
- some
- more
- text
t TestReSTc B sb t Z d Z d Z d Z d Z d Z d Z d Z d Z d Z
d
Z
RS( Nc C s d k l } d S( N( s rst( t docutils.parserst rst( t selfR ( ( t> /data/zmath/zope/lib/python/reStructuredText/tests/testReST.pyt testRoman s c C sA d } d } | t | | } | i d | j t | i d | j t | t | d } | i t d | | j t | i t d | | j t | t t | d | } | i d | j t | i d | j t | t t | d d } | i t d | | j t | i t d | | j t d S( Nc C s t | d | d | S( Nt input_encodingt output_encoding( t HTMLt txtt in_enct out_enc( R R
R ( ( R t _test s s iso-8859-15s Vφgels Φfent unicode( R t encodingR t htmlR t assertEqualt TrueR
( R R R R ( ( R t
testEncodings s c C s d } x t d d D] } t t d | d | d | } d | d | d f } | i | | j t d | d | d f } | i | | j t q Wd S(
Ns iso-8859-15i i R R t initial_header_levelsA
text
( t inputR R t outputR t assertEquals( R R R R ( ( R t testWithSingleSubtitleE s c C s d } | i t t | d S( Ns% hello world .. include:: /etc/passwd( t sourceR t assertRaisest NotImplementedErrorR ( R R ( ( R t test_include_directive_raisesU s c C sl d } d | } t | } | i | | j | i d | j d k l } | i | | | j d S( Ns