#NEWLINE# def test_convert_date_time( self ) : #NEWLINE# #INDENT# 'Test the _convert_date_time() method for seconds.' #NEWLINE# for excel_date in self . excel_dates : #NEWLINE# #INDENT# date = datetime . datetime . strptime ( excel_date [ 0 ] , '%Y-%m-%dT%H:%M:%S.%f' ) #NEWLINE# got = self . worksheet . _convert_date_time ( date ) #NEWLINE# exp = excel_date [ 1 ] #NEWLINE# self . assertAlmostEqual ( got , exp , places = 15 )