]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-41514: Fix buggy IDLE test (GH-21808)
authorTerry Jan Reedy <tjreedy@udel.edu>
Mon, 10 Aug 2020 13:43:56 +0000 (09:43 -0400)
committerGitHub <noreply@github.com>
Mon, 10 Aug 2020 13:43:56 +0000 (06:43 -0700)
commit416f0b71ba84fe83ee2ba4399b8a28712702980b
tree78842a947e503f93b5f105b91e5dabff2d4193bd
parentf2e161c27964a59bc5ab20d96f87ba5862c6222d
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.
Lib/idlelib/idle_test/test_run.py