commit | 5312a7f912088361e2a1fccd5daeaa9dc4ff5fd3 | [log] [tgz] |
---|---|---|
author | Serhiy Storchaka <storchaka@gmail.com> | Sat Jan 31 11:27:06 2015 +0200 |
committer | Serhiy Storchaka <storchaka@gmail.com> | Sat Jan 31 11:27:06 2015 +0200 |
tree | 48d4a3f45af918d461fa46ed3015e6ff652f61cb | |
parent | 7ece150395f9908870c3baa883e465ec9fe4dd9c [diff] [blame] |
Avoid deprecation warnings.
diff --git a/Lib/test/test_ssl.py b/Lib/test/test_ssl.py index f3da0b1..6c342d8 100644 --- a/Lib/test/test_ssl.py +++ b/Lib/test/test_ssl.py
@@ -2954,7 +2954,7 @@ server_context, other_context, client_context = self.sni_contexts() def cb_raising(ssl_sock, server_name, initial_context): - 1/0 + 1.0/0.0 server_context.set_servername_callback(cb_raising) with self.assertRaises(ssl.SSLError) as cm, \