MCPcopy 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
162class 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_opsMethod · 0.45
large_file_opsMethod · 0.45
do_testMethod · 0.45
test_readlineMethod · 0.45
test_with_openMethod · 0.45
test_append_mode_tellMethod · 0.45
test_destructorMethod · 0.45
test_close_flushesMethod · 0.45
checkMethod · 0.45
test_read_closedMethod · 0.45
test_closefd_attrMethod · 0.45
test_openerMethod · 0.45

Calls 1

superClass · 0.85

Tested by

no test coverage detected