def test_errorLogWithInnerFrameCycle(self):
        def _subErrorLogWithInnerFrameCycle():
            d = defer.Deferred()
            d.addCallback(lambda x, d=d: 1 / 0)
            d._d = d
            d.callback(1)

        _subErrorLogWithInnerFrameCycle()
        gc.collect()
        self._check()
Same as L{test_errorLogWithInnerFrameRef}, plus create a cycle.
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/test/test_defer.py/LogTestCase.test_errorLogWithInnerFrameCycle