]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
format code according to result of flake8 check
authoryouguanxinqing <youguanxinqing@qq.com>
Mon, 11 Jan 2021 15:01:04 +0000 (23:01 +0800)
committeryouguanxinqing <youguanxinqing@qq.com>
Mon, 11 Jan 2021 15:01:04 +0000 (23:01 +0800)
tornado/testing.py

index e8d6d29edf410adcc18fe591c61095d9097d7f6d..bb28103263c3b0d16dd0f83c60cb0b9dfe70ee16 100644 (file)
@@ -45,7 +45,9 @@ if typing.TYPE_CHECKING:
 _NON_OWNED_IOLOOPS = AsyncIOMainLoop
 
 
-def bind_unused_port(reuse_port: bool = False, address: str = "127.0.0.1") -> Tuple[socket.socket, int]:
+def bind_unused_port(
+    reuse_port: bool = False, address: str = "127.0.0.1"
+) -> Tuple[socket.socket, int]:
     """Binds a server socket to an available port on localhost.
 
     Returns a tuple (socket, port).