#NEWLINE# def assertDimensions( self , x , y , w , h , win = None ) : #NEWLINE# #INDENT# 'Asserts dimensions of window' #NEWLINE# if ( win is None ) : #NEWLINE# #INDENT# win = self . c . window #NEWLINE# #UNINDENT# info = win . info ( ) #NEWLINE# assert ( info [ 'x' ] == x ) , info #NEWLINE# assert ( info [ 'y' ] == y ) , info #NEWLINE# assert ( info [ 'width' ] == w ) , info #NEWLINE# assert ( info [ 'height' ] == h ) , info