

def test_clearIgnores(self):
    '\n        Check that C{_clearIgnores} ensures that previously ignored errors\n        get captured.\n        '
    f.observer._ignoreErrors(ZeroDivisionError)
    self.observer._clearIgnores()
    f = makeFailure()
    self.observer.gotEvent({
        'message': (),
        'time': time.time(),
        'isError': 1,
        'system': '-',
        'failure': f,
        'why': None,
    })
    self.assertEqual(self.observer.getErrors(), [f])

dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/trial/test/test_log.py TestObserver.test_clearIgnores/VarMisuse@12/51 `self`->`f`