We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 331b026 commit d5c2d45Copy full SHA for d5c2d45
Lib/test/test_pep646_syntax.py
@@ -1,3 +1,6 @@
1
+import doctest
2
+import unittest
3
+
4
doctests = """
5
6
Setup
@@ -317,10 +320,10 @@
317
320
318
321
__test__ = {'doctests' : doctests}
319
322
-def test_main(verbose=False):
- from test import support
- from test import test_pep646_syntax
323
- return support.run_doctest(test_pep646_syntax, verbose)
+def load_tests(loader, tests, pattern):
324
+ tests.addTest(doctest.DocTestSuite())
325
+ return tests
326
327
328
if __name__ == "__main__":
- test_main(verbose=True)
329
+ unittest.main()
0 commit comments