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

Method test_writes_and_truncates

Lib/test/test_io.py:1967–1968  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1965 self.check_writes(_seekrel)
1966
1967 def test_writes_and_truncates(self):
1968 self.check_writes(lambda bufio: bufio.truncate(bufio.tell()))
1969
1970 def test_write_non_blocking(self):
1971 raw = self.MockNonBlockWriterIO()

Callers

nothing calls this directly

Calls 3

check_writesMethod · 0.95
truncateMethod · 0.45
tellMethod · 0.45

Tested by

no test coverage detected