#NEWLINE# def isFalse( self , expr ) : #NEWLINE# #INDENT# 'assert that an expression evaluates to False' #NEWLINE# testval = self . session . run ( self ) #NEWLINE# if isinstance ( testval , np . ndarray ) : #NEWLINE# #INDENT# testval = np . all ( testval ) #NEWLINE# #UNINDENT# return self . assertFalse ( testval )