aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmarkdown/tests/test_apis.py20
1 files changed, 0 insertions, 20 deletions
diff --git a/markdown/tests/test_apis.py b/markdown/tests/test_apis.py
index 59b5a2e..3aaa2f9 100755
--- a/markdown/tests/test_apis.py
+++ b/markdown/tests/test_apis.py
@@ -212,23 +212,3 @@ class TestOrderedDict(unittest.TestCase):
[('first', 'This'), ('fourth', 'self'),
('third', 'a'), ('fifth', 'test')])
-def suite():
- """ Build a test suite of the above tests and extension doctests. """
- suite = unittest.TestSuite()
- suite.addTest(unittest.makeSuite(TestMarkdown))
- suite.addTest(unittest.makeSuite(TestBlockParser))
- suite.addTest(unittest.makeSuite(TestBlockParserState))
- suite.addTest(unittest.makeSuite(TestHtmlStash))
- suite.addTest(unittest.makeSuite(TestOrderedDict))
-
- for filename in os.listdir('markdown/extensions'):
- if filename.endswith('.py'):
- module = 'markdown.extensions.%s' % filename[:-3]
- try:
- suite.addTest(DocTestSuite(module))
- except: ValueError
- # No tests
- return suite
-
-if __name__ == '__main__':
- unittest.TextTestRunner(verbosity=2).run(suite())