Message225617
| Author |
Lita.Cho |
| Recipients |
Lita.Cho, gpolo, jesstess, serhiy.storchaka, terry.reedy, zach.ware |
| Date |
2014年08月21日.20:58:29 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1408654710.09.0.626410780125.issue21585@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Hi Terry,
I had no idea we were moving away from using test_main.
So instead, of using support.run_unittest, we should import all the unittest from tkinter/test/ and wrap everything with that exec method, setting wantobjects=1 and again with wantobjects=0?
Also, do you have an example of a unit test that doesn't use test_main? All the unit tests I've seen (tkinter, smtplib, nntplib) all use test_main.
Lita |
|