Debian Codegraph @

test/units/test_no_tty.py

raw
1 from __future__ import annotations
2
3 import sys
4
5
6 def test_no_tty():
7 assert not sys.stdin.isatty()
8 assert not sys.stdout.isatty()
9 assert not sys.stderr.isatty()