[issue21585] Run Tkinter tests with wantobjects=False

Lita Cho report at bugs.python.org
Wed Aug 6 21:04:58 CEST 2014


Lita Cho added the comment:

Hi Serhiy,

This patch was made while I was learning tkinter. I figured out how to run the tests twice while changing wantobjects variable without creating new tests. Fortunately, all the tests seem to fast when wantobjects is 0 or 1.

The only annoying thing is that it doesn't merge the count of the amount of tests ran within that module, since I am calling support.run_unittest twice. Hopefully, that's okay. Otherwise, I need to figure out how to call the tests twice individually within the generator.

----------
Added file: http://bugs.python.org/file36291/wantobj_test.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21585>
_______________________________________


More information about the Python-bugs-list mailing list