@@ -72,7 +72,7 @@ def multiply(x, y):
72
72
)
73
73
finally :
74
74
# 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 )
76
76
77
77
78
78
def test_managed_function_stringify_with_ibis (
@@ -118,7 +118,7 @@ def stringify(x):
118
118
)
119
119
finally :
120
120
# 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 )
122
122
123
123
124
124
@pytest .mark .parametrize (
@@ -167,7 +167,7 @@ def featurize(x: int) -> list[array_dtype]: # type: ignore
167
167
168
168
finally :
169
169
# 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 )
171
171
172
172
173
173
@pytest .mark .parametrize (
@@ -234,7 +234,7 @@ def foo(x: int) -> typ: # type:ignore
234
234
pandas .testing .assert_frame_equal (bf_result_gbq , pd_result , check_dtype = False )
235
235
finally :
236
236
# 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 )
238
238
239
239
240
240
@pytest .mark .parametrize (
@@ -274,7 +274,7 @@ def foo_list(x: int) -> list[typ]: # type:ignore
274
274
pandas .testing .assert_frame_equal (bf_result , pd_result , check_dtype = False )
275
275
finally :
276
276
# 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 )
278
278
279
279
280
280
def test_managed_function_series_combine (session , scalars_dfs ):
@@ -330,7 +330,9 @@ def add(x: int, y: int) -> int:
330
330
pandas .testing .assert_series_equal (bf_result , pd_result , check_dtype = False )
331
331
finally :
332
332
# 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
+ )
334
336
335
337
336
338
def test_managed_function_series_combine_array_output (session , scalars_dfs ):
@@ -391,7 +393,9 @@ def add_list(x: int, y: int) -> list[int]:
391
393
pandas .testing .assert_series_equal (bf_result_gbq , pd_result , check_dtype = False )
392
394
finally :
393
395
# 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
+ )
395
399
396
400
397
401
def test_managed_function_dataframe_map (session , scalars_dfs ):
@@ -425,7 +429,7 @@ def add_one(x):
425
429
pandas .testing .assert_frame_equal (bf_result , pd_result )
426
430
finally :
427
431
# 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 )
429
433
430
434
431
435
def test_managed_function_dataframe_map_array_output (
@@ -464,7 +468,9 @@ def add_one_list(x):
464
468
pandas .testing .assert_frame_equal (bf_result_gbq , pd_result , check_dtype = False )
465
469
finally :
466
470
# 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
+ )
468
474
469
475
470
476
def test_managed_function_dataframe_apply_axis_1 (session , scalars_dfs ):
@@ -500,7 +506,7 @@ def add_ints(x, y):
500
506
)
501
507
finally :
502
508
# 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 )
504
510
505
511
506
512
def test_managed_function_dataframe_apply_axis_1_array_output (session ):
@@ -605,4 +611,4 @@ def foo(x, y, z):
605
611
606
612
finally :
607
613
# 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