Skip to content

Commit 64122df

Browse files
committed
gh-135056: Keep TLS arguments to _make_server on the same line.
1 parent c280ed8 commit 64122df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/http/server.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1007,8 +1007,8 @@ def test(HandlerClass=BaseHTTPRequestHandler,
10071007
"""
10081008
with _make_server(
10091009
HandlerClass=HandlerClass, ServerClass=ServerClass,
1010-
protocol=protocol, port=port, bind=bind, tls_cert=tls_cert,
1011-
tls_key=tls_key, tls_password=tls_password
1010+
protocol=protocol, port=port, bind=bind,
1011+
tls_cert=tls_cert, tls_key=tls_key, tls_password=tls_password
10121012
) as httpd:
10131013
host, port = httpd.socket.getsockname()[:2]
10141014
url_host = f'[{host}]' if ':' in host else host

0 commit comments

Comments
 (0)