MCPcopy Index your code
hub / github.com/python/cpython / write

Method write

Lib/test/test_io/test_general.py:1418–1419  ·  view source on GitHub ↗
(self, b: bytes)

Source from the content-addressed store, hash-verified

1416
1417 class MyWriter:
1418 def write(self, b: bytes):
1419 pass
1420
1421 def test_reader_subclass(self):
1422 self.assertIsSubclass(self.MyReader, io.Reader)

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

no outgoing calls

Tested by

no test coverage detected