<s> import os <EOL> from test import test_support <EOL> test_support . import_module ( '<STR_LIT>' ) <EOL> this_dir = os . path . dirname ( os . path . abspath ( __file__ ) ) <EOL> lib_tk_test = os . path . abspath ( os . path . join ( this_dir , '<STR_LIT:..>' , '<STR_LIT>' , '<STR_LIT:test>' ) ) <EOL> with test_support . DirsOnSysPath ( lib_tk_test ) : <EOL> import runtktests <EOL> def test_main ( ) : <EOL> with test_support . DirsOnSysPath ( lib_tk_test ) : <EOL> test_support . run_unittest ( <EOL> * runtktests . get_tests ( gui = False , packages = [ '<STR_LIT>' ] ) ) <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> test_main ( ) </s>
