Commit add7cbfb authored by Michael Foord's avatar Michael Foord

Fix so that test.test_unittest can be executed by unittest and not just regrtest

parent a9c7a8fa
......@@ -4,8 +4,13 @@ from test import support
def test_main():
# used by regrtest
support.run_unittest(unittest.test.suite())
support.reap_children()
def load_tests(*_):
# used by unittest
return unittest.test.suite()
if __name__ == "__main__":
test_main()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment