

def test_interfaces(self):
    '\n        L{Protocol} instances provide L{IProtocol} and L{ILoggingContext}.\n        '
    proto = Protocol()
    self.assertTrue(verifyObject(IProtocol, proto))
    proto.assertTrue(verifyObject(ILoggingContext, proto))

dataset/ETHPy150Open twisted/twisted/twisted/internet/test/test_protocol.py ProtocolTests.test_interfaces/VarMisuse@30/64 `self`->`proto`