MCPcopy
hub / github.com/django/django / read

Method read

tests/requests_tests/tests.py:1112–1113  ·  view source on GitHub ↗
(self, size=-1, /)

Source from the content-addressed store, hash-verified

1110
1111 class ExplodingBytesIO(BytesIO):
1112 def read(self, size=-1, /):
1113 raise OSError("kaboom!")
1114
1115 payload = b"name=value"
1116 request = WSGIRequest(

Calls

no outgoing calls

Tested by

no test coverage detected