Skip to content

Commit dc788f4

Browse files
pfalconpi-anl
authored andcommitted
unittest: Reinstate useful debugger helper.
Signed-off-by: Paul Sokolovsky <[email protected]>
1 parent dedfe2d commit dc788f4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

python-stdlib/unittest/unittest.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,8 @@ def run_class(c, test_result):
237237
exceptions.append(capture_exc(ex))
238238
print(" FAIL")
239239
test_result.failuresNum += 1
240+
# Uncomment to investigate failure in detail
241+
# raise
240242
continue
241243
finally:
242244
tear_down()

0 commit comments

Comments
 (0)