Message385630
| Author |
serhiy.storchaka |
| Recipients |
ezio.melotti, martin.panter, michael.foord, nadeem.vawda, pitrou, python-dev, r.david.murray, ronaldoussoren, serhiy.storchaka, vstinner |
| Date |
2021年01月25日.14:01:10 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1611583270.39.0.925773349318.issue12669@roundup.psfhosted.org> |
| In-reply-to |
| Content |
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. |
|