Title: gh-74895: adjust tests to work on Solaris by kulikjak · Pull Request #104326 · python/cpython · GitHub
Open Graph Title: gh-74895: adjust tests to work on Solaris by kulikjak · Pull Request #104326 · python/cpython
X Title: gh-74895: adjust tests to work on Solaris by kulikjak · Pull Request #104326 · python/cpython
Description: This change adjusts tests introduced in #2435 such that they work on platforms where socket.getaddrinfo(None, port) doesn't end with success; however, it does so when socket.SOCK_STREAM is present. I am aware only of Solaris that works this way, but it's still well within the standard (if not "more correct"). All other tests calling getaddrinfo(None, ....) include socket.SOCK_STREAM as well, and the addition doesn't change at all the thing the test is testing, so hopefully, this is acceptable. (can I reuse the original issue for an additional commit?) Issue: gh-74895
Open Graph Description: This change adjusts tests introduced in #2435 such that they work on platforms where socket.getaddrinfo(None, port) doesn't end with success; however, it does so when socket.SOCK_STREAM is pres...
X Description: This change adjusts tests introduced in #2435 such that they work on platforms where socket.getaddrinfo(None, port) doesn't end with success; however, it does so when socket.SOCK_STREAM is ...
Opengraph URL: https://github.com/python/cpython/pull/104326
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:dbd70b5f-b6dc-e947-e680-f0a6ef3437b5 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A1B6:3244AB:15F5D8C:1D8B4B1:6969B8CF |
| html-safe-nonce | 03f40f2e81c2416ea23dba54ecc2c9e48bc061526068c68c8515f649716415e0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMUI2OjMyNDRBQjoxNUY1RDhDOjFEOEI0QjE6Njk2OUI4Q0YiLCJ2aXNpdG9yX2lkIjoiODA5NDYxMzMxMTM1NDE1NzI2MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d70293b0e0a52faeeccd3d7729467779767b92bceb54d36b802484f3061bb5c4 |
| hovercard-subject-tag | pull_request:1343851491 |
| 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/python/cpython/pull/104326/files |
| twitter:image | https://avatars.githubusercontent.com/u/18516837?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/18516837?s=400&v=4 |
| og:image:alt | This change adjusts tests introduced in #2435 such that they work on platforms where socket.getaddrinfo(None, port) doesn't end with success; however, it does so when socket.SOCK_STREAM is pres... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | acedec8b5f975d9e3d494ddd8f949b0b8a0de59d393901e26f73df9dcba80056 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 83c08c21cdda978090dc44364b71aa5bc6dcea79 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width