We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a64a31b commit 328d5daCopy full SHA for 328d5da
pandas/tests/tslibs/test_parsing.py
@@ -37,10 +37,13 @@
37
)
38
def test_parsing_tzlocal_deprecated():
39
# GH#50791
40
- msg = (
41
- r"Parsing 'EST' as tzlocal \(dependent on system timezone\) "
42
- r"is no longer supported\. "
43
- "Pass the 'tz' keyword or call tz_localize after construction instead"
+ msg = "|".join(
+ [
+ r"Parsing 'EST' as tzlocal \(dependent on system timezone\) "
+ r"is no longer supported\. "
44
+ "Pass the 'tz' keyword or call tz_localize after construction instead",
45
+ ".*included an un-recognized timezone",
46
+ ]
47
48
dtstr = "Jan 15 2004 03:00 EST"
49
0 commit comments