Skip to content

Commit 632469a

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

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
@@ -3484,7 +3484,7 @@ def test_unknown_tz_raises():
34843484

34853485
def test_unformatted_input_raises():
34863486
valid, invalid = "2024-01-01", "N"
3487-
S = Series([valid] * 45000 + [invalid])
3487+
ser = Series([valid] * start_caching_at + [invalid])
34883488
msg = 'time data "N" doesn\'t match format "%Y-%m-%d"'
34893489

34903490
with pytest.raises(ValueError, match=msg):

0 commit comments

Comments
 (0)