summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorRobert Collins <rbtcollins@hp.com>2015-03-04 23:26:00 (GMT)
committerRobert Collins <rbtcollins@hp.com>2015-03-04 23:26:00 (GMT)
commit07ff16733ed4a2ec12ab2d331a970e9b8a44935e (patch)
tree0e2acd23657953a9f36f53103b777e24a9b354b5 /Lib/test
parent6bc2c1e7ebf359224e5e547f58ffc2c42cb36a39 (diff)
downloadcpython-07ff16733ed4a2ec12ab2d331a970e9b8a44935e.zip
cpython-07ff16733ed4a2ec12ab2d331a970e9b8a44935e.tar.gz
cpython-07ff16733ed4a2ec12ab2d331a970e9b8a44935e.tar.bz2
Fix brownbag in issue 17911 commit
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_traceback.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/Lib/test/test_traceback.py b/Lib/test/test_traceback.py
index 9ff7548..3c32273 100644
--- a/Lib/test/test_traceback.py
+++ b/Lib/test/test_traceback.py
@@ -591,10 +591,9 @@ class TestTracebackException(unittest.TestCase):
except Exception as e:
exc_info = sys.exc_info()
self.expected_stack = traceback.StackSummary.extract(
- traceback.walk_tb(exc_info[2]), limit=1, lookup_lines=False,
- capture_locals=True)
+ traceback.walk_tb(exc_info[2]), limit=1, lookup_lines=False)
self.exc = traceback.TracebackException.from_exception(
- e, limit=1, lookup_lines=False, capture_locals=True)
+ e, limit=1, lookup_lines=False)
expected_stack = self.expected_stack
exc = self.exc
self.assertEqual(None, exc.__cause__)