From 3c76c37bdd4f3555025aeb9340ae6af1a078192a 2014-07-07 05:10:29 From: Justyna Ilczuk Date: 2014-07-07 05:10:29 Subject: [PATCH] i1673 don't use __suppress_context__ attribute --- diff --git a/IPython/core/ultratb.py b/IPython/core/ultratb.py index d05db42..3a31c1f 100644 --- a/IPython/core/ultratb.py +++ b/IPython/core/ultratb.py @@ -981,7 +981,7 @@ class VerboseTB(TBTools): return None def get_exception_from_context(self, evalue): - if hasattr(evalue, '__context__') and not evalue.__suppress_context__: + if hasattr(evalue, '__context__'): context = evalue.__context__ if not context: return None