<s> '''<STR_LIT>''' <EOL> from __future__ import unicode_literals <EOL> import nose <EOL> import sys <EOL> from textblob . compat import PY2 <EOL> PY26 = PY2 and int ( sys . version_info [ <NUM_LIT:1> ] ) < <NUM_LIT:7> <EOL> PYPY = "<STR_LIT>" in sys . version <EOL> def main ( ) : <EOL> args = get_argv ( ) <EOL> success = nose . run ( argv = args ) <EOL> sys . exit ( <NUM_LIT:0> ) if success else sys . exit ( <NUM_LIT:1> ) <EOL> def get_argv ( ) : <EOL> args = [ sys . argv [ <NUM_LIT:0> ] , "<STR_LIT>" , '<STR_LIT>' , '<STR_LIT:2>' ] <EOL> attr_conditions = [ ] <EOL> if "<STR_LIT>" in sys . argv : <EOL> return args <EOL> if "<STR_LIT>" in sys . argv : <EOL> args += [ "<STR_LIT>" , "<STR_LIT>" ] <EOL> try : <EOL> __import__ ( '<STR_LIT>' ) <EOL> except ImportError : <EOL> attr_conditions . append ( "<STR_LIT>" ) <EOL> if not PY2 : <EOL> attr_conditions . append ( "<STR_LIT>" ) <EOL> if PYPY : <EOL> attr_conditions . append ( "<STR_LIT>" ) <EOL> if "<STR_LIT>" in sys . argv : <EOL> attr_conditions . append ( "<STR_LIT>" ) <EOL> if "<STR_LIT>" in sys . argv : <EOL> attr_conditions . append ( "<STR_LIT>" ) <EOL> attr_conditions . append ( "<STR_LIT>" ) <EOL> attr_expression = "<STR_LIT>" . join ( attr_conditions ) <EOL> if attr_expression : <EOL> args . extend ( [ "<STR_LIT>" , attr_expression ] ) <EOL> return args <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> main ( ) </s>
