From: Serhiy Storchaka Date: Sun, 19 Sep 2021 13:18:16 +0000 (+0300) Subject: bpo-45229: Fix setUpModule in test_ssl (GH-28454) X-Git-Tag: v3.11.0a1~122 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a6241773869b80f2b1cac63f26ba646aa808a8db;p=thirdparty%2FPython%2Fcpython.git bpo-45229: Fix setUpModule in test_ssl (GH-28454) --- diff --git a/Lib/test/test_ssl.py b/Lib/test/test_ssl.py index db0539bd5fb3..981e2fe82ee4 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)