Title: bpo-30108: Restore sys.path in test_site (#1197) by vstinner · Pull Request #1378 · python/cpython · GitHub
Open Graph Title: bpo-30108: Restore sys.path in test_site (#1197) by vstinner · Pull Request #1378 · python/cpython
X Title: bpo-30108: Restore sys.path in test_site (#1197) by vstinner · Pull Request #1378 · python/cpython
Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.
Open Graph Description: Add setUpModule() and tearDownModule() functions to test_site to save/restore sys.path at the module level to prevent warning if the user site directory is created, since site.addsitedir() modifies...
X Description: Add setUpModule() and tearDownModule() functions to test_site to save/restore sys.path at the module level to prevent warning if the user site directory is created, since site.addsitedir() modifies...
Opengraph URL: https://github.com/python/cpython/pull/1378
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/commits(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:357f8492-cf40-1520-7af1-b81ddc7a878f |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B50C:117213:3AA4C1:4DBEC0:6A52F9CF |
| html-safe-nonce | 4031bd6d8669abeb9ef10992b77e5ac6ef55fec7b9c16dcbe01a136bfe6bdfc3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNTBDOjExNzIxMzozQUE0QzE6NERCRUMwOjZBNTJGOUNGIiwidmlzaXRvcl9pZCI6IjQxOTY1NDcyNTQ2MTI1ODkwMDciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 6c1c4cd5fb329c60477ee873ab3e89f0dc2305ccb9deb4fc79e51f43a7562930 |
| hovercard-subject-tag | pull_request:118516030 |
| 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/1378/commits |
| twitter:image | https://opengraph.githubassets.com/081ba911b63feb2af90c4bbea9845b30a4d91528fe24ecf7b45742aed8c2981a/python/cpython/pull/1378 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/081ba911b63feb2af90c4bbea9845b30a4d91528fe24ecf7b45742aed8c2981a/python/cpython/pull/1378 |
| og:image:alt | Add setUpModule() and tearDownModule() functions to test_site to save/restore sys.path at the module level to prevent warning if the user site directory is created, since site.addsitedir() modifies... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | vstinner |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-cache |
| 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 | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width