Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport PR #59893 (CI/TST: Check for tzset in set_timezone) #59941

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
keep warning message
  • Loading branch information
jorisvandenbossche committed Oct 2, 2024
commit 1e20ec9a48b20b0ee9e498c74bb269df6613d630
10 changes: 3 additions & 7 deletions pandas/tests/tslibs/test_parsing.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,9 @@
)
def test_parsing_tzlocal_deprecated():
# GH#50791
msg = "|".join(
[
r"Parsing 'EST' as tzlocal \(dependent on system timezone\) "
r"is no longer supported\. "
"Pass the 'tz' keyword or call tz_localize after construction instead",
".*included an un-recognized timezone",
]
msg = (
"Parsing 'EST' as tzlocal.*"
"Pass the 'tz' keyword or call tz_localize after construction instead"
)
dtstr = "Jan 15 2004 03:00 EST"

Expand Down
Loading