Title: GH-86275: Implementation of hypothesis stubs for property-based tests, with zoneinfo tests by pganssle · Pull Request #22863 · python/cpython · GitHub
Open Graph Title: GH-86275: Implementation of hypothesis stubs for property-based tests, with zoneinfo tests by pganssle · Pull Request #22863 · python/cpython
X Title: GH-86275: Implementation of hypothesis stubs for property-based tests, with zoneinfo tests by pganssle · Pull Request #22863 · python/cpython
Description: This PR adds the property tests for zoneinfo currently maintained at https://github.com/Zac-HD/stdlib-property-tests, along with a compatibility interface for hypothesis that gracefully degrades to simple parameterized tests. I haven't stubbed out the entire interface, but I have stubbed out a bit more than I am using as part of the zoneinfo tests right now (mostly the subset that I saw in use in the other stdlib-property-tests). We can scale down the stubbed interface if we want, and then have people add in the parts they need as it comes up. I don't think it's a good idea to proactively stub out the entire hypothesis interface, since those things would need maintenance over time. If we like this approach, I will also add in some tooling to run the tests with hypothesis, for use in a buildbot and/or optional PR job. CC: @Zac-HD, @cfbolz https://bugs.python.org/issue42109 Issue: gh-86275
Open Graph Description: This PR adds the property tests for zoneinfo currently maintained at https://github.com/Zac-HD/stdlib-property-tests, along with a compatibility interface for hypothesis that gracefully degrades to...
X Description: This PR adds the property tests for zoneinfo currently maintained at https://github.com/Zac-HD/stdlib-property-tests, along with a compatibility interface for hypothesis that gracefully degrades to...
Opengraph URL: https://github.com/python/cpython/pull/22863
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:6512424f-c0da-9af2-c902-fe90003baaea |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | 81E8:DCAE1:1666DE:1E96C8:696A9BF0 |
| html-safe-nonce | 6a12570eb2daf5abddad795ff72545aa72913ba432ceb93f9c03f502ac0ba50f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MUU4OkRDQUUxOjE2NjZERToxRTk2Qzg6Njk2QTlCRjAiLCJ2aXNpdG9yX2lkIjoiNTc0NzY1Nzk2NDY1MDE0MjcwNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 1c473314ecbd1d2490ba90467cfea9a7f6e63c21507899004b1536484a7a756b |
| hovercard-subject-tag | pull_request:507740646 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/22863/checks |
| twitter:image | https://avatars.githubusercontent.com/u/1377457?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1377457?s=400&v=4 |
| og:image:alt | This PR adds the property tests for zoneinfo currently maintained at https://github.com/Zac-HD/stdlib-property-tests, along with a compatibility interface for hypothesis that gracefully degrades to... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | c0d8175e41e0e55b9e984c935b24b808cabab919dd3174aa45dac3ef503ed1af |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 99aab454e5ddc8df30805fb76c114c3008a15842 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width