diff options
Diffstat (limited to 'Lib/test/test_asyncio/test_buffered_proto.py')
-rw-r--r-- | Lib/test/test_asyncio/test_buffered_proto.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_asyncio/test_buffered_proto.py b/Lib/test/test_asyncio/test_buffered_proto.py index 22f9269..89d3df7 100644 --- a/Lib/test/test_asyncio/test_buffered_proto.py +++ b/Lib/test/test_asyncio/test_buffered_proto.py @@ -9,7 +9,7 @@ class ReceiveStuffProto(asyncio.BufferedProtocol): self.cb = cb self.con_lost_fut = con_lost_fut - def get_buffer(self): + def get_buffer(self, sizehint): self.buffer = bytearray(100) return self.buffer |