def run(self):
try:<EOL><INDENT>import nose<EOL>arguments = [sys.argv[<NUM_LIT:0>]] + list(self.test_args)<EOL>return nose.run(argv=arguments)<EOL><DEDENT>except ImportError:<EOL><INDENT>print()<EOL>print("<STR_LIT>")<EOL>print()<EOL>raise<EOL><DEDENT>
Runs the unit test framework. Can be overridden to run anything.
Returns True on passing and False on failure.