Skip to content

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

Draft
pganssle wants to merge 1 commit into
python:mainfrom
pganssle:strftime_hypothesis
Draft

gh-107862: Add property tests for strftime/strptime#124550
pganssle wants to merge 1 commit into
python:mainfrom
pganssle:strftime_hypothesis

Conversation

@pganssle

@pgansslepganssle commented Sep 25, 2024

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

@bedevere-appbedevere-appBot added the tests Tests in the Lib/test dir label Sep 25, 2024
@StanFromIrelandStanFromIreland changed the title gh-NNNNNN: Add property tests for strftime/strptimegh-107862: Add property tests for strftime/strptimeSep 16, 2025
@StanFromIreland

Copy link
Copy Markdown
Member

Attached Hypothesis meta issue #107862

@github-actions

Copy link
Copy Markdown

This PR is stale because it has been open for 30 days with no activity.

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip newsstaleStale PR or inactive for long period of time.testsTests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@pganssle@StanFromIreland