MCPcopy 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
108class 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_open_wMethod · 0.45
test_open_wbMethod · 0.45
setUpMethod · 0.45
setUpMethod · 0.45
create_fileMethod · 0.45
create_hierarchyMethod · 0.45
setUpMethod · 0.45
test_getsource_reloadMethod · 0.45
update_catalog_snapshotsFunction · 0.45

Calls 1

superClass · 0.85

Tested by 15

test_open_wMethod · 0.36
test_open_wbMethod · 0.36
setUpMethod · 0.36
setUpMethod · 0.36
setUpMethod · 0.36
test_getsource_reloadMethod · 0.36
update_catalog_snapshotsFunction · 0.36
extract_from_strMethod · 0.36
test_writeMethod · 0.36