Skip to content

Commit

Permalink
revert no-longer-necessary
Browse files Browse the repository at this point in the history
  • Loading branch information
jbrockmendel committed Nov 20, 2023
1 parent 8c40218 commit f1ec518
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pandas/tests/indexes/datetimes/methods/test_astype.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def test_astype_datetime64(self):
tm.assert_index_equal(result, idx)
assert result is not idx

result = idx.astype("datetime64[s]", copy=False)
result = idx.astype("datetime64[ns]", copy=False)
tm.assert_index_equal(result, idx)
assert result is idx

Expand Down

0 comments on commit f1ec518

Please sign in to comment.