def test_regularFailure(self):
    '\n        If startDebugMode() is called, calling Failure() will first call\n        pdb.post_mortem with the traceback.\n        '
    try:
        (1 / 0)
    except:
        (typ, exc, tb) = sys.exc_info()
        f = failure.Failure()
    self.assertEqual(self.result, [tb])
    self.assertFalse(f.captureVars)
If startDebugMode() is called, calling Failure() will first call
pdb.post_mortem with the traceback.
def test_regularFailure(self):
    '\n        If startDebugMode() is called, calling Failure() will first call\n        pdb.post_mortem with the traceback.\n        '
    try:
        (1 / 0)
    except:
        (typ, exc, tb) = sys.exc_info()
        f = failure.Failure()
    self.assertEqual(self.result, [tb])
    self.assertFalse(f.captureVars)