Skip to content

Commit 1198125

Browse files
maushumeemroeschke
andauthored
Update pandas/tests/tools/test_to_datetime.py
Co-authored-by: Matthew Roeschke <[email protected]>
1 parent 632469a commit 1198125

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/tools/test_to_datetime.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3488,7 +3488,7 @@ def test_unformatted_input_raises():
34883488
msg = 'time data "N" doesn\'t match format "%Y-%m-%d"'
34893489

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

34933493

34943494
def test_from_numeric_arrow_dtype(any_numeric_ea_dtype):

0 commit comments

Comments
 (0)