Skip to content

Commit c3bbb4f

Browse files
committed
testcase updates
1 parent ad10821 commit c3bbb4f

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
@@ -2220,7 +2220,7 @@ def test_day_not_in_month_raise(self, cache):
22202220

22212221
@pytest.mark.parametrize("arg", ["2015-02-29", "2015-02-32", "2015-04-31"])
22222222
def test_day_not_in_month_raise_value(self, cache, arg):
2223-
msg = f"time data \"{arg}\" at position 0 doesn't match format specified"
2223+
msg = f'time data "{arg}" at position 0 doesn\'t match format specified'
22242224
with pytest.raises(ValueError, match=msg):
22252225
to_datetime(arg, errors="raise", format="%Y-%m-%d", cache=cache)
22262226

0 commit comments

Comments
 (0)