[issue21585] Run Tkinter tests with wantobjects=False

Lita Cho report at bugs.python.org
Thu May 29 01:44:14 CEST 2014


Lita Cho added the comment:

So I don't know what the best way to do this, but I changed the widget_tests.py in order to set tkinter.wantobjects = 0 if a 'wantobjects' flag was passed through test.support.use_resources. 

Then I added a new test called test_ttk_guionly_wantobj, where it turns on wantobjects. If we create a new module, then we start off with a clean tkinter object.

Before I go this route for all the tests, I wanted to make sure if this was the correct way to go about it.

----------

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


More information about the Python-bugs-list mailing list