Skip to content

Commit 1e20ec9

Browse files
keep warning message
1 parent 3578104 commit 1e20ec9

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

pandas/tests/tslibs/test_parsing.py

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,9 @@
3131
)
3232
def test_parsing_tzlocal_deprecated():
3333
# GH#50791
34-
msg = "|".join(
35-
[
36-
r"Parsing 'EST' as tzlocal \(dependent on system timezone\) "
37-
r"is no longer supported\. "
38-
"Pass the 'tz' keyword or call tz_localize after construction instead",
39-
".*included an un-recognized timezone",
40-
]
34+
msg = (
35+
"Parsing 'EST' as tzlocal.*"
36+
"Pass the 'tz' keyword or call tz_localize after construction instead"
4137
)
4238
dtstr = "Jan 15 2004 03:00 EST"
4339

0 commit comments

Comments
 (0)