-
Notifications
You must be signed in to change notification settings - Fork 176
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
2 tests fail: AssertionError: assert <DstTzInfo 'America/New_York' LMT-1 day, 19:04:00 STD> == zoneinfo.ZoneInfo(key='America/New_York') #328
Comments
Can you provide more information, as all tests pass on every configuration I test |
Tests are run with this command:
Now they are still failing with Python-3.11 Could you please tell me what other information can I provide? |
The failures boil down to this script failing:
Replacing the last line with the following fixes the failure:
The reason seems to be that it compares different objects all of which are represented with the same string "America/New_York". |
That test passes on my local machine and the TOX build here on GitHub. I would suggest trying a new environment with a fresh installation |
I have a fresh installation. I installed from the port from scratch. |
py311-backports.zoneinfo-0.2.1_1 is used for ZoneInfo. |
That may be your issue. Perhaps the backport ZoneInfo is not identical to the real ZoneInfo |
The complete run of the tests on all versions and infrastructure is here: https://github.com/rsheftel/pandas_market_calendars/actions/runs/9556424978 |
What is the script that is used to test pandas_market_calendars? |
Here is an intro on how to run pytest |
Version: 4.4.0
pandas-2.0.3
python-3.9
FreeBSD 14.0
The text was updated successfully, but these errors were encountered: