diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-01-17 13:35:07 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-17 13:35:07 (GMT) |
commit | 1345b460f568afa8a6f9c0e2b23adba5015f208e (patch) | |
tree | 4f53f7c35dbd2ef014ba631768271bd2119f178b /Misc | |
parent | 93dc1654dc3c925c062e19f0ef8587aa8961ef8a (diff) | |
download | cpython-1345b460f568afa8a6f9c0e2b23adba5015f208e.zip cpython-1345b460f568afa8a6f9c0e2b23adba5015f208e.tar.gz cpython-1345b460f568afa8a6f9c0e2b23adba5015f208e.tar.bz2 |
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>
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Tests/2022-01-17-13-10-04.bpo-13886.5mZH4b.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Tests/2022-01-17-13-10-04.bpo-13886.5mZH4b.rst b/Misc/NEWS.d/next/Tests/2022-01-17-13-10-04.bpo-13886.5mZH4b.rst new file mode 100644 index 0000000..cd19dce --- /dev/null +++ b/Misc/NEWS.d/next/Tests/2022-01-17-13-10-04.bpo-13886.5mZH4b.rst @@ -0,0 +1,3 @@ +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. Patch by Victor Stinner. |