@@ -53,7 +53,7 @@ class Row:
5353 def test_execute_map_pandas_type (
5454 self , mock_connection : turu .snowflake .MockConnection
5555 ):
56- import pandas as pd
56+ import pandas as pd # type: ignore[import]
5757
5858 _cursor : turu .snowflake .Cursor [
5959 Never , pd .DataFrame , Never
@@ -239,7 +239,7 @@ def test_cursor_use_role(self, mock_connection: turu.snowflake.MockConnection):
239239 reason = "pyarrow is not installed" ,
240240 )
241241 def test_fetch_arrow_all (self , mock_connection : turu .snowflake .MockConnection ):
242- import pyarrow as pa
242+ import pyarrow as pa # type: ignore[import]
243243
244244 expected : pa .Table = pa .table (
245245 data = [pa .array ([1 , 2 ], type = pa .int8 ())],
@@ -258,7 +258,7 @@ def test_fetch_arrow_all(self, mock_connection: turu.snowflake.MockConnection):
258258 reason = "pyarrow is not installed" ,
259259 )
260260 def test_fetch_arrow_batches (self , mock_connection : turu .snowflake .MockConnection ):
261- import pyarrow as pa
261+ import pyarrow as pa # type: ignore[import]
262262
263263 expected : pa .Table = pa .table (
264264 data = [pa .array ([1 , 2 ], type = pa .int8 ())],
@@ -272,7 +272,7 @@ def test_fetch_arrow_batches(self, mock_connection: turu.snowflake.MockConnectio
272272
273273 @pytest .mark .skipif (not USE_PANDAS , reason = "pandas is not installed" )
274274 def test_fetch_pandas_all (self , mock_connection : turu .snowflake .MockConnection ):
275- import pandas as pd
275+ import pandas as pd # type: ignore[import]
276276
277277 expected = pd .DataFrame ({"ID" : [1 , 2 ]})
278278
@@ -285,7 +285,7 @@ def test_fetch_pandas_all(self, mock_connection: turu.snowflake.MockConnection):
285285
286286 @pytest .mark .skipif (not USE_PANDAS , reason = "pandas is not installed" )
287287 def test_fetch_pandas_batches (self , mock_connection : turu .snowflake .MockConnection ):
288- import pandas as pd
288+ import pandas as pd # type: ignore[import]
289289
290290 expected = pd .DataFrame ({"ID" : [1 , 2 ]})
291291
@@ -298,7 +298,7 @@ def test_fetch_pandas_batches(self, mock_connection: turu.snowflake.MockConnecti
298298 def test_inject_pyarrow_response_from_csv (
299299 self , mock_connection : turu .snowflake .MockConnection
300300 ):
301- import pyarrow as pa
301+ import pyarrow as pa # type: ignore[import]
302302
303303 expected : pa .Table = pa .table (
304304 data = [pa .array ([1 , 2 ], type = pa .int64 ())],
@@ -327,7 +327,7 @@ def test_inject_pyarrow_response_from_csv(
327327 def test_inject_pandas_response_from_csv (
328328 self , mock_connection : turu .snowflake .MockConnection
329329 ):
330- import pandas as pd
330+ import pandas as pd # type: ignore[import]
331331
332332 expected = pd .DataFrame ({"ID" : [1 , 2 ]})
333333
@@ -355,7 +355,7 @@ def test_inject_pandas_response_from_csv(
355355 def test_inject_pandas_response_from_csv_with_pandera_validation (
356356 self , mock_connection : turu .snowflake .MockConnection
357357 ):
358- import pandas as pd
358+ import pandas as pd # type: ignore[import]
359359 import pandera as pa # type: ignore[import]
360360
361361 class RowModel (pa .DataFrameModel ):
0 commit comments