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

Method _seekrel

Lib/test/test_io.py:1960–1964  ·  view source on GitHub ↗
(bufio)

Source from the content-addressed store, hash-verified

1958 bufio.seek(pos, 0)
1959 self.check_writes(_seekabs)
1960 def _seekrel(bufio):
1961 pos = bufio.seek(0, 1)
1962 bufio.seek(+1, 1)
1963 bufio.seek(-1, 1)
1964 bufio.seek(pos, 0)
1965 self.check_writes(_seekrel)
1966
1967 def test_writes_and_truncates(self):

Callers

nothing calls this directly

Calls 1

seekMethod · 0.45

Tested by

no test coverage detected