#NEWLINE# def test_unregisterSubscriptionAdapter_miss( self ) : #NEWLINE# #INDENT# from zope.interface.declarations import InterfaceClass #NEWLINE# class IFoo ( InterfaceClass ) : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# ifoo = IFoo ( 'IFoo' ) #NEWLINE# ibar = IFoo ( 'IBar' ) #NEWLINE# class _Factory ( object ) : #NEWLINE# #INDENT# def __init__( self , context ) : #NEWLINE# #INDENT# self . _context = context #NEWLINE# #UNINDENT# #UNINDENT# comp = self . _makeOne ( ) #NEWLINE# ( _monkey , _events ) = self . _wrapEvents ( ) #NEWLINE# with _monkey : #NEWLINE# #INDENT# unreg = comp . unregisterSubscriptionAdapter ( _Factory , ( ibar , ) , ifoo ) #NEWLINE# #UNINDENT# self . failIf ( unreg ) #NEWLINE# self . failIf ( _events )