We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8cb1805 commit 5cfebd1Copy full SHA for 5cfebd1
tests/test_future/test_utils.py
@@ -383,7 +383,7 @@ def __str__(self):
383
out = Exception.__str__(self)
384
if hasattr(self, '__cause__') and self.__cause__ and hasattr(self.__cause__, '__traceback__') and self.__cause__.__traceback__:
385
out += '\n\nThe above exception was the direct cause of the following exception:\n\n'
386
- out += ''.join(traceback.format_tb(self.__cause__.__traceback__) + ['{}: {}'.format(self.__cause__.__class__.__name__, self.__cause__)])
+ out += ''.join(traceback.format_tb(self.__cause__.__traceback__) + ['{0}: {1}'.format(self.__cause__.__class__.__name__, self.__cause__)])
387
return out
388
except Exception as e:
389
print(e)
0 commit comments