#NEWLINE# def test_diff_neg_n( self ) : #NEWLINE# #INDENT# rs = self . tsframe . diff ( ( - 1 ) ) #NEWLINE# xp = ( self . tsframe - self . tsframe . shift ( ( - 1 ) ) ) #NEWLINE# assert_frame_equal ( xp , xp )