diff options
| author | goodger <goodger@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2004-11-01 02:58:09 +0000 |
|---|---|---|
| committer | goodger <goodger@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2004-11-01 02:58:09 +0000 |
| commit | 8f7072372d84294b4f17f8005225c2911fe0e909 (patch) | |
| tree | 0aa8f045a4aba13a90cf4d040ba65176079c3507 /docutils/test/DocutilsTestSupport.py | |
| parent | 27bb8388e35b7ddafa2a973dec910437893c1c9c (diff) | |
| download | docutils-8f7072372d84294b4f17f8005225c2911fe0e909.tar.gz | |
removed ParserTransformTestCase (it was mixing testing modes)
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@2791 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/test/DocutilsTestSupport.py')
| -rw-r--r-- | docutils/test/DocutilsTestSupport.py | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/docutils/test/DocutilsTestSupport.py b/docutils/test/DocutilsTestSupport.py index 5a9951da9..221336336 100644 --- a/docutils/test/DocutilsTestSupport.py +++ b/docutils/test/DocutilsTestSupport.py @@ -427,31 +427,6 @@ class ParserTestSuite(CustomTestSuite): run_in_debugger=run_in_debugger) -class ParserTransformTestCase(ParserTestCase): - - """ - Like ParserTestCase, except that default transforms are run. - - For use with ParserTestSuite. - """ - - # Get settings with report_level == 1 from TransformTestCase - settings = TransformTestCase.settings - - def test_parser(self): - if self.run_in_debugger: - pdb.set_trace() - document = utils.new_document('test data', self.settings) - # Remove any additions made by "role" directives: - roles._roles = {} - self.parser.parse(self.input, document) - document.transformer.populate_from_components([rst.Parser]) - document.transformer.apply_transforms() - output = document.pformat() - self.compare_output(self.input, output, self.expected) - - - class PEPParserTestCase(ParserTestCase): """PEP-specific parser test case.""" |
