non csv-tables accept option widths
[docutils.git] / test / local-parser.py
blob44238ca5789b056dfc368b951e279e0bf0b2b94c
1 # -*- coding: utf-8 -*-
2 # $Id$
3 # Authors: Engelbert Gruber <grubert@users.sourceforge.net>
4 # Toshio Kuratomi <toshio@fedoraproject.org>
5 # Copyright: This module is put into the public domain.
7 """
8 mini-reader to test get_reader_class with local reader
9 """
11 from docutils import parsers
13 class Parser(parsers.Parser):
15 supported = ('dummy',)
16 """Formats this reader supports."""
18 def parser(self, inputstring, document):
19 self.setup_parse(inputstring, document)
20 document = dict()
21 self.finish_parse()