where the first Exception: message occurs in the traceback, while the second is added by the message template. This PR removes the second, instead switching on an empty template in CellExecutionError.__str__.
Removes unused __unicode__ method for Python 2 unicode reprs.
tracebacks end with this info, so no need to repeat it in our template unless the traceback is empty. Currently exceptions end with:
where the first
Exception: message
occurs in the traceback, while the second is added by the message template. This PR removes the second, instead switching on an empty template inCellExecutionError.__str__
.Removes unused
__unicode__
method for Python 2 unicode reprs.