http: Remove conditional only needed for Tornado < 3.2
This commit is contained in:
parent
3e91f9819d
commit
41882c6395
@ -41,9 +41,7 @@ class StaticFileHandlerTest(tornado.testing.AsyncHTTPTestCase):
|
||||
response.headers['Cache-Control'], 'no-cache')
|
||||
|
||||
|
||||
# We aren't bothering with skipIf as then we would need to "backport" gen_test
|
||||
if hasattr(tornado.websocket, 'websocket_connect'):
|
||||
class WebSocketHandlerTest(tornado.testing.AsyncHTTPTestCase):
|
||||
class WebSocketHandlerTest(tornado.testing.AsyncHTTPTestCase):
|
||||
|
||||
def get_app(self):
|
||||
self.core = mock.Mock()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user