[Python-checkins] bpo-45229: Fix setUpModule in test_ssl (GH-28454)

serhiy-storchaka webhook-mailer at python.org
Sun Sep 19 09:18:20 EDT 2021


https://github.com/python/cpython/commit/a6241773869b80f2b1cac63f26ba646aa808a8db
commit: a6241773869b80f2b1cac63f26ba646aa808a8db
branch: main
author: Serhiy Storchaka <storchaka at gmail.com>
committer: serhiy-storchaka <storchaka at gmail.com>
date: 2021-09-19T16:18:16+03:00
summary:

bpo-45229: Fix setUpModule in test_ssl (GH-28454)

files:
M Lib/test/test_ssl.py

diff --git a/Lib/test/test_ssl.py b/Lib/test/test_ssl.py
index db0539bd5fb3c..981e2fe82ee46 100644
--- a/Lib/test/test_ssl.py
+++ b/Lib/test/test_ssl.py
@@ -5046,8 +5046,6 @@ def setUpModule():
         if not os.path.exists(filename):
             raise support.TestFailed("Can't read certificate file %r" % filename)
 
-
-def setUpModule():
     thread_info = threading_helper.threading_setup()
     unittest.addModuleCleanup(threading_helper.threading_cleanup, *thread_info)
 



More information about the Python-checkins mailing list