Yelp / Testify

A more pythonic testing framework.
Other
304 stars 67 forks source link

tput stderr when running in a blank environment #333

Closed asottile closed 7 years ago

asottile commented 8 years ago
$ env -i ./venv/bin/testify tests/test1.py
tput: No value for $TERM and no -T specified
test1
.
PASSED.  1 test / 1 case: 1 passed, 0 failed.  (Total test time 0.00s)

Here's how I fixed this for pre-commit: https://github.com/asottile/pyterminalsize/blob/ad23efea4aff257365262e07b843b154c7ad79da/pyterminalsize.py#L12-L26