Skip to content

Commit

Permalink
bpo-41729: Fix test_winconsole failures (3) and hang (GH-22146)
Browse files Browse the repository at this point in the history
The problems occured with a repository build on machine
with freshly updated Windows 10 Pro.
(cherry picked from commit 31c9828)

Co-authored-by: Terry Jan Reedy <[email protected]>
  • Loading branch information
miss-islington and terryjreedy authored Sep 12, 2020
1 parent e4c6947 commit bbab340
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PC/_testconsole.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit bbab340

Please sign in to comment.