bpo-13886: Skip PTY non-ASCII tests if readline is loaded (GH-30631)
Skip test_builtin PTY tests on non-ASCII characters if the readline module is loaded. The readline module changes input() behavior, but test_builtin is not intented to test the readline module. When the readline module is loaded, PyOS_Readline() uses the readline implementation. In some cases, the Python readline callback rlhandler() is called by readline with a string without non-ASCII characters. (cherry picked from commit ad6e640f910787e73fd00f59117fbd22cdf88c78) Co-authored-by: Victor Stinner <vstinner@python.org>
M
Miss Islington (bot) committed
1345b460f568afa8a6f9c0e2b23adba5015f208e
Parent: 93dc165
Committed by GitHub <noreply@github.com>
on 1/17/2022, 1:35:07 PM