]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-45229: Fix setUpModule in test_ssl (GH-28454)
authorSerhiy Storchaka <storchaka@gmail.com>
Sun, 19 Sep 2021 13:18:16 +0000 (16:18 +0300)
committerGitHub <noreply@github.com>
Sun, 19 Sep 2021 13:18:16 +0000 (16:18 +0300)
Lib/test/test_ssl.py

index db0539bd5fb3c14aa89a7fef9e7e832a87542ed4..981e2fe82ee4683d8b38efee71b870b84a11519d 100644 (file)
@@ -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)