#NEWLINE# def test_format_sparse_config( self ) : #NEWLINE# #INDENT# warn_filters = warnings . filters #NEWLINE# warnings . filterwarnings ( 'ignore' , category = FutureWarning , module = '.*format' ) #NEWLINE# pd . set_option ( 'display.multi_sparse' , False ) #NEWLINE# result = self . index . format ( ) #NEWLINE# self . assertEqual ( self [ 1 ] , 'foo  two' ) #NEWLINE# self . reset_display_options ( ) #NEWLINE# warnings . filters = warn_filters