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 79f7a4c commit 75df36eCopy full SHA for 75df36e
Lib/test/test_pep646_syntax.py
@@ -1,3 +1,5 @@
1
+import doctest
2
+
3
doctests = """
4
5
Setup
@@ -317,10 +319,10 @@
317
319
318
320
__test__ = {'doctests' : doctests}
321
-def test_main(verbose=False):
- from test import support
322
- from test import test_pep646_syntax
323
- return support.run_doctest(test_pep646_syntax, verbose)
+def load_tests(loader, tests, pattern):
+ tests.addTest(doctest.DocTestSuite())
324
+ return tests
325
326
327
if __name__ == "__main__":
- test_main(verbose=True)
328
+ unittest.main()
0 commit comments