@@ -72,7 +72,7 @@ def multiply(x, y):
7272 )
7373 finally :
7474 # clean up the gcp assets created for the managed function.
75- cleanup_function_assets (multiply , bigquery_client )
75+ cleanup_function_assets (multiply , bigquery_client , ignore_failures = False )
7676
7777
7878def test_managed_function_stringify_with_ibis (
@@ -118,7 +118,7 @@ def stringify(x):
118118 )
119119 finally :
120120 # clean up the gcp assets created for the managed function.
121- cleanup_function_assets (stringify , bigquery_client )
121+ cleanup_function_assets (stringify , bigquery_client , ignore_failures = False )
122122
123123
124124@pytest .mark .parametrize (
@@ -167,7 +167,7 @@ def featurize(x: int) -> list[array_dtype]: # type: ignore
167167
168168 finally :
169169 # Clean up the gcp assets created for the managed function.
170- cleanup_function_assets (featurize , session .bqclient )
170+ cleanup_function_assets (featurize , session .bqclient , ignore_failures = False )
171171
172172
173173@pytest .mark .parametrize (
@@ -234,7 +234,7 @@ def foo(x: int) -> typ: # type:ignore
234234 pandas .testing .assert_frame_equal (bf_result_gbq , pd_result , check_dtype = False )
235235 finally :
236236 # Clean up the gcp assets created for the managed function.
237- cleanup_function_assets (foo , session .bqclient )
237+ cleanup_function_assets (foo , session .bqclient , ignore_failures = False )
238238
239239
240240@pytest .mark .parametrize (
@@ -274,7 +274,7 @@ def foo_list(x: int) -> list[typ]: # type:ignore
274274 pandas .testing .assert_frame_equal (bf_result , pd_result , check_dtype = False )
275275 finally :
276276 # Clean up the gcp assets created for the managed function.
277- cleanup_function_assets (foo_list , session .bqclient )
277+ cleanup_function_assets (foo_list , session .bqclient , ignore_failures = False )
278278
279279
280280def test_managed_function_series_combine (session , scalars_dfs ):
@@ -330,7 +330,9 @@ def add(x: int, y: int) -> int:
330330 pandas .testing .assert_series_equal (bf_result , pd_result , check_dtype = False )
331331 finally :
332332 # Clean up the gcp assets created for the managed function.
333- cleanup_function_assets (add_managed_func , session .bqclient )
333+ cleanup_function_assets (
334+ add_managed_func , session .bqclient , ignore_failures = False
335+ )
334336
335337
336338def test_managed_function_series_combine_array_output (session , scalars_dfs ):
@@ -391,7 +393,9 @@ def add_list(x: int, y: int) -> list[int]:
391393 pandas .testing .assert_series_equal (bf_result_gbq , pd_result , check_dtype = False )
392394 finally :
393395 # Clean up the gcp assets created for the managed function.
394- cleanup_function_assets (add_list_managed_func , session .bqclient )
396+ cleanup_function_assets (
397+ add_list_managed_func , session .bqclient , ignore_failures = False
398+ )
395399
396400
397401def test_managed_function_dataframe_map (session , scalars_dfs ):
@@ -425,7 +429,7 @@ def add_one(x):
425429 pandas .testing .assert_frame_equal (bf_result , pd_result )
426430 finally :
427431 # Clean up the gcp assets created for the managed function.
428- cleanup_function_assets (mf_add_one , session .bqclient )
432+ cleanup_function_assets (mf_add_one , session .bqclient , ignore_failures = False )
429433
430434
431435def test_managed_function_dataframe_map_array_output (
@@ -464,7 +468,9 @@ def add_one_list(x):
464468 pandas .testing .assert_frame_equal (bf_result_gbq , pd_result , check_dtype = False )
465469 finally :
466470 # Clean up the gcp assets created for the managed function.
467- cleanup_function_assets (mf_add_one_list , session .bqclient )
471+ cleanup_function_assets (
472+ mf_add_one_list , session .bqclient , ignore_failures = False
473+ )
468474
469475
470476def test_managed_function_dataframe_apply_axis_1 (session , scalars_dfs ):
@@ -500,7 +506,7 @@ def add_ints(x, y):
500506 )
501507 finally :
502508 # Clean up the gcp assets created for the managed function.
503- cleanup_function_assets (add_ints_mf , session .bqclient )
509+ cleanup_function_assets (add_ints_mf , session .bqclient , ignore_failures = False )
504510
505511
506512def test_managed_function_dataframe_apply_axis_1_array_output (session ):
@@ -605,4 +611,4 @@ def foo(x, y, z):
605611
606612 finally :
607613 # Clean up the gcp assets created for the managed function.
608- cleanup_function_assets (foo , session .bqclient )
614+ cleanup_function_assets (foo , session .bqclient , ignore_failures = False )
0 commit comments