]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-121008: Fix idlelib.run tests (GH-121046) (#121049)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 26 Jun 2024 14:08:31 +0000 (16:08 +0200)
committerGitHub <noreply@github.com>
Wed, 26 Jun 2024 14:08:31 +0000 (14:08 +0000)
commitbdcc738fec377a9936d21899b08129374fe3cc7b
tree076084e29064a78fe6e44d103ef5d0e21af32ebe
parent7db14f1eba1ac6a42f0fb0d5fbaea07ed3d7d492
[3.13] gh-121008: Fix idlelib.run tests (GH-121046) (#121049)

gh-121008: Fix idlelib.run tests (GH-121046)

When testing IDLE, don't create a Tk to avoid side effects such as
installing a PyOS_InputHook hook.
(cherry picked from commit 44eafd66882589d4f4eb569d70c49724da3e9291)

Co-authored-by: Victor Stinner <vstinner@python.org>
Lib/idlelib/run.py