Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/benoitc/gunicorn
/ test_close
Method
test_close
tests/test_http2_request.py:103–108 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
101
assert len(body) == 5
102
103
def
test_close(self):
104
body = HTTP2Body(b
"test"
)
105
body.close()
106
# Should not raise
107
with
pytest.raises(ValueError):
108
body.read()
109
110
111
class
TestHTTP2BodyReadStrategies:
Callers
nothing calls this directly
Calls
3
close
Method · 0.95
read
Method · 0.95
HTTP2Body
Class · 0.90
Tested by
no test coverage detected