commit | 678433f25e0d08dad7edf72be8f0cf9420e4ed2c | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@python.org> | Wed Oct 13 05:24:33 2021 +0200 |
committer | GitHub <noreply@github.com> | Wed Oct 13 05:24:33 2021 +0200 |
tree | d57da766339c736ece93e411c315da866008bd94 | |
parent | c63623a0a6892ce8683dbf8c769793ea897e6ba8 [diff] |
bpo-45453: Fix test_embed.StdPrinterTests (GH-28916) test_embed.StdPrinterTests now always use the file descriptor 1 for stdout, rather than using sys.__stdout__.fileno(). PyFile_NewStdPrinter() does crash if the argument is not 1 or 2. Fix also a few pyflakes warnings: remove unused import and variables.