From eee83a894678185a2d09175eb84897898925b93f Mon Sep 17 00:00:00 2001 From: MarcoGorelli <> Date: Wed, 1 Feb 2023 19:46:50 +0000 Subject: [PATCH] fix test parsing --- pandas/tests/tslibs/test_parsing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/tests/tslibs/test_parsing.py b/pandas/tests/tslibs/test_parsing.py index b0f7f755518a4..701c11bb7f52d 100644 --- a/pandas/tests/tslibs/test_parsing.py +++ b/pandas/tests/tslibs/test_parsing.py @@ -32,7 +32,7 @@ def test_parsing_tzlocal_deprecated(): assert isinstance(res.tzinfo, tzlocal) with tm.assert_produces_warning(FutureWarning, match=msg): - res = parsing.parse_datetime_string(dtstr) + res = parsing.py_parse_datetime_string(dtstr) assert isinstance(res.tzinfo, tzlocal)