#NEWLINE# def test_datetime_io( self ) : #NEWLINE# #INDENT# dt = DecimalTest . create ( test_id = 0 , dec_val = D ( '0.00' ) ) #NEWLINE# dt2 = DecimalTest . get ( dt . vid ) #NEWLINE# assert ( dt2 . dec_val == dt . dec_val ) #NEWLINE# dt = DecimalTest . create ( test_id = 0 , dec_val = 5 ) #NEWLINE# dt2 = DecimalTest . get ( dt . vid ) #NEWLINE# assert ( dt2 . dec_val == D ( '5' ) )