aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/mitmproxy/tools/console/test_commander.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/mitmproxy/tools/console/test_commander.py b/test/mitmproxy/tools/console/test_commander.py
index b95fe707..06e676c0 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)