Skip to content

Commit c156cc2

Browse files
committed
bugfix Benchmarking, mockTransport needs close()
1 parent 32a7845 commit c156cc2

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

telnetlib3/tests/test_benchmarks.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ def write(self, data):
2323
def get_write_buffer_size(self):
2424
return 0
2525

26+
def is_closing(self):
27+
return False
28+
2629

2730
class MockProtocol:
2831
"""Minimal protocol mock for benchmarking."""

0 commit comments

Comments
 (0)