summaryrefslogtreecommitdiff
path: root/Lib
diff options
context:
space:
mode:
authorNed Deily <nad@python.org>2018-06-11 20:26:28 -0400
committerGitHub <noreply@github.com>2018-06-11 20:26:28 -0400
commit4531ec74c4a9c8e15ee2bdec11b12796ce000f6f (patch)
tree484010300a7967c623332a95b32471d611ab531a /Lib
parentef24b6c54d40e7820456873a6eab6ef57d2bd0db (diff)
downloadcpython-git-4531ec74c4a9c8e15ee2bdec11b12796ce000f6f.tar.gz
bpo-31432: Revert unrelated code changes to _ssl.c and test_ssl (GH-7650)
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_ssl.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/Lib/test/test_ssl.py b/Lib/test/test_ssl.py
index 3d6ae0298d..73d3e3bbcd 100644
--- a/Lib/test/test_ssl.py
+++ b/Lib/test/test_ssl.py
@@ -4074,9 +4074,7 @@ class ThreadedTests(unittest.TestCase):
self.assertTrue(session)
with self.assertRaises(TypeError) as e:
s.session = object
- self.assertEqual(
- str(e.exception), 'Value is not an SSLSession.'
- )
+ self.assertEqual(str(e.exception), 'Value is not a SSLSession.')
with client_context.wrap_socket(socket.socket(),
server_hostname=hostname) as s: