Author terry.reedy
Recipients python-dev, terry.reedy, xiang.zhang
Date 2017-06-13.18:01:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Using, attached to #30642, modified to always print the filename, I discovered that test_parenmatch also flashes (along with test_searchbase).  The leak test runs each test_xyz module 9 times, so is a good way to see flashing.

Adding 'root.withdraw' stops the single flash when running test_parenmatch once.  However, it does not stop flashing when running 9 times with -R: refleak test.  Flash continues even if class is reduced to

class ParenMatchTest(unittest.TestCase):

    def setUpClass(cls):
        cls.root = Tk()

    def tearDownClass(cls):
        del cls.root

    def test_dummy(self): pass

This is a puzzle since the same skeleton is in several other files.  In fact, at least one, test_autocomplete, does not even have root.withdraw. In any case, I will add it here.
Date User Action Args
2017-06-13 18:01:18terry.reedysetrecipients: + terry.reedy, python-dev, xiang.zhang
2017-06-13 18:01:18terry.reedysetmessageid: <>
2017-06-13 18:01:18terry.reedylinkissue27922 messages
2017-06-13 18:01:18terry.reedycreate