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/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_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
no outgoing calls
Tested by
no test coverage detected