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

gh-NNNNNN: Add property tests for strftime/strptime #124550

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

pganssle
Copy link
Member

@pganssle pganssle commented Sep 25, 2024

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_property is configured so that it is run separately against the C and Python implementations.

@bedevere-app bedevere-app bot added the tests Tests in the Lib/test dir label Sep 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Tests in the Lib/test dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant