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

diff --git a/Lib/test/test_ssl.py b/Lib/test/test_ssl.py
index db0539b..981e2fe 100644
--- a/Lib/test/test_ssl.py
+++ b/Lib/test/test_ssl.py
@@ -5046,8 +5046,6 @@
         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)