diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2021-10-13 10:24:47 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-13 10:24:47 (GMT) |
commit | 7e74d99c532f3eb55a86d10d30c068b03f2ad025 (patch) | |
tree | a80d372fb53b52772a02d3a26ed7063da57f0cca /Doc/reference | |
parent | 47673c47db352916384e4f35fa520e48475e2601 (diff) | |
download | cpython-7e74d99c532f3eb55a86d10d30c068b03f2ad025.zip cpython-7e74d99c532f3eb55a86d10d30c068b03f2ad025.tar.gz cpython-7e74d99c532f3eb55a86d10d30c068b03f2ad025.tar.bz2 |
bpo-45453: Fix test_embed.StdPrinterTests (GH-28916) (GH-28917)
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.
(cherry picked from commit 678433f25e0d08dad7edf72be8f0cf9420e4ed2c)
Co-authored-by: Victor Stinner <vstinner@python.org>
Diffstat (limited to 'Doc/reference')
0 files changed, 0 insertions, 0 deletions