diff options
| author | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2022-03-04 15:57:13 +0000 |
|---|---|---|
| committer | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2022-03-04 15:57:13 +0000 |
| commit | e45243a10d457bf01bbd3bf3aaf1aaa50e298cbf (patch) | |
| tree | a4ea7bb91a3c91d42d9adddcde61366df6b46f6c /test/DocutilsTestSupport.py | |
| parent | a23dd51777ed41b80dad9a6af40c50da557a9a40 (diff) | |
| download | docutils-e45243a10d457bf01bbd3bf3aaf1aaa50e298cbf.tar.gz | |
Ensure 2 blank lines around top-level functions and classes.
flake8 rules
E302: expected 2 blank lines, found 1
E305: expected 2 blank lines after class or function definition
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@9026 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'test/DocutilsTestSupport.py')
| -rw-r--r-- | test/DocutilsTestSupport.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/DocutilsTestSupport.py b/test/DocutilsTestSupport.py index 404771cfe..ef7c5b16a 100644 --- a/test/DocutilsTestSupport.py +++ b/test/DocutilsTestSupport.py @@ -528,6 +528,7 @@ if md_parser_class and md_parser_name == 'recommonmark': md_parser_class = None md_skip_msg = f'"{md_parser_name}" parser too old, skip tests' + @unittest.skipUnless(md_parser_class, md_skip_msg) class RecommonmarkParserTestCase(ParserTestCase): @@ -548,6 +549,7 @@ class RecommonmarkParserTestSuite(ParserTestSuite): test_case_class = RecommonmarkParserTestCase + class GridTableParserTestCase(CustomTestCase): parser = tableparser.GridTableParser() |
