diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py index 8fc7290c916..c5d5d258b9b 100644 --- a/Lib/test/test_socket.py +++ b/Lib/test/test_socket.py @@ -5349,7 +5349,7 @@ class LinuxKernelCryptoAPI(unittest.TestCase): # type / algorithm is not available sock.close() raise unittest.SkipTest(str(e), typ, name) - else + else: return sock def test_sha256(self):