def test_error_logged_wait_timeout(self):
        d = Deferred()
        dr = EventualResult(d, None)
        try:
            dr.wait(0)
        except TimeoutError:
            pass
        d.errback(ZeroDivisionError())
        del dr
        if sys.version_info[0] == 2:
            sys.exc_clear()
        gc.collect()
        excs = self.flushLoggedErrors(ZeroDivisionError)
        self.assertEqual(len(excs), 1)
Test accessing __debug__ returns no errors
dataset/ETHPy150Open itamarst/crochet/crochet/tests/test_api.py/EventualResultTests.test_error_logged_wait_timeout--crossover with--dataset/ETHPy150Open timothycrosley/frosted/frosted/test/test_other.py/test_access_debug