Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 31c9828

Browse files
authored
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.
1 parent fb27187 commit 31c9828

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

PC/_testconsole.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ _testconsole_write_input_impl(PyObject *module, PyObject *file,
6363
for (DWORD i = 0; i < size; ++i, ++p, ++prec) {
6464
prec->EventType = KEY_EVENT;
6565
prec->Event.KeyEvent.bKeyDown = TRUE;
66-
prec->Event.KeyEvent.wRepeatCount = 10;
66+
prec->Event.KeyEvent.wRepeatCount = 1;
6767
prec->Event.KeyEvent.uChar.UnicodeChar = *p;
6868
}
6969

0 commit comments

Comments
 (0)