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/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:a89a4af1-83b5-87fb-87ea-c3cac795c50d |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | 804E:3BF22F:381489D:4E69861:69712689 |
| html-safe-nonce | f53076765e87b4bad2d0ee2302bc76f63d7451ddb39b884deb38400cb6dbba23 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MDRFOjNCRjIyRjozODE0ODlEOjRFNjk4NjE6Njk3MTI2ODkiLCJ2aXNpdG9yX2lkIjoiNDU5MTQxNjI1Mjc1NTQyMDgwOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | c54a3749ea28f292ed9e7ec06296f346ab23c2431c20f4587d0b1487022a6e48 |
| hovercard-subject-tag | pull_request:2247136343 |
| 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/pythonnet/pythonnet/pull/2535/checks |
| 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 | d8bf5373bf714a973a48ff6e39919055ffeb8fb275ee80b009c0532d6e0f0c68 |
| turbo-cache-control | no-preview |
| 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 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 | 4fbcc41ab94dbb05f665e4608286c36baa99ad43 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width