Skip to content

Commit 15797a8

Browse files
committed
fixup
1 parent ee6fbde commit 15797a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/scalar/period/test_period.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,7 @@ def test_to_timestamp_tz_arg(self, tzstr):
572572

573573
with tm.assert_produces_warning(FutureWarning):
574574
p = Period("1/1/2005", freq="A").to_timestamp(freq="A", tz=tzstr)
575-
exp = Timestamp("31/12/2005", tz="UTC").tz_convert(tzstr)
575+
exp = Timestamp(day=31, month=12, year=2005, tz="UTC").tz_convert(tzstr)
576576
exp_zone = pytz.timezone(tzstr).normalize(p)
577577

578578
assert p == exp

0 commit comments

Comments
 (0)