Skip to content

Commit a0e4007

Browse files
author
Jordan Adler
committed
iter
1 parent f7c7ebd commit a0e4007

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test_future/test_utils.py

+1
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,7 @@ def test_chained_exceptions_stacktrace(self):
369369
raise_from(CustomException('ERROR'), val_err)
370370
except Exception as err:
371371
ret = re.sub(r'"[^"]*tests/test_future', '"/opt/python-future/tests/test_future', traceback.format_exc())
372+
ret = re.sub(r'"[^"]*src/future', '"/opt/python-future/src/future', traceback.format_exc())
372373
ret = re.sub(r', line \d+,', ', line 1,', ret)
373374
self.assertEqual(expected.splitlines(), ret.splitlines())
374375
else:

0 commit comments

Comments
 (0)