This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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