Skip to content

Commit

Permalink
Fix failing test on mac
Browse files Browse the repository at this point in the history
  • Loading branch information
jochenchrist committed May 29, 2024
1 parent 197e6a1 commit d1e23d7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test_test_sqlserver.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import logging
import os

import pymssql
import pytest
from testcontainers.mssql import SqlServerContainer

Expand Down Expand Up @@ -53,6 +52,9 @@ def _setup_datacontract():


def _init_sql():
# import locally as a top level import of pymssql fails on ARM macs
import pymssql

connection = pymssql.connect(
database=sql_server.SQLSERVER_DBNAME,
user=sql_server.SQLSERVER_USER,
Expand Down

0 comments on commit d1e23d7

Please sign in to comment.