(executor, sql)
| 626 | @dbtest |
| 627 | @pytest.mark.parametrize("sql", ["invalid sql", "SELECT 1; select error;"]) |
| 628 | def test_raises_with_no_formatter(executor, sql): |
| 629 | with pytest.raises(psycopg.ProgrammingError): |
| 630 | list(executor.run(sql)) |
| 631 | |
| 632 | |
| 633 | @dbtest |