We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18e914b commit bb10828Copy full SHA for bb10828
pandas/tests/series/test_constructors.py
@@ -712,7 +712,7 @@ def test_constructor_with_datetime_tz(self):
712
def test_constructor_with_naive_string_and_datetimetz_dtype(self, arg):
713
# GH 17415: With naive string
714
result = Series([arg], dtype='datetime64[ns, CET]')
715
- expected = Series([pd.Timestamp(arg, tz='CET')])
+ expected = Series(pd.Timestamp(arg)).dt.tz_localize('CET')
716
assert_series_equal(result, expected)
717
718
def test_construction_interval(self):
0 commit comments