◐ Shell
clean mode source ↗

gh-107862: Add property tests for strftime/strptime by pganssle · Pull Request #124550 · python/cpython

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@pganssle

@pganssle pganssle commented

Sep 25, 2024

edited by bedevere-app Bot

Loading

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-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 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.

@github-actions github-actions Bot added the stale

Stale PR or inactive for long period of time.

label

Apr 18, 2026

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

Reviewers

No reviews

Assignees

No one assigned

Labels

skip news stale

Stale PR or inactive for long period of time.

tests

Tests in the Lib/test dir

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@pganssle @StanFromIreland