Skip to content

Commit

Permalink
Update tests/core/test_connector_sql.py
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarrmondragon authored Nov 11, 2024
1 parent 7f12b2d commit da33047
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/core/test_connector_sql.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,9 +189,7 @@ def test_connect_calls_connect(self, connector):

def test_connect_raises_on_operational_failure(self, connector):
with (
pytest.raises(
sa.exc.OperationalError,
) as _,
pytest.raises(sa.exc.OperationalError) as _,
connector._connect() as conn,
):
conn.execute(sa.text("SELECT * FROM fake_table"))
Expand Down

0 comments on commit da33047

Please sign in to comment.