#NEWLINE# def test_max_as_datetime( self ) : #NEWLINE# #INDENT# field = fields . Date ( max = datetime ( 1984 , 6 , 7 , 1 , 2 , 0 ) ) #NEWLINE# assert_in ( 'maximum' , field . __schema__ ) #NEWLINE# assert_equal ( field . __schema__ [ 'maximum' ] , '1984-06-07' ) #NEWLINE# assert_not_in ( 'exclusiveMaximum' , field . __schema__ )