From 4ca62e0d9bd09aa286cde9bafceff7204304d00c Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Fri, 5 Jun 2015 11:42:06 +1200 Subject: tcp: clear_log to clear socket logs --- test/test_tcp.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test') diff --git a/test/test_tcp.py b/test/test_tcp.py index 14ba555d..362ba0f4 100644 --- a/test/test_tcp.py +++ b/test/test_tcp.py @@ -553,6 +553,8 @@ 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) -- cgit v1.2.3