##// END OF EJS Templates
i1673 don't use __suppress_context__ attribute
Justyna Ilczuk -
Show More
@@ -981,7 +981,7 b' class VerboseTB(TBTools):'
981 return None
981 return None
982
982
983 def get_exception_from_context(self, evalue):
983 def get_exception_from_context(self, evalue):
984 if hasattr(evalue, '__context__') and not evalue.__suppress_context__:
984 if hasattr(evalue, '__context__'):
985 context = evalue.__context__
985 context = evalue.__context__
986 if not context:
986 if not context:
987 return None
987 return None
General Comments 0
You need to be logged in to leave comments. Login now