From da330471ed328763399ba39c6b73695107008bc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edgar=20Ram=C3=ADrez=20Mondrag=C3=B3n?= <16805946+edgarrmondragon@users.noreply.github.com> Date: Mon, 11 Nov 2024 10:26:02 -0600 Subject: [PATCH] Update tests/core/test_connector_sql.py --- tests/core/test_connector_sql.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/core/test_connector_sql.py b/tests/core/test_connector_sql.py index ea98d75be..a45b59373 100644 --- a/tests/core/test_connector_sql.py +++ b/tests/core/test_connector_sql.py @@ -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"))