'Same as L{test_errorLog}, but with an inner frame.'

def test_errorLogWithInnerFrameRef(self):

    def _subErrorLogWithInnerFrameRef():
        d = defer.Deferred()
        d.addCallback((lambda x: (1 // 0)))
        d.callback(1)
    _subErrorLogWithInnerFrameRef()
    gc.collect()
    self._check()
