diff options
| author | Serhiy Storchaka <storchaka@gmail.com> | 2015-01-31 09:27:06 (GMT) |
|---|---|---|
| committer | Serhiy Storchaka <storchaka@gmail.com> | 2015-01-31 09:27:06 (GMT) |
| commit | 5312a7f912088361e2a1fccd5daeaa9dc4ff5fd3 (patch) | |
| tree | 48d4a3f45af918d461fa46ed3015e6ff652f61cb /Lib/test/test_ssl.py | |
| parent | 7ece150395f9908870c3baa883e465ec9fe4dd9c (diff) | |
| download | cpython-5312a7f912088361e2a1fccd5daeaa9dc4ff5fd3.zip cpython-5312a7f912088361e2a1fccd5daeaa9dc4ff5fd3.tar.gz cpython-5312a7f912088361e2a1fccd5daeaa9dc4ff5fd3.tar.bz2 | |
Avoid deprecation warnings.
Diffstat (limited to 'Lib/test/test_ssl.py')
| -rw-r--r-- | Lib/test/test_ssl.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ else: 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, \ |
