()
| 15 | |
| 16 | |
| 17 | def test_multi_statements_false(): |
| 18 | conn = connection_factory(multi_statements=False) |
| 19 | cursor = conn.cursor() |
| 20 | |
| 21 | with pytest.raises(ProgrammingError): |
| 22 | cursor.execute("select 17; select 2") |
| 23 | |
| 24 | cursor.execute("select 17") |
| 25 | rows = cursor.fetchall() |
| 26 | assert rows == ((17,),) |
nothing calls this directly
no test coverage detected
searching dependent graphs…