Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ write
Method
write
Lib/test/test_tarfile.py:1715–1718 ·
view source on GitHub ↗
(self, data)
Source
from the content-addressed store, hash-verified
1713
class
BadFile(io.BytesIO):
1714
first = True
1715
def
write(self, data):
1716
if
self.first:
1717
self.first = False
1718
raise
exctype
1719
1720
f = BadFile()
1721
with
(
Callers
15
test_ignore_zeros
Method · 0.45
test_init_close_fobj
Method · 0.45
_setup_symlink_to_target
Method · 0.45
test_detect_stream_bz2
Method · 0.45
_fs_supports_holes
Method · 0.45
test_pax_header_bad_formats
Method · 0.45
test_tar_size
Method · 0.45
test_file_size
Method · 0.45
test_gettarinfo_pathlike_name
Method · 0.45
test_link_size
Method · 0.45
test_extractall_symlinks
Method · 0.45
setUpClass
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected