#NEWLINE# def assertIsNotNone( self , x ) : #NEWLINE# #INDENT# '\n        Tests that x is not None.  If x is None, raise an assertion error.\n        ' #NEWLINE# if ( x is None ) : #NEWLINE# #INDENT# raise AssertionError ( '{} is None' . format ( x ) )