Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ write
Method
write
Lib/test/test_io/utils.py:109–110 ·
view source on GitHub ↗
(self, b)
Source
from the content-addressed store, hash-verified
107
108
class
MisbehavedRawIO(MockRawIO):
109
def
write(self, b):
110
return
super().write(b) * 2
111
112
def
read(self, n=None):
113
return
super().read(n) * 2
Callers
15
test_message_from_binary_file
Method · 0.45
test_open_w
Method · 0.45
test_open_wb
Method · 0.45
setUp
Method · 0.45
setUp
Method · 0.45
create_file
Method · 0.45
create_hierarchy
Method · 0.45
test_class_with_method_from_other_module
Method · 0.45
setUp
Method · 0.45
test_getsource_reload
Method · 0.45
run_on_interactive_mode
Method · 0.45
update_catalog_snapshots
Function · 0.45
Calls
1
super
Class · 0.85
Tested by
15
test_message_from_binary_file
Method · 0.36
test_open_w
Method · 0.36
test_open_wb
Method · 0.36
setUp
Method · 0.36
setUp
Method · 0.36
test_class_with_method_from_other_module
Method · 0.36
setUp
Method · 0.36
test_getsource_reload
Method · 0.36
run_on_interactive_mode
Method · 0.36
update_catalog_snapshots
Function · 0.36
extract_from_str
Method · 0.36
test_write
Method · 0.36