MCPcopy Index your code
hub / github.com/RustPython/RustPython / truncate

Method truncate

Lib/test/test_io.py:250–251  ·  view source on GitHub ↗
(self, *args)

Source from the content-addressed store, hash-verified

248 raise self.UnsupportedOperation("not seekable")
249
250 def truncate(self, *args):
251 raise self.UnsupportedOperation("not seekable")
252
253class CMockUnseekableIO(MockUnseekableIO, io.BytesIO):
254 UnsupportedOperation = io.UnsupportedOperation

Callers 15

closeMethod · 0.45
pushMethod · 0.45
_restoreStdoutMethod · 0.45
test_access_parameterMethod · 0.45
test_truncateMethod · 0.45
write_opsMethod · 0.45
large_file_opsMethod · 0.45
do_testMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected