gh-107862: Add property tests for strftime/strptime by pganssle · Pull Request #124550 · python/cpython
-
-
Notifications
You must be signed in to change notification settings - Fork 34.7k
Draft
Draft
Conversation
Member
This adds a new test for strptime / strftime that uses hypothesis to ensure that some inverse relationships hold. While creating it I found several bugs: #124531, #124529 and #124549.
I am hoping this could be useful with #120752
To Do:
- Add stubs to make sure this works without hypothesiis
- Configure this the same way
test_zoneinfo_propertyis configured so that it is run separately against the C and Python implementations.
pganssle
force-pushed
the
strftime_hypothesis
branch
from
9140d68 to
bc0286c
Compare
StanFromIreland
changed the title
gh-NNNNNN: Add property tests for strftime/strptime
gh-107862: Add property tests for strftime/strptime
bedevere-app
Bot
mentioned this pull request
StanFromIreland
commented
Sep 16, 2025
StanFromIreland commented
Member
Attached Hypothesis meta issue #107862
StanFromIreland
added
the
skip news
label
StanFromIreland
mentioned this pull request
github-actions
Bot
commented
Apr 18, 2026
github-actions Bot commented
This PR is stale because it has been open for 30 days with no activity.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment