def test_getTracebackObjectFromCaptureVars(self):
    '\n        C{captureVars=True} has no effect on the result of\n        C{getTracebackObject}.\n        '
    try:
        (1 / 0)
    except ZeroDivisionError:
        noVarsFailure = failure.Failure()
        varsFailure = failure.Failure(captureVars=True)
    self.assertEqual(noVarsFailure.getTracebackObject(), varsFailure.tb)
C{captureVars=True} has no effect on the result of
C{getTracebackObject}.
def test_getTracebackObjectFromCaptureVars(self):
    '\n        C{captureVars=True} has no effect on the result of\n        C{getTracebackObject}.\n        '
    try:
        (1 / 0)
    except ZeroDivisionError:
        noVarsFailure = failure.Failure()
        varsFailure = failure.Failure(captureVars=True)
    self.assertEqual(noVarsFailure.getTracebackObject(), varsFailure.tb)