summaryrefslogtreecommitdiff
path: root/docutils/test/DocutilsTestSupport.py
diff options
context:
space:
mode:
authoraa-turner <aa-turner@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2022-11-08 17:07:50 +0000
committeraa-turner <aa-turner@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2022-11-08 17:07:50 +0000
commitc47faccf738e3c1b90e4529345563c5242ace2b4 (patch)
tree7555da5d35ab1a73fcc2075c2a48dc46292f1e02 /docutils/test/DocutilsTestSupport.py
parent2511b1a11e742be94bb5742b891272a4983f3379 (diff)
downloaddocutils-c47faccf738e3c1b90e4529345563c5242ace2b4.tar.gz
Inline ``PEPParserTestSuite``
- Move all usages of ``PEPParserTestSuite.generateTests`` to using subtests, as part of the test suite refactoring project git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9225 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/test/DocutilsTestSupport.py')
-rw-r--r--docutils/test/DocutilsTestSupport.py22
1 files changed, 0 insertions, 22 deletions
diff --git a/docutils/test/DocutilsTestSupport.py b/docutils/test/DocutilsTestSupport.py
index 0ee2b8190..2c57b7e9e 100644
--- a/docutils/test/DocutilsTestSupport.py
+++ b/docutils/test/DocutilsTestSupport.py
@@ -18,8 +18,6 @@ Exports the following:
- `TransformTestSuite`
- `ParserTestCase`
- `ParserTestSuite`
- - `PEPParserTestCase`
- - `PEPParserTestSuite`
- `WriterPublishTestCase`
- `PublishTestSuite`
"""
@@ -340,26 +338,6 @@ class ParserTestSuite(CustomTestSuite):
id=f'totest[{name!r}][{casenum}]')
-class PEPParserTestCase(ParserTestCase):
-
- """PEP-specific parser test case."""
-
- parser = rst.Parser(rfc2822=True, inliner=rst.states.Inliner())
- """Parser shared by all PEPParserTestCases."""
-
- settings = frontend.get_default_settings(rst.Parser, pep.Reader)
- settings.report_level = 5
- settings.halt_level = 5
- settings.debug = False
-
-
-class PEPParserTestSuite(ParserTestSuite):
-
- """A collection of PEPParserTestCases."""
-
- test_case_class = PEPParserTestCase
-
-
class WriterPublishTestCase(CustomTestCase, docutils.SettingsSpec):
"""