#NEWLINE# def test_localtime_daylight_false_dst_false( self ) : #NEWLINE# #INDENT# test . support . patch ( self , time , 'daylight' , False ) #NEWLINE# t0 = datetime . datetime ( 2012 , 3 , 12 , 1 , 1 ) #NEWLINE# t1 = utils . localtime ( t0 , isdst = ( - 1 ) ) #NEWLINE# t2 = utils . localtime ( t1 ) #NEWLINE# self . assertEqual ( t1 , t2 )