diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2015-06-05 11:50:29 +1200 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2015-06-05 11:50:29 +1200 |
commit | 2d9b9be1f4fb67d6989b57b68858896d8512293e (patch) | |
tree | d516da7b13d69e2eed04d9699b65973a5649afa6 /test/test_tcp.py | |
parent | 4ca62e0d9bd09aa286cde9bafceff7204304d00c (diff) | |
download | mitmproxy-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.py | 2 |
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) |