#NEWLINE# def compare_frame_dt_mixed_tzs( self , result , expected , typ , version ) : #NEWLINE# #INDENT# if ( LooseVersion ( expected ) < '0.17.0' ) : #NEWLINE# #INDENT# expected = expected . astype ( object ) #NEWLINE# tm . assert_frame_equal ( result , expected ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# tm . assert_frame_equal ( result , expected )