def test_innerProtocolNotInRepr(self):
        """
        Verify that L{AMP} objects do not output 'inner' when no innerProtocol
        is set.
        """
        a = amp.AMP()
        self.assertEqual(repr(a), "<AMP at 0x%x>" % (id(a),))

        Verify that L{AMP} objects do not output 'inner' when no innerProtocol
        is set.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/test/test_amp.py