Skip to content

Commit 5cfebd1

Browse files
committed
add indices
1 parent 8cb1805 commit 5cfebd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_future/test_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ def __str__(self):
383383
out = Exception.__str__(self)
384384
if hasattr(self, '__cause__') and self.__cause__ and hasattr(self.__cause__, '__traceback__') and self.__cause__.__traceback__:
385385
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__)])
386+
out += ''.join(traceback.format_tb(self.__cause__.__traceback__) + ['{0}: {1}'.format(self.__cause__.__class__.__name__, self.__cause__)])
387387
return out
388388
except Exception as e:
389389
print(e)

0 commit comments

Comments
 (0)