MCPcopy
hub / github.com/pre-commit/pre-commit / test_output_isatty

Function test_output_isatty

tests/repository_test.py:133–140  ·  view source on GitHub ↗
(tempdir_factory, store)

Source from the content-addressed store, hash-verified

131
132@pytest.mark.xfail(sys.platform == 'win32', reason='ptys are posix-only')
133def test_output_isatty(tempdir_factory, store):
134 _test_hook_repo(
135 tempdir_factory, store, 'stdout_stderr_repo',
136 'tty-check',
137 [],
138 b'stdin: False\nstdout: True\nstderr: True\n',
139 color=True,
140 )
141
142
143def _norm_pwd(path):

Callers

nothing calls this directly

Calls 1

_test_hook_repoFunction · 0.85

Tested by

no test coverage detected