#NEWLINE# def test_function_name( self ) : #NEWLINE# #INDENT# x = tensor . vector ( 'x' ) #NEWLINE# func = theano . function ( [ x ] , ( x + 1.0 ) ) #NEWLINE# regex = re . compile ( os . path . basename ( '.*test_function_name.pyc?:13' ) ) #NEWLINE# assert ( regex . match ( func . name ) is not None )