[Python-checkins] cpython: Fix brownbag in issue 17911 commit

robert.collins python-checkins at python.org
Thu Mar 5 00:26:21 CET 2015


https://hg.python.org/cpython/rev/7cea10917f40
changeset: 94851:7cea10917f40
user: Robert Collins <rbtcollins at hp.com>
date: Thu Mar 05 12:26:00 2015 +1300
summary:
 Fix brownbag in issue 17911 commit
files:
 Lib/test/test_traceback.py | 5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/Lib/test/test_traceback.py b/Lib/test/test_traceback.py
--- a/Lib/test/test_traceback.py
+++ b/Lib/test/test_traceback.py
@@ -591,10 +591,9 @@
 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__)
-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /