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:
parent
db4f8960a6
commit
4ad659b083
@ -139,6 +139,9 @@ class BaseMergeCheck(unittest.TestCase):
|
|||||||
if test_error_str:
|
if test_error_str:
|
||||||
self.assertIn(test_error_str, err_str)
|
self.assertIn(test_error_str, err_str)
|
||||||
return
|
return
|
||||||
|
else:
|
||||||
|
if "Traceback (most recent call last):" in err_str:
|
||||||
|
raise Exception(err_str)
|
||||||
if debug:
|
if debug:
|
||||||
print('input :', self.canonicalize(input_doc))
|
print('input :', self.canonicalize(input_doc))
|
||||||
print('result:', self.canonicalize(result_str))
|
print('result:', self.canonicalize(result_str))
|
||||||
|
Loading…
Reference in New Issue
Block a user