[issue18103] Create a GUI test framework for Idle

R. David Murray report at bugs.python.org
Mon Jun 17 03:54:02 CEST 2013


R. David Murray added the comment:

support.requires is smart.  If the caller's module is __main__, it treats the resources as set.  So you don't have to do anything special in your __main__ to make the tests runnable directly.

The tests are also run if unittest is called.  I don't know why that is, but I tested it on test_urllibnet, which is protected by the 'net' resource, and the tests ran.

----------

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


More information about the Python-bugs-list mailing list