Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python-websockets/websockets
/ setUp
Method
setUp
tests/test_streams.py:7–8 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
5
6
class
StreamReaderTests(GeneratorTestCase):
7
def
setUp(self):
8
self.reader = StreamReader()
9
10
def
test_read_line(self):
11
self.reader.feed_data(b
"spam\neggs\n"
)
Callers
nothing calls this directly
Calls
1
StreamReader
Class · 0.90
Tested by
no test coverage detected