From 79f2d83f053fa0a6eb28cf62be3c7a50c360d229 Mon Sep 17 00:00:00 2001 From: IanCa Date: Thu, 12 Oct 2023 18:45:01 -0500 Subject: [PATCH] fix test case maybe --- tests/models/test_base_input.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/models/test_base_input.py b/tests/models/test_base_input.py index 71e21386..02c7f34a 100644 --- a/tests/models/test_base_input.py +++ b/tests/models/test_base_input.py @@ -304,7 +304,7 @@ def test_complex_onsets(self): {3.5: [0, 1], 4.0: [2], 4.4: [3, 4], -1.0: [5]}) def test_empty_and_single_item_series(self): - self.assertTrue(BaseInput._filter_by_index_list(pd.Series([]), {}).equals(pd.Series([]))) + self.assertTrue(BaseInput._filter_by_index_list(pd.Series([], dtype=str), {}).equals(pd.Series([], dtype=str))) self.assertTrue(BaseInput._filter_by_index_list(pd.Series(["apple"]), {0: [0]}).equals(pd.Series(["apple"]))) def test_two_item_series_with_same_onset(self):