This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author louielu
Recipients louielu, serhiy.storchaka, terry.reedy
Date 2017-07-11.06:49:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1499755793.48.0.5975757112.issue30870@psf.upfronthosting.co.za>
In-reply-to
Content
It seem setUpModule will smash out the test, I've add a trust-will-work test inside the test_configdialog.py:

class Test(unittest.TestCase):
    def setUp(self):
        self.root = tkinter.Tk()

    def test_test(self):
        self.root.bind('<KeyRelease-Up>', lambda x: print('testing'))
        self.root.update()
        self.root.event_generate('<KeyRelease-Up>')


This will print out `testing` when commet out setUpModule's `root = Tk()` line. But if this line is running, then the trust-test won't print out `testing`
History
Date User Action Args
2017-07-11 06:49:53louielusetrecipients: + louielu, terry.reedy, serhiy.storchaka
2017-07-11 06:49:53louielusetmessageid: <1499755793.48.0.5975757112.issue30870@psf.upfronthosting.co.za>
2017-07-11 06:49:53louielulinkissue30870 messages
2017-07-11 06:49:53louielucreate