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.
This commit is contained in:
Terry Jan Reedy 2020-09-12 01:51:52 -04:00 committed by GitHub
parent fb27187203
commit 31c9828ec0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ _testconsole_write_input_impl(PyObject *module, PyObject *file,
for (DWORD i = 0; i < size; ++i, ++p, ++prec) { for (DWORD i = 0; i < size; ++i, ++p, ++prec) {
prec->EventType = KEY_EVENT; prec->EventType = KEY_EVENT;
prec->Event.KeyEvent.bKeyDown = TRUE; prec->Event.KeyEvent.bKeyDown = TRUE;
prec->Event.KeyEvent.wRepeatCount = 10; prec->Event.KeyEvent.wRepeatCount = 1;
prec->Event.KeyEvent.uChar.UnicodeChar = *p; prec->Event.KeyEvent.uChar.UnicodeChar = *p;
} }