Title: Allow easy opt-out from tests using network services · Issue #648 · PythonCharmers/python-future · GitHub
Open Graph Title: Allow easy opt-out from tests using network services · Issue #648 · PythonCharmers/python-future
X Title: Allow easy opt-out from tests using network services · Issue #648 · PythonCharmers/python-future
Description: in some environments, like building packages for Linux distributions, external network connections are not allowed right now, python-future has two tests that perform network connections: tests/test_future/test_standard_library.py::TestS...
Open Graph Description: in some environments, like building packages for Linux distributions, external network connections are not allowed right now, python-future has two tests that perform network connections: tests/tes...
X Description: in some environments, like building packages for Linux distributions, external network connections are not allowed right now, python-future has two tests that perform network connections: tests/tes...
Opengraph URL: https://github.com/PythonCharmers/python-future/issues/648
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Allow easy opt-out from tests using network services","articleBody":"in some environments, like building packages for Linux distributions, external network connections are not allowed\n\nright now, python-future has two tests that perform network connections:\n- `tests/test_future/test_standard_library.py::TestStandardLibraryReorganization::test_moves_urllib_request_http`\n- `tests/test_future/test_standard_library.py::TestStandardLibraryReorganization::test_urllib_request_http`\n\nit would be nice to provide an easy way to disable those tests, e.g. with an environmental variable ( see https://github.com/pypa/distlib/blob/32301789a7815de0e74f57fe013ae52af717a3da/tests/test_index.py#L343 )","author":{"url":"https://github.com/ptrcnull","@type":"Person","name":"ptrcnull"},"datePublished":"2025-03-30T20:31:56.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/648/python-future/issues/648"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:79cf407e-52a3-8c88-72a5-7040b2aa6523 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E02C:390CC4:19294B9:21D7854:696EB169 |
| html-safe-nonce | 96da44dbd8afe1acda28783825279a5d308e510f83b905e2e423354314513325 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMDJDOjM5MENDNDoxOTI5NEI5OjIxRDc4NTQ6Njk2RUIxNjkiLCJ2aXNpdG9yX2lkIjoiODQwODk0Mzk1MDM2MDkxNjMyOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 24193c09ac6926d897ae0b97a1921842680421345829eaeed3470c5ecef47077 |
| hovercard-subject-tag | issue:2959084185 |
| github-keyboard-shortcuts | repository,issues,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/_view_fragments/issues/show/PythonCharmers/python-future/648/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a2ded20d7b196c0bd890a82deb956561510cae6af68979b3637b9b579deca0b1/PythonCharmers/python-future/issues/648 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a2ded20d7b196c0bd890a82deb956561510cae6af68979b3637b9b579deca0b1/PythonCharmers/python-future/issues/648 |
| og:image:alt | in some environments, like building packages for Linux distributions, external network connections are not allowed right now, python-future has two tests that perform network connections: tests/tes... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ptrcnull |
| hostname | github.com |
| expected-hostname | github.com |
| None | b278ad162d35332b6de714dfb005de04386c4d92df6475522bef910f491a35ee |
| turbo-cache-control | no-preview |
| go-import | github.com/PythonCharmers/python-future git https://github.com/PythonCharmers/python-future.git |
| octolytics-dimension-user_id | 3365815 |
| octolytics-dimension-user_login | PythonCharmers |
| octolytics-dimension-repository_id | 11403699 |
| octolytics-dimension-repository_nwo | PythonCharmers/python-future |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 11403699 |
| octolytics-dimension-repository_network_root_nwo | PythonCharmers/python-future |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 39aed5006635ab6f45e6b77d23e73b08a00272a3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width