#NEWLINE# def test_shift_empty( self ) : #NEWLINE# #INDENT# df = DataFrame ( { #NEWLINE# #INDENT# 'foo' : [ ] , #NEWLINE# #UNINDENT# } ) #NEWLINE# rs = df . shift ( ( - 1 ) ) #NEWLINE# assert_frame_equal ( df , df )