X-Git-Url: http://www.average.org/gitweb/?p=loctrkd.git;a=blobdiff_plain;f=test%2Fcommon.py;h=2b45c53400cc2ab363752f4dd5a02eee9ce714e8;hp=b9f768c8f55d84573a9149f5de248f955039d32b;hb=18eda7307e92eeee6a9e2fdd2e810f98d25df654;hpb=a8763e9282ffb0899ed0e6432e38efd22cd34f33 diff --git a/test/common.py b/test/common.py index b9f768c..2b45c53 100644 --- a/test/common.py +++ b/test/common.py @@ -67,7 +67,7 @@ class TestWithServers(TestCase): if httpd: server = HTTPServer(("", freeports[2]), SimpleHTTPRequestHandler) - def run(server): + def run(server: HTTPServer) -> None: try: server.serve_forever() except KeyboardInterrupt: