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 <10647082+mroeschke@users.noreply.github.com>
  • Loading branch information
maushumee and mroeschke authored Aug 26, 2024
1 parent 4e9c24c commit 632469a
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 @@ -3484,7 +3484,7 @@ def test_unknown_tz_raises():

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

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

0 comments on commit 632469a

Please sign in to comment.