Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
lukemanley committed Dec 9, 2023
1 parent 4c65e3a commit 8b56f0a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pandas/tests/series/test_arithmetic.py
Original file line number Diff line number Diff line change
Expand Up @@ -754,6 +754,9 @@ def test_series_add_tz_mismatch_converts_to_utc(self):
uts2 = ser2.tz_convert("utc")
expected = uts1 + uts2

# sort since input indexes are not equal
expected = expected.sort_index()

assert result.index.tz is timezone.utc
tm.assert_series_equal(result, expected)

Expand Down

0 comments on commit 8b56f0a

Please sign in to comment.