Skip to content

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
@StanFromIreland StanFromIreland changed the title gh-NNNNNN: Add property tests for strftime/strptime gh-107862: Add property tests for strftime/strptime Sep 16, 2025
@StanFromIreland
Copy link
Member

Attached Hypothesis meta issue #107862

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip news tests Tests in the Lib/test dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants