aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_tcp.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2015-06-05 11:50:29 +1200
committerAldo Cortesi <aldo@nullcube.com>2015-06-05 11:50:29 +1200
commit2d9b9be1f4fb67d6989b57b68858896d8512293e (patch)
treed516da7b13d69e2eed04d9699b65973a5649afa6 /test/test_tcp.py
parent4ca62e0d9bd09aa286cde9bafceff7204304d00c (diff)
downloadmitmproxy-2d9b9be1f4fb67d6989b57b68858896d8512293e.tar.gz
mitmproxy-2d9b9be1f4fb67d6989b57b68858896d8512293e.tar.bz2
mitmproxy-2d9b9be1f4fb67d6989b57b68858896d8512293e.zip
Revert "tcp: clear_log to clear socket logs"
start_log also clears the log, which is good enough. This reverts commit 4ca62e0d9bd09aa286cde9bafceff7204304d00c.
Diffstat (limited to 'test/test_tcp.py')
-rw-r--r--test/test_tcp.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/test_tcp.py b/test/test_tcp.py
index 362ba0f4..14ba555d 100644
--- a/test/test_tcp.py
+++ b/test/test_tcp.py
@@ -553,8 +553,6 @@ class TestFileLike:
assert s.get_log() == ""
s.read(1)
assert s.get_log() == "o"
- s.clear_log()
- assert s.get_log() == ""
s.stop_log()
tutils.raises(ValueError, s.get_log)