Skip to content

Commit

Permalink
Update pandas/tests/arithmetic/test_datetime64.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mroeschke authored Nov 17, 2023
1 parent 8a4e1c1 commit 7d1c86a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pandas/tests/arithmetic/test_datetime64.py
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ def test_dti_cmp_datetimelike(self, other, tz_naive_fixture):
dti = date_range("2016-01-01", periods=2, tz=tz)
if tz is not None:
if isinstance(other, np.datetime64):
pytest.skip(f"{type(other.__name__)} is not tz aware")
pytest.skip(f"{type(other).__name__} is not tz aware")
other = localize_pydatetime(other, dti.tzinfo)

result = dti == other
Expand Down

0 comments on commit 7d1c86a

Please sign in to comment.