3 # $Id: test_interpreted.py 6424 2010-09-18 10:43:52Z smerten $
4 # Author: David Goodger <goodger@python.org>
5 # Copyright: This module has been placed in the public domain.
8 Tests for interpreted text in docutils/parsers/rst/states.py.
9 Test not default/fallback language french.
12 from __init__
import DocutilsTestSupport
15 s
= DocutilsTestSupport
.ParserTestSuite(suite_settings
={'language_code':'fr'})
16 s
.generateTests(totest
)
23 Simple explicit roles and english fallbacks:
27 :titre:`title reference`.
30 <document source="test data">
32 Simple explicit roles and english fallbacks:
45 <system_message level="1" line="1" source="test data" type="INFO">
47 No role entry for "acronym" in module "docutils.parsers.rst.languages.fr".
48 Using English fallback for role "acronym".
52 if __name__
== '__main__':
54 unittest
.main(defaultTest
='suite')