Message385630
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. |
|
Date |
User |
Action |
Args |
2021-01-25 14:01:10 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, ronaldoussoren, pitrou, vstinner, nadeem.vawda, ezio.melotti, r.david.murray, michael.foord, python-dev, martin.panter |
2021-01-25 14:01:10 | serhiy.storchaka | set | messageid: <1611583270.39.0.925773349318.issue12669@roundup.psfhosted.org> |
2021-01-25 14:01:10 | serhiy.storchaka | link | issue12669 messages |
2021-01-25 14:01:10 | serhiy.storchaka | create | |
|