#NEWLINE# @ task ( default = True ) #NEWLINE# def test( args = None ) : #NEWLINE# #INDENT# '\n    Run all unit tests and doctests.\n\n    Specify string argument ``args`` for additional args to ``nosetests``.\n    ' #NEWLINE# tests = ( '' if args else ' tests' ) #NEWLINE# default_args = ( '-sv --with-doctest --nologcapture --with-color %s' % tests ) #NEWLINE# default_args += ( ( ' ' + args ) if args else '' ) #NEWLINE# nose . core . run_exit ( argv = ( [ '' ] + default_args . split ( ) ) )