From fcaa1fcb68d051b3b38d57be4d8180bdd4c54d06 Mon Sep 17 00:00:00 2001 From: Brock Date: Sun, 11 Oct 2020 07:58:21 -0700 Subject: [PATCH] troubleshoot CI --- pandas/tests/tools/test_to_datetime.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandas/tests/tools/test_to_datetime.py b/pandas/tests/tools/test_to_datetime.py index ef7c4be20e22e..ac33909633f11 100644 --- a/pandas/tests/tools/test_to_datetime.py +++ b/pandas/tests/tools/test_to_datetime.py @@ -832,7 +832,7 @@ def test_datetime_invalid_scalar(self, value, format, infer): msg = ( "is a bad directive in format|" - "second must be in 0..59: 00:01:99|" + "second must be in 0..59|" "Given date string not likely a datetime" ) with pytest.raises(ValueError, match=msg): @@ -886,7 +886,7 @@ def test_datetime_invalid_index(self, values, format, infer): msg = ( "is a bad directive in format|" "Given date string not likely a datetime|" - "second must be in 0..59: 00:01:99" + "second must be in 0..59" ) with pytest.raises(ValueError, match=msg): pd.to_datetime(