MCPcopy
hub / github.com/pytest-dev/pytest / seek

Method seek

src/_pytest/capture.py:261–262  ·  view source on GitHub ↗
(self, offset: int, whence: int = 0)

Source from the content-addressed store, hash-verified

259 return False
260
261 def seek(self, offset: int, whence: int = 0) -> int:
262 raise UnsupportedOperation("redirected stdin is pseudofile, has no seek(int)")
263
264 def seekable(self) -> bool:
265 return False

Callers 10

test_dontreadfrominputFunction · 0.95
pytest_unconfigureFunction · 0.80
assert_contains_linesMethod · 0.80
snapMethod · 0.80
snapMethod · 0.80
snapMethod · 0.80
snapMethod · 0.80
getlinesMethod · 0.80

Calls

no outgoing calls

Tested by 5

test_dontreadfrominputFunction · 0.76
assert_contains_linesMethod · 0.64
getlinesMethod · 0.64