(*arg, **kw)
| 383 | """test #7388""" |
| 384 | |
| 385 | def fail(*arg, **kw): |
| 386 | raise BaseException("some base exception") |
| 387 | |
| 388 | with mock.patch.object(testing.db.dialect, "do_commit", fail): |
| 389 | with expect_raises_message(BaseException, "some base exception"): |
no outgoing calls
no test coverage detected