<s> import os <EOL> import sys <EOL> try : <EOL> import mock <EOL> import nose <EOL> except ImportError : <EOL> print "<STR_LIT>" <EOL> sys . modules [ '<STR_LIT>' ] = mock . Mock ( ) <EOL> sys . modules [ '<STR_LIT>' ] = mock . Mock ( ) <EOL> path = os . path . dirname ( __file__ ) <EOL> sys . path . insert ( <NUM_LIT:0> , path ) <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> argv = sys . argv [ : ] <EOL> argv . extend ( [ '<STR_LIT>' ] ) <EOL> nose . main ( argv = argv ) </s>
