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:
parent
fb27187203
commit
31c9828ec0
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue