keyfile=CERTFILE, ssl_context=self.create_ssl_context())
-def test_main():
+def load_tests(*args):
tests = [TestImaplib]
if support.is_resource_enabled('network'):
RemoteIMAPTest, RemoteIMAP_SSLTest, RemoteIMAP_STARTTLSTest,
])
- support.run_unittest(*tests)
+ return unittest.TestSuite([unittest.makeSuite(test) for test in tests])
if __name__ == "__main__":
support.use_resources = ['network']
- test_main()
+ unittest.main()
- Issue #15539: Added regression tests for Tools/scripts/pindent.py.
+- Issue #17333: test_imaplib now works with unittest test discovery.
+ Patch by Zachary Ware.
+
- Issue #17082: test_dbm* now work with unittest test discovery.
Patch by Zachary Ware.