Terry J. Reedy added the comment: Yes, 'support', not 'resource'. However, re-read my message for properly using requires to avoid the traceback.
def setUpModule(): requires('gui') may also work, but I am assuming that there might be non-gui test cases added later. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18189> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com