(executor, exception_formatter)
| 639 | |
| 640 | @dbtest |
| 641 | def test_on_error_stop(executor, exception_formatter): |
| 642 | sql = "select 1; error; select 1;" |
| 643 | result = list(executor.run(sql, on_error_resume=False, exception_formatter=exception_formatter)) |
| 644 | assert len(result) == 2 |
| 645 | |
| 646 | |
| 647 | # @dbtest |