diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2020-09-12 05:51:52 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-12 05:51:52 (GMT) |
commit | 31c9828ec026e5d9b9122d55bf0aa7cb45bfecc5 (patch) | |
tree | 3e4698781ae050d7ed99c578f57687d94c07dd43 /PC | |
parent | fb2718720346c8c7a0ad2d7477f20e9a5524ea0c (diff) | |
download | cpython-31c9828ec026e5d9b9122d55bf0aa7cb45bfecc5.zip cpython-31c9828ec026e5d9b9122d55bf0aa7cb45bfecc5.tar.gz cpython-31c9828ec026e5d9b9122d55bf0aa7cb45bfecc5.tar.bz2 |
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.
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 f6fcfcf..b62f21c 100644 --- a/PC/_testconsole.c +++ b/PC/_testconsole.c @@ -63,7 +63,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; } |