Title: Add tests for collection mixins (see issue #2531) by DiegoBaldassarMilleuno · Pull Request #2535 · pythonnet/pythonnet · GitHub
Open Graph Title: Add tests for collection mixins (see issue #2531) by DiegoBaldassarMilleuno · Pull Request #2535 · pythonnet/pythonnet
X Title: Add tests for collection mixins (see issue #2531) by DiegoBaldassarMilleuno · Pull Request #2535 · pythonnet/pythonnet
Description: As requested in #2531 (comment), submitting a draft pull request testing for compliance to collections.abc protocols by a few standard containers. Currently many tests fail. A few notes: the tests that hard crash are temporarily disabled via pytest.mark.xfail, for convenience; many requirements I added in these tests are rather pedantic (like supporting values of the wrong type in __contains__ or requiring specific exceptions to be thrown); maintainers feel free to remove any that you believe are outside of contract. I haven't checked that this works with older versions of Python, it's a quick draft
Open Graph Description: As requested in #2531 (comment), submitting a draft pull request testing for compliance to collections.abc protocols by a few standard containers. Currently many tests fail. A few notes: the tests...
X Description: As requested in #2531 (comment), submitting a draft pull request testing for compliance to collections.abc protocols by a few standard containers. Currently many tests fail. A few notes: the tests...
Opengraph URL: https://github.com/pythonnet/pythonnet/pull/2535
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:51d46740-9142-8fe7-9299-854b01fcf601 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D38E:157A61:250C7F:3340CC:6970A53B |
| html-safe-nonce | 91ab18e88837b0e4cb9877703d4248c6c6f0cfe7ddd0641528716bf24c829f40 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMzhFOjE1N0E2MToyNTBDN0Y6MzM0MENDOjY5NzBBNTNCIiwidmlzaXRvcl9pZCI6IjE5MjYzMTEyMDM2MDAxMTUwMDMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 8f19795a6508ad997f2f7e8be08d05e09a250190012fa3cc3242ddcdfa8d8270 |
| hovercard-subject-tag | pull_request:2247136343 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/pythonnet/pythonnet/pull/2535/files |
| twitter:image | https://avatars.githubusercontent.com/u/90327255?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/90327255?s=400&v=4 |
| og:image:alt | As requested in #2531 (comment), submitting a draft pull request testing for compliance to collections.abc protocols by a few standard containers. Currently many tests fail. A few notes: the tests... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b06a4c45c45fd0bb038b3759265ea6e38211f45d18130bc65261990be6b5972a |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/pythonnet/pythonnet git https://github.com/pythonnet/pythonnet.git |
| octolytics-dimension-user_id | 6050430 |
| octolytics-dimension-user_login | pythonnet |
| octolytics-dimension-repository_id | 14748123 |
| octolytics-dimension-repository_nwo | pythonnet/pythonnet |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 14748123 |
| octolytics-dimension-repository_network_root_nwo | pythonnet/pythonnet |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 0e1c4964831785bd64cb22d82e7cf2391ae01f45 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width