Skip to content

Commit

Permalink
Merge branch 'tst/skips' of https://github.com/mroeschke/pandas into …
Browse files Browse the repository at this point in the history
…tst/skips
  • Loading branch information
mroeschke committed Nov 17, 2023
2 parents 9fe92b0 + 7d1c86a commit c6e86df
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 c6e86df

Please sign in to comment.