aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorHenrique <typoon@gmail.com>2019-11-25 10:39:36 -0500
committerHenrique <typoon@gmail.com>2019-11-25 10:39:36 -0500
commit1c8abaed78028f4a14044b06430ef86e7e36b6c3 (patch)
tree2e66238373165a93da840be635db0ea943dcbd33 /test
parented7f0b4b39f622b13fce4d3c4ef154231fe07954 (diff)
downloadmitmproxy-1c8abaed78028f4a14044b06430ef86e7e36b6c3.tar.gz
mitmproxy-1c8abaed78028f4a14044b06430ef86e7e36b6c3.tar.bz2
mitmproxy-1c8abaed78028f4a14044b06430ef86e7e36b6c3.zip
Make windows happy
Diffstat (limited to 'test')
-rw-r--r--test/mitmproxy/addons/test_command_history.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/mitmproxy/addons/test_command_history.py b/test/mitmproxy/addons/test_command_history.py
index 898692ec..847c273d 100644
--- a/test/mitmproxy/addons/test_command_history.py
+++ b/test/mitmproxy/addons/test_command_history.py
@@ -42,6 +42,8 @@ class TestCommandHistory:
saved_commands = [cmd for cmd in history.saved_commands]
assert saved_commands == ['cmd1', 'cmd2', 'cmd3']
+ history.command_history_file.close()
+
def test_add_command(self, tctx):
history = command_history.CommandHistory(3)