#NEWLINE# def test_time_types( self ) : #NEWLINE# #INDENT# specs = [ ] #NEWLINE# if testing . requires . mysql_fsp . enabled : #NEWLINE# #INDENT# fsps = [ None , 0 , 5 ] #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# fsps = [ None ] #NEWLINE# #UNINDENT# for type_ in ( mysql . TIMESTAMP , mysql . DATETIME , mysql . TIME ) : #NEWLINE# #INDENT# for fsp in fsps : #NEWLINE# #INDENT# if fsp : #NEWLINE# #INDENT# specs . append ( ( type_ ( fsp = fsp ) , type_ ( fsp = fsp ) ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# specs . append ( ( type_ ( ) , type_ ( ) ) ) #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# specs . extend ( [ ( TIMESTAMP ( ) , mysql . TIMESTAMP ( ) ) , ( DateTime ( ) , mysql . DATETIME ( ) ) ] ) #NEWLINE# self . _run_test ( specs , [ 'fsp' , 'timezone' ] )