From: Ben Darnell Date: Mon, 4 Mar 2013 04:07:44 +0000 (-0500) Subject: Update import_test. X-Git-Tag: v3.0.0~59 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=680c440215486f5f341af4f24722f6c806434e7d;p=thirdparty%2Ftornado.git Update import_test. (although I think autoreload is the last module left with no real test coverage) --- diff --git a/tornado/test/import_test.py b/tornado/test/import_test.py index f4b2aaa7f..ccd6ef35f 100644 --- a/tornado/test/import_test.py +++ b/tornado/test/import_test.py @@ -9,20 +9,23 @@ class ImportTest(unittest.TestCase): # least ensure that there are no syntax errors. import tornado.auth import tornado.autoreload + import tornado.concurrent # import tornado.curl_httpclient # depends on pycurl import tornado.escape + import tornado.gen import tornado.httpclient import tornado.httpserver import tornado.httputil import tornado.ioloop import tornado.iostream import tornado.locale - import tornado.options + import tornado.log import tornado.netutil - # import tornado.platform.twisted # depends on twisted + import tornado.options import tornado.process import tornado.simple_httpclient import tornado.stack_context + import tornado.tcpserver import tornado.template import tornado.testing import tornado.util @@ -40,11 +43,3 @@ class ImportTest(unittest.TestCase): pass else: import tornado.curl_httpclient - - def test_import_twisted(self): - try: - import twisted - except ImportError: - pass - else: - import tornado.platform.twisted