Skip to content

Commit 4378f26

Browse files
remove redundant fixture def
1 parent 0662742 commit 4378f26

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

tests/system/large/ml/test_linear_model.py

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,12 @@
1313
# limitations under the License.
1414

1515
import pandas as pd
16-
import pytest
1716

18-
from bigframes.ml import core, model_selection
17+
from bigframes.ml import model_selection
1918
import bigframes.ml.linear_model
2019
from bigframes.testing import utils
2120

2221

23-
@pytest.fixture(scope="function")
24-
def penguins_linear_model_w_global_explain(
25-
penguins_bqml_linear_model: core.BqmlModel,
26-
) -> bigframes.ml.linear_model.LinearRegression:
27-
bf_model = bigframes.ml.linear_model.LinearRegression(enable_global_explain=True)
28-
bf_model._bqml_model = penguins_bqml_linear_model
29-
return bf_model
30-
31-
3222
def test_linear_regression_configure_fit_score(penguins_df_default_index, dataset_id):
3323
model = bigframes.ml.linear_model.LinearRegression()
3424

0 commit comments

Comments
 (0)