diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2020-09-11 23:09:08 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-11 23:09:08 -0700 |
commit | bbab34084e876291d96a65741f075db3adfa7733 (patch) | |
tree | 4e1e92218597412ce45abba4c0222d7cb610215c /PC | |
parent | [doc] struct: update note about network byte order form to be more helpful (G... (diff) | |
download | cpython-bbab34084e876291d96a65741f075db3adfa7733.tar.gz cpython-bbab34084e876291d96a65741f075db3adfa7733.tar.bz2 cpython-bbab34084e876291d96a65741f075db3adfa7733.zip |
bpo-41729: Fix test_winconsole failures (3) and hang (GH-22146)
The problems occured with a repository build on machine
with freshly updated Windows 10 Pro.
(cherry picked from commit 31c9828ec026e5d9b9122d55bf0aa7cb45bfecc5)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Diffstat (limited to 'PC')
-rw-r--r-- | PC/_testconsole.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/PC/_testconsole.c b/PC/_testconsole.c index 23d1286ed4f..1823ff2cf1c 100644 --- a/PC/_testconsole.c +++ b/PC/_testconsole.c @@ -64,7 +64,7 @@ _testconsole_write_input_impl(PyObject *module, PyObject *file, for (DWORD i = 0; i < size; ++i, ++p, ++prec) { prec->EventType = KEY_EVENT; prec->Event.KeyEvent.bKeyDown = TRUE; - prec->Event.KeyEvent.wRepeatCount = 10; + prec->Event.KeyEvent.wRepeatCount = 1; prec->Event.KeyEvent.uChar.UnicodeChar = *p; } |