@@ -90,7 +90,10 @@ def tfs_predictor_with_model_and_entry_point_and_dependencies(
9090 tests .integ .DATA_DIR , "tfs/tfs-test-entrypoint-and-dependencies/inference.py"
9191 )
9292 dependencies = [
93- os .path .join (tests .integ .DATA_DIR , "tfs/tfs-test-entrypoint-and-dependencies/dependency.py" )
93+ os .path .join (
94+ tests .integ .DATA_DIR ,
95+ "tfs/tfs-test-entrypoint-and-dependencies/dependency.py" ,
96+ )
9497 ]
9598
9699 model_data = "file://" + os .path .join (
@@ -133,7 +136,10 @@ def tfs_predictor_with_accelerator(
133136 name = endpoint_name ,
134137 )
135138 predictor = model .deploy (
136- 1 , cpu_instance_type , endpoint_name = endpoint_name , accelerator_type = "ml.eia1.medium"
139+ 1 ,
140+ cpu_instance_type ,
141+ endpoint_name = endpoint_name ,
142+ accelerator_type = "ml.eia1.medium" ,
137143 )
138144 yield predictor
139145
@@ -161,9 +167,6 @@ def test_predict_with_accelerator(tfs_predictor_with_accelerator):
161167
162168
163169@pytest .mark .local_mode
164- @pytest .mark .skip (
165- reason = "This test is broken due to a regression." "This test should be reenabled later."
166- )
167170def test_predict_with_entry_point (tfs_predictor_with_model_and_entry_point_same_tar ):
168171 input_data = {"instances" : [1.0 , 2.0 , 5.0 ]}
169172 expected_result = {"predictions" : [4.0 , 4.5 , 6.0 ]}
@@ -173,9 +176,6 @@ def test_predict_with_entry_point(tfs_predictor_with_model_and_entry_point_same_
173176
174177
175178@pytest .mark .local_mode
176- @pytest .mark .skip (
177- reason = "This test is broken due to a regression." "This test should be reenabled later."
178- )
179179def test_predict_with_model_and_entry_point_and_dependencies_separated (
180180 tfs_predictor_with_model_and_entry_point_and_dependencies ,
181181):
0 commit comments