#NEWLINE# def test_idempotent_annotations( ) : #NEWLINE# #INDENT# "test that to_synapse_annotations won't mess up a dictionary that's already\n    in the synapse format" #NEWLINE# a = dict ( species = 'Moose' , n = 42 , birthday = Datetime ( 1969 , 4 , 28 ) ) #NEWLINE# sa = to_synapse_annotations ( a ) #NEWLINE# a2 = dict ( ) #NEWLINE# a2 . update ( sa ) #NEWLINE# sa2 = to_synapse_annotations ( sa ) #NEWLINE# assert ( sa == sa2 )