Commit 0fbb9af
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 ad6e640)
Co-authored-by: Victor Stinner <vstinner@python.org>
Co-authored-by: Victor Stinner <vstinner@python.org>
1 parent f869b56 commit 0fbb9af
File tree
2 files changed
+17
-2
lines changed- Lib/test
- Misc/NEWS.d/next/Tests
2 files changed
+17
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1980 | 1980 | | |
1981 | 1981 | | |
1982 | 1982 | | |
| 1983 | + | |
| 1984 | + | |
| 1985 | + | |
| 1986 | + | |
| 1987 | + | |
| 1988 | + | |
| 1989 | + | |
| 1990 | + | |
| 1991 | + | |
| 1992 | + | |
1983 | 1993 | | |
1984 | | - | |
| 1994 | + | |
| 1995 | + | |
1985 | 1996 | | |
1986 | 1997 | | |
1987 | 1998 | | |
1988 | | - | |
| 1999 | + | |
| 2000 | + | |
1989 | 2001 | | |
1990 | 2002 | | |
1991 | 2003 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
0 commit comments