Skip to content

Commit 015e837

Browse files
author
Jordan Adler
committed
bugfix
1 parent 9555046 commit 015e837

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_future/test_utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -369,7 +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', ret)
372+
ret = re.sub(r'"[^"]*future/utils/__init__.py', '"/opt/python-future/src/future/utils/__init__.py', ret)
373373
ret = re.sub(r', line \d+,', ', line 1,', ret)
374374
self.assertEqual(expected.splitlines(), ret.splitlines())
375375
else:

0 commit comments

Comments
 (0)