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

Method isatty

testing/io/test_terminalwriter.py:47–48  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

45 closed = False
46
47 def isatty(self):
48 return True
49
50 with monkeypatch.context() as m:
51 m.setattr(sys, "stdout", MyFile())

Callers 2

test_isattyMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected