Back to index

python3.2  3.2.2
Functions
test.test_tk Namespace Reference

Functions

def test_main

Function Documentation

def test.test_tk.test_main (   enable_gui = False)

Definition at line 11 of file test_tk.py.

00011 
00012 def test_main(enable_gui=False):
00013     if enable_gui:
00014         if support.use_resources is None:
00015             support.use_resources = ['gui']
00016         elif 'gui' not in support.use_resources:
00017             support.use_resources.append('gui')
00018 
00019     support.run_unittest(
00020             *runtktests.get_tests(text=False, packages=['test_tkinter']))