diff --git a/tests/test_utils.py b/tests/test_utils.py index 24eccd120..e3f66e592 100644 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -90,11 +90,13 @@ def test_mixed_timezones_to_datetime_fails(self): series = pd.Series(self.date_strings) series = series.map(pd.Timestamp) converted = pd.to_datetime(series) + self.assertIsNotNone(converted[0].tz) def test_mixed_timezones_to_datetime(self): series = pd.Series(self.date_strings) series = series.map(pd.Timestamp) converted = pd.to_datetime(series, utc=True) + self.assertIsNotNone(converted[0].tz) i = 0 for dt in converted: dt: datetime