Skip to content

Commit 5ab21a9

Browse files
committed
fix more tests
1 parent 8c27c2c commit 5ab21a9

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

tests/system/small/ml/test_forecasting.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -490,6 +490,7 @@ def test_arima_plus_score(
490490
expected.sort_values("id").reset_index(),
491491
rtol=0.1,
492492
check_index_type=False,
493+
check_dtype=False,
493494
)
494495

495496

@@ -583,6 +584,7 @@ def test_arima_plus_score_series(
583584
expected.sort_values("id").reset_index(),
584585
rtol=0.1,
585586
check_index_type=False,
587+
check_dtype=False,
586588
)
587589

588590

tests/system/small/ml/test_preprocessing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ def test_max_abs_scaler_save_load(new_penguins_df, dataset_id):
245245
index=pd.Index([1633, 1672, 1690], name="tag_number", dtype="Int64"),
246246
)
247247

248-
pd.testing.assert_frame_equal(result, expected, rtol=0.1)
248+
pd.testing.assert_frame_equal(result.sort_index(), expected.sort_index(), rtol=0.1)
249249

250250

251251
def test_min_max_scaler_normalized_fit_transform(new_penguins_df):

0 commit comments

Comments
 (0)