File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -337,4 +337,8 @@ async def test_async_ipc_read_buffer_limit_is_configurable(
337
337
pathlib .Path (jsonrpc_ipc_pipe_path ), read_buffer_limit = TWENTY_MB + 1024
338
338
)
339
339
) as w3 :
340
- await w3 .provider .make_request ("method" , [])
340
+ response = await w3 .provider .make_request ("method" , [])
341
+ assert (
342
+ len (response ["result" ])
343
+ == TWENTY_MB - len (SIZED_MSG_START ) - len (SIZED_MSG_END ) + 1024
344
+ )
Original file line number Diff line number Diff line change @@ -340,7 +340,7 @@ class PersistentConnectionError(Web3Exception):
340
340
"""
341
341
342
342
343
- class ReadBufferLimitReached (PersistentConnectionError ):
343
+ class ReadBufferLimitReached (PersistentConnectionError , Web3ValueError ):
344
344
"""
345
345
Raised when the read buffer limit is reached while reading data from a persistent
346
346
connection.
You can’t perform that action at this time.
0 commit comments