Skip to content

Commit 7c4fd8c

Browse files
Fix: Clean up deprecated tests
1 parent 774b6b3 commit 7c4fd8c

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

tests/core/test_connection_config.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1683,16 +1683,3 @@ def mock_add_output_converter(sql_type, converter_func):
16831683
expected_dt = datetime(2023, 1, 1, 12, 0, 0, 0, timezone(timedelta(hours=-8, minutes=0)))
16841684
assert result == expected_dt
16851685
assert result.tzinfo == timezone(timedelta(hours=-8))
1686-
1687-
1688-
def test_mssql_no_cursor_init_for_pymssql():
1689-
"""Test that _cursor_init is not needed for pymssql driver."""
1690-
config = MSSQLConnectionConfig(
1691-
host="localhost",
1692-
driver="pymssql",
1693-
check_import=False,
1694-
)
1695-
1696-
# Since we moved output converter setup to connection level,
1697-
# there's no cursor init needed for any driver
1698-
assert not hasattr(config, "_cursor_init") or config._cursor_init is None

0 commit comments

Comments
 (0)