Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34k
gh-136297: Fix hypothesis and subTest usage in test_zoneinfo_property.py#136384
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
Uh oh!
There was an error while loading. Please reload this page.
Conversation
sobolevn commented Jul 7, 2025 • edited by bedevere-app bot
Loading Uh oh!
There was an error while loading. Please reload this page.
edited by bedevere-app bot
Uh oh!
There was an error while loading. Please reload this page.
sobolevn commented Jul 7, 2025
It is interesting why CI for #136298 passed. We explicitly have Hypothesis job. Why it didn't fail? CC @vstinner and @serhiy-storchaka |
kulikjak commented Jul 7, 2025
Thanks! I tested the patch and the test passes now. |
serhiy-storchaka left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can this depend on the hypothesis version?
sobolevn commented Jul 7, 2025 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
@kulikjak what version do you use? |
kulikjak commented Jul 7, 2025
Oh, that might be the issue. I have 6.100.1 installed - I will test it with the latest one. |
kulikjak commented Jul 7, 2025
I just tried it with I checked the hypothesis sources and this warning/error was added with HypothesisWorks/hypothesis#1072 and is still there. And the comment there indeed suggest that |
sobolevn commented Jul 7, 2025
Aha! Adding |
sobolevn commented Jul 7, 2025
I added |
kulikjak left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! I retested the changes and the test passes.
.github/workflows/build.yml Outdated
| # (GH-104097) test_sysconfig is skipped because it has tests that are | ||
| # failing when executed from inside a virtual environment. | ||
| "${VENV_PYTHON}" -m test \ | ||
| "${VENV_PYTHON}" -We -m test \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not related change. It is better to do it separately, and first examine the history, because it can break tests.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, I will open a new issue about it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done #136409
sobolevn commented Jul 8, 2025
Thanks everyone! |
db699db into python:mainUh oh!
There was an error while loading. Please reload this page.
Thanks @sobolevn for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14. |
…fo_property.py` (pythonGH-136384) (cherry picked from commit db699db) Co-authored-by: sobolevn <[email protected]>
GH-136407 is a backport of this pull request to the 3.14 branch. |
…fo_property.py` (pythonGH-136384) (cherry picked from commit db699db) Co-authored-by: sobolevn <[email protected]>
GH-136408 is a backport of this pull request to the 3.13 branch. |
kulikjak commented Jul 8, 2025
Thanks for the fix! |
CC @kulikjak
test_zoneinfo_property.pymisses tests with allpickleprotocols #136297