#NEWLINE# def test_deserialize_deprecated_value( self ) : #NEWLINE# #INDENT# self . schema [ 'foo' ] = types . Deprecated ( ) #NEWLINE# ( result , errors ) = self . schema . deserialize ( self . values ) #NEWLINE# self . assertItemsEqual ( [ 'bar' , 'baz' ] , result . keys ( ) ) #NEWLINE# self . assertNotIn ( 'foo' , errors )