diff --git a/test/mitmproxy/tools/console/test_commander.py b/test/mitmproxy/tools/console/test_commander.py index b95fe7079..06e676c0b 100644 --- a/test/mitmproxy/tools/console/test_commander.py +++ b/test/mitmproxy/tools/console/test_commander.py @@ -26,6 +26,7 @@ def tctx(): yield tctx # This runs after each test + ch.command_history_file.close() shutil.rmtree(confdir)