def test_getTracebackObjectFromCaptureVars(self):
        """
        C{captureVars=True} has no effect on the result of
        C{getTracebackObject}.
        """
        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}.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/test/test_failure.py