]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
Run new autopep8
authorBen Darnell <ben@bendarnell.com>
Sun, 18 Mar 2018 17:31:29 +0000 (13:31 -0400)
committerBen Darnell <ben@bendarnell.com>
Sun, 18 Mar 2018 17:31:29 +0000 (13:31 -0400)
tornado/gen.py
tornado/test/httpclient_test.py
tornado/test/import_test.py

index 0ef7c9fc50eff331ec6b5c0c953f83e3a75b7c09..ef70374a70dbd69db163dc992b606d925a46c72f 100644 (file)
@@ -1195,7 +1195,7 @@ class Runner(object):
         elif not self.future.done():
             def inner(f):
                 # Break a reference cycle to speed GC.
-                f = None # noqa
+                f = None  # noqa
                 self.run()
             self.io_loop.add_future(
                 self.future, inner)
index e184625ec5c321e27b0d54836a92beb76264fe03..a76d9eaee92c0c6d2a8b48d9b0f2f8bf52abf984 100644 (file)
@@ -608,6 +608,7 @@ class SyncHTTPClientTest(unittest.TestCase):
             # the client finishes with the response (this is noticeable
             # with http/2, which leaves a Future with an unexamined
             # StreamClosedError on the loop).
+
             @gen.coroutine
             def slow_stop():
                 # The number of iterations is difficult to predict. Typically,
index d8cf14a557ba99677cae3c92ebf5d0f2df658204..0e981482ef92dab1b464f217ab9861f854a7ff72 100644 (file)
@@ -48,6 +48,8 @@ class ImportTest(unittest.TestCase):
 
     def test_import_aliases(self):
         # Ensure we don't delete formerly-documented aliases accidentally.
-        import tornado.ioloop, tornado.gen, tornado.util
+        import tornado.ioloop
+        import tornado.gen
+        import tornado.util
         self.assertIs(tornado.ioloop.TimeoutError, tornado.util.TimeoutError)
         self.assertIs(tornado.gen.TimeoutError, tornado.util.TimeoutError)