Don't swallow exceptions in child process

If this were in place before I started working on #6960,
it could have saved me almost an hour!!

svn: r22964
This commit is contained in:
Vassilii Khachaturov 2013-08-30 19:25:22 +00:00
parent db4f8960a6
commit 4ad659b083

View File

@ -139,6 +139,9 @@ class BaseMergeCheck(unittest.TestCase):
if test_error_str:
self.assertIn(test_error_str, err_str)
return
else:
if "Traceback (most recent call last):" in err_str:
raise Exception(err_str)
if debug:
print('input :', self.canonicalize(input_doc))
print('result:', self.canonicalize(result_str))