@@ -142,7 +142,7 @@ def test_bulkcopy_without_database_parameter(conn_str):
142142 bulkcopy_table_name = (
143143 f"[{ original_database } ].[dbo].{ table_name } " if original_database else table_name
144144 )
145- result = cursor ._bulkcopy (bulkcopy_table_name , data , timeout = 60 )
145+ result = cursor .bulkcopy (bulkcopy_table_name , data , timeout = 60 )
146146
147147 # Verify result
148148 assert result is not None
@@ -202,7 +202,7 @@ def test_bulkcopy_with_server_synonyms(conn_str):
202202 test_data = [(1 , "Test1" , 1.5 ), (2 , "Test2" , 2.5 ), (3 , "Test3" , 3.5 )]
203203
204204 # Perform bulkcopy with connection using Addr parameter
205- result = cursor ._bulkcopy (table_name , test_data )
205+ result = cursor .bulkcopy (table_name , test_data )
206206
207207 # Verify result
208208 assert result is not None
@@ -249,7 +249,7 @@ def test_bulkcopy_with_server_synonyms(conn_str):
249249 test_data = [(1 , "Test1" , 1.5 ), (2 , "Test2" , 2.5 ), (3 , "Test3" , 3.5 )]
250250
251251 # Perform bulkcopy with connection using Address parameter
252- result = cursor ._bulkcopy (table_name , test_data )
252+ result = cursor .bulkcopy (table_name , test_data )
253253
254254 # Verify result
255255 assert result is not None
@@ -288,7 +288,7 @@ def test_bulkcopy_with_server_synonyms(conn_str):
288288
289289 # This should raise ValueError due to missing SERVER parameter
290290 try :
291- cursor ._bulkcopy (table_name , test_data )
291+ cursor .bulkcopy (table_name , test_data )
292292 assert False , "Expected ValueError for missing SERVER parameter"
293293 except ValueError as e :
294294 assert "SERVER parameter is required" in str (e )
0 commit comments