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

Method fileno

src/_pytest/capture.py:246–247  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

244 return self
245
246 def fileno(self) -> int:
247 raise UnsupportedOperation("redirected stdin is pseudofile, has no fileno()")
248
249 def flush(self) -> None:
250 raise UnsupportedOperation("redirected stdin is pseudofile, has no flush()")

Callers 7

test_dontreadfrominputFunction · 0.95
get_stderr_filenoFunction · 0.45
_reopen_stdioFunction · 0.45
startMethod · 0.45
resumeMethod · 0.45
_console_mainFunction · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by 1

test_dontreadfrominputFunction · 0.76