#NEWLINE# def test_unregisterSubscriptionAdapter_w_nonblank_name( self ) : #NEWLINE# #INDENT# from zope.interface.declarations import InterfaceClass #NEWLINE# from zope.interface._compat import _u #NEWLINE# class IFoo ( InterfaceClass ) : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# ifoo = IFoo ( 'IFoo' ) #NEWLINE# ibar = IFoo ( 'IBar' ) #NEWLINE# _nonblank = _u ( 'nonblank' ) #NEWLINE# comp = self . _makeOne ( ) #NEWLINE# self . assertRaises ( TypeError , comp . unregisterSubscriptionAdapter , required = ifoo , provided = ibar , name = ibar )