From ecd3071dac9bc32028849b1563dc30e49744950e Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Tue, 9 Jan 2024 12:08:03 -0500 Subject: [PATCH] Fixed #35097 -- Tested parse_datetime() with bare date. Regression test for behavior change in f35ab74752adb37138112657c1bc8b91f50e799b. --- tests/utils_tests/test_dateparse.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/utils_tests/test_dateparse.py b/tests/utils_tests/test_dateparse.py index 17d532a09f..12611e12c2 100644 --- a/tests/utils_tests/test_dateparse.py +++ b/tests/utils_tests/test_dateparse.py @@ -46,6 +46,7 @@ class DateParseTests(unittest.TestCase): def test_parse_datetime(self): valid_inputs = ( + ("2012-04-23", datetime(2012, 4, 23)), ("2012-04-23T09:15:00", datetime(2012, 4, 23, 9, 15)), ("2012-4-9 4:8:16", datetime(2012, 4, 9, 4, 8, 16)), (