<s> import unittest <EOL> from test import support <EOL> from test . support import import_module , use_resources <EOL> import_module ( '<STR_LIT>' ) <EOL> tk = import_module ( '<STR_LIT>' ) <EOL> idletest = import_module ( '<STR_LIT>' ) <EOL> if use_resources and '<STR_LIT>' in use_resources : <EOL> try : <EOL> root = tk . Tk ( ) <EOL> root . destroy ( ) <EOL> except tk . TclError : <EOL> while '<STR_LIT>' in use_resources : <EOL> use_resources . remove ( '<STR_LIT>' ) <EOL> load_tests = idletest . load_tests <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> support . use_resources = [ '<STR_LIT>' ] <EOL> unittest . main ( verbosity = <NUM_LIT:2> , exit = False ) </s>
