#NEWLINE# def test_util_date_timewithtoutz( self ) : #NEWLINE# #INDENT# t = time . time ( ) #NEWLINE# def ablocaltime( t ) : #NEWLINE# #INDENT# from time import gmtime #NEWLINE# res = gmtime ( t ) #NEWLINE# return res #NEWLINE# #UNINDENT# util . localtime = ablocaltime #NEWLINE# res = util . date_time ( t , local_time_zone = True ) #NEWLINE# self . assert_ ( ( res is not t ) )