#NEWLINE# def test_values( self ) : #NEWLINE# #INDENT# values = [ ( date ( 2011 , 1 , 1 ) , '2011-01-01' ) , ( datetime ( 2011 , 1 , 1 ) , '2011-01-01' ) , ( datetime ( 2011 , 1 , 1 , 23 , 59 , 59 ) , '2011-01-01' ) , ( datetime ( 2011 , 1 , 1 , 23 , 59 , 59 , 1000 ) , '2011-01-01' ) , ( datetime ( 2011 , 1 , 1 , 23 , 59 , 59 , tzinfo = pytz . utc ) , '2011-01-01' ) , ( datetime ( 2011 , 1 , 1 , 23 , 59 , 59 , 1000 , tzinfo = pytz . utc ) , '2011-01-01' ) , ( datetime ( 2011 , 1 , 1 , 23 , 59 , 59 , tzinfo = pytz . timezone ( 'CET' ) ) , '2011-01-01' ) ] #NEWLINE# self . assert_values ( values )