Skip to content

Commit

Permalink
Update pandas/tests/tools/test_to_datetime.py
Browse files Browse the repository at this point in the history
Co-authored-by: Matthew Roeschke <[email protected]>
  • Loading branch information
maushumee and mroeschke authored Aug 26, 2024
1 parent 632469a commit 1198125
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pandas/tests/tools/test_to_datetime.py
Original file line number Diff line number Diff line change
Expand Up @@ -3488,7 +3488,7 @@ def test_unformatted_input_raises():
msg = 'time data "N" doesn\'t match format "%Y-%m-%d"'

with pytest.raises(ValueError, match=msg):
to_datetime(S, format="%Y-%m-%d", exact=True)
to_datetime(ser, format="%Y-%m-%d", exact=True, cache=True)


def test_from_numeric_arrow_dtype(any_numeric_ea_dtype):
Expand Down

0 comments on commit 1198125

Please sign in to comment.