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

Method isatty

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

Source from the content-addressed store, hash-verified

250 raise UnsupportedOperation("redirected stdin is pseudofile, has no flush()")
251
252 def isatty(self) -> bool:
253 return False
254
255 def close(self) -> None:
256 pass

Callers 8

test_dontreadfrominputFunction · 0.95
pytest_configureFunction · 0.45
__init__Method · 0.45
pytest_collectionMethod · 0.45
pytest_collectreportMethod · 0.45
report_collectMethod · 0.45
should_do_markupFunction · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by 1

test_dontreadfrominputFunction · 0.76