diff options
| author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2020-09-11 23:18:59 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-12 02:18:59 -0400 |
| commit | c2577b9e0e2f8652f079b4ac473347c63f15e25c (patch) | |
| tree | 8395f9e1cd0c56f34f8918819ec1142de2d987a7 | |
| parent | c97e402a4c1e6d4012068f3d070cd676fa9bb48a (diff) | |
| download | cpython-git-c2577b9e0e2f8652f079b4ac473347c63f15e25c.tar.gz | |
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.
(cherry picked from commit 31c9828ec026e5d9b9122d55bf0aa7cb45bfecc5)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
| -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 f6fcfcf196..b62f21c339 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; } |
