summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2010-11-05 20:26:59 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2010-11-05 20:26:59 (GMT)
commit4a5f9677f31d75454ec10a0baefef37b63568a31 (patch)
tree7251f1750ba52e9c5950cfd0828a0ed643bfbd7f /Lib/test
parent66c95c745b723badac4513d2ac4492eb08ef1b66 (diff)
downloadcpython-4a5f9677f31d75454ec10a0baefef37b63568a31.zip
cpython-4a5f9677f31d75454ec10a0baefef37b63568a31.tar.gz
cpython-4a5f9677f31d75454ec10a0baefef37b63568a31.tar.bz2
Output served URL when running ssl_servers
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/ssl_servers.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/ssl_servers.py b/Lib/test/ssl_servers.py
index da27c3a..77c0542 100644
--- a/Lib/test/ssl_servers.py
+++ b/Lib/test/ssl_servers.py
@@ -184,4 +184,6 @@ if __name__ == "__main__":
context.load_cert_chain(CERTFILE)
server = HTTPSServer(("", args.port), handler_class, context)
+ if args.verbose:
+ print("Listening on https://localhost:{0.port}".format(args))
server.serve_forever(0.1)