#NEWLINE# def test_datetimes_persist( ) : #NEWLINE# #INDENT# typs = [ list , tuple , np . ndarray , tuple ] #NEWLINE# L = ( [ datetime . datetime . now ( ) ] * 3 ) #NEWLINE# ds = discover ( x ) #NEWLINE# x = L #NEWLINE# for cls in typs : #NEWLINE# #INDENT# x = convert ( cls , x ) #NEWLINE# assert ( discover ( x ) == ds )