#NEWLINE# def test_parse_dates_list( self ) : #NEWLINE# #INDENT# df = DataFrame ( { #NEWLINE# #INDENT# 'date' : date_range ( '1/1/2001' , periods = 10 ) , #NEWLINE# #UNINDENT# } ) #NEWLINE# expected = df . to_html ( ) #NEWLINE# res = self . read_html ( expected , parse_dates = [ 1 ] , index_col = 0 ) #NEWLINE# tm . assert_frame_equal ( df , res [ 0 ] ) #NEWLINE# res = self . read_html ( df , parse_dates = [ 'date' ] , index_col = 0 ) #NEWLINE# tm . assert_frame_equal ( df , res [ 0 ] )