]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-41514: Fix buggy IDLE test (GH-21808)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 10 Aug 2020 14:05:02 +0000 (07:05 -0700)
committerGitHub <noreply@github.com>
Mon, 10 Aug 2020 14:05:02 +0000 (07:05 -0700)
commit9c253f4bc9dbf711dce3fffeaef86179c29fa0f5
tree0873db9fc2e12d3ce5c7f1e380bbbd67ec6572e0
parentd2bea2636d5f0c2b196966315790af8e79c7bf82
bpo-41514: Fix buggy IDLE test (GH-21808)

test_run method test_fatal_error failed when run twice, as with
python -m test -m test_fatal_error test_idle test_idle
because func.called was not reinitialized to 0.
This bug caused a failure on a refleak buildbot.
(cherry picked from commit 416f0b71ba84fe83ee2ba4399b8a28712702980b)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Lib/idlelib/idle_test/test_run.py