Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ write
Method
write
Lib/test/test_io.py:163–164 ·
view source on GitHub ↗
(self, b)
Source
from the content-addressed store, hash-verified
161
162
class
MisbehavedRawIO(MockRawIO):
163
def
write(self, b):
164
return
super().write(b) * 2
165
166
def
read(self, n=None):
167
return
super().read(n) * 2
Callers
15
write_ops
Method · 0.45
large_file_ops
Method · 0.45
do_test
Method · 0.45
test_readline
Method · 0.45
test_with_open
Method · 0.45
test_append_mode_tell
Method · 0.45
test_destructor
Method · 0.45
test_close_flushes
Method · 0.45
check
Method · 0.45
test_read_closed
Method · 0.45
test_closefd_attr
Method · 0.45
test_opener
Method · 0.45
Calls
1
super
Class · 0.85
Tested by
no test coverage detected