MCPcopy 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_zerosMethod · 0.45
test_init_close_fobjMethod · 0.45
_fs_supports_holesMethod · 0.45
test_tar_sizeMethod · 0.45
test_file_sizeMethod · 0.45
test_link_sizeMethod · 0.45
setUpClassMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected