#NEWLINE# @ skipUnlessDBFeature ( 'supports_timezones' ) #NEWLINE# @ skipUnlessDBFeature ( 'needs_datetime_string_cast' ) #NEWLINE# def test_aware_datetime_in_other_timezone_unsupported( self ) : #NEWLINE# #INDENT# dt = datetime . datetime ( 2011 , 9 , 1 , 17 , 20 , 30 , tzinfo = ICT ) #NEWLINE# Event . objects . create ( dt = dt ) #NEWLINE# event = Event . objects . get ( ) #NEWLINE# self . assertIsNone ( event . dt . tzinfo ) #NEWLINE# self . assertNotEqual ( event . dt . replace ( tzinfo = EAT ) , dt ) #NEWLINE# self . assertEqual ( event . dt . replace ( tzinfo = ICT ) , dt )