Commit 07f83f20 authored by Denis Bilenko's avatar Denis Bilenko

formatting change in test__server.py

parent 1d153107
......@@ -350,15 +350,15 @@ class ExpectedError(Exception):
pass
class TestSSLSocketNotAllowed(TestCase):
if hasattr(socket, 'ssl'):
class TestSSLSocketNotAllowed(TestCase):
switch_expected = False
def get_spawn(self):
return gevent.spawn
if hasattr(socket, 'ssl'):
def test(self):
from gevent.socket import ssl, socket
listener = socket()
......@@ -367,6 +367,7 @@ class TestSSLSocketNotAllowed(TestCase):
listener = ssl(listener)
self.assertRaises(TypeError, self.ServerSubClass, listener)
# test non-socket.error exception in accept call: fatal
# test error in spawn(): non-fatal
# test error in spawned handler: non-fatal
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment