]> 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:01:14 +0000 (07:01 -0700)
committerGitHub <noreply@github.com>
Mon, 10 Aug 2020 14:01:14 +0000 (07:01 -0700)
commit860bc0ea70c365825bfd9b7de7685cf6842ca3c7
treef1acc93f6407c004cfb5e93a12ff07e378dfbfa1
parent61f23cb62d6bdd72b61fc36abf4c1492493d71af
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