<s> '''<STR_LIT>''' <EOL> import sys <EOL> import os <EOL> from os . path import abspath , dirname <EOL> import nose <EOL> def run_all ( argv = None ) : <EOL> os . environ [ '<STR_LIT>' ] = '<STR_LIT>' <EOL> sys . exitfunc = lambda msg = '<STR_LIT>' : sys . stderr . write ( msg + '<STR_LIT:\n>' ) <EOL> if argv is None : <EOL> argv = [ '<STR_LIT>' ] <EOL> if len ( argv ) == <NUM_LIT:1> : <EOL> argv += [ <EOL> '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> ] <EOL> nose . run_exit ( <EOL> argv = argv , <EOL> defaultTest = abspath ( dirname ( __file__ ) ) , <EOL> ) <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> run_all ( sys . argv ) </s>
