#NEWLINE# @ staticmethod #NEWLINE# def _test_op( panel , op ) : #NEWLINE# #INDENT# with tm . assert_produces_warning ( FutureWarning , check_stacklevel = False ) : #NEWLINE# #INDENT# result = op ( panel , 1 ) #NEWLINE# #UNINDENT# tm . assert_sp_frame_equal ( result [ 'ItemA' ] , op ( panel [ 'ItemA' ] , 1 ) )