Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pallets/werkzeug
/ SpecialInput
Class
SpecialInput
tests/test_test.py:428–433 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
426
closed = []
427
428
class
SpecialInput:
429
def
read(self, size):
430
return
b
""
431
432
def
close(self):
433
closed.append(self)
434
435
create_environ(data={
"foo"
: SpecialInput()})
436
assert len(closed) == 1
Callers
1
test_file_closing
Function · 0.85
Calls
no outgoing calls
Tested by
1
test_file_closing
Function · 0.68