Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

It was fixed in other way in issue42789. If __stdout__ is not a terminal, the 
code falls back to __stderr__, and it is not terminal either, it tries to open 
/dev/tty. If neither works, it uses a regular temporary file as terminal, but 
savetty()/resetty() and few tests are skipped.

It would be better to use pty, but I found that it does not work if tests 
output more than 2 KB. For now I do not know how to fix it.

----------
nosy: +serhiy.storchaka

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue12669>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to