diff --git a/autotest/pymod/webserver.py b/autotest/pymod/webserver.py index 934769ded9b9..16dfa634493a 100755 --- a/autotest/pymod/webserver.py +++ b/autotest/pymod/webserver.py @@ -50,8 +50,8 @@ def install_http_handler(handler_instance): custom_handler = handler_instance try: yield - finally: handler_instance.final_check() + finally: custom_handler = None