#NEWLINE# def test_jpeg_with_exit_rotation_info_3_is_rotated_180_degrees( self ) : #NEWLINE# #INDENT# ( o , f ) = self . get_image_and_formatter ( 'rotate3.jpeg' ) #NEWLINE# ( i , c ) = f . format ( ) #NEWLINE# tools . assert_equals ( ( 20 , 10 ) , c . size ) #NEWLINE# tools . assert_equals ( BLACK , i . getpixel ( ( 5 , 5 ) ) ) #NEWLINE# tools . assert_equals ( WHITE , i . getpixel ( ( 15 , 5 ) ) )