#NEWLINE# def test_parse_datetime( self ) : #NEWLINE# #INDENT# field = forms . DateTimeField ( ) #NEWLINE# result = field . clean ( '2000-01-01' ) #NEWLINE# self . assertEqual ( result , datetime ( 2000 , 1 , 1 ) )