Title: Run some Windows environment variable tests only on Windows by EliahKagan · Pull Request #1774 · gitpython-developers/GitPython · GitHub
Open Graph Title: Run some Windows environment variable tests only on Windows by EliahKagan · Pull Request #1774 · gitpython-developers/GitPython
X Title: Run some Windows environment variable tests only on Windows by EliahKagan · Pull Request #1774 · gitpython-developers/GitPython
Description: These are a couple changes to simplify and clarify the tests in test_util.py. Use Path.touch instead of Path.write_bytes(b"") in the tests. I guess I had formerly had the idea that pathlib gained Path.touch recently, but that is not at all the case. (This applies to all operating systems, but it is the more minor of the two changes.) Run some tests of Windows-specific environment variables on Windows only, and simplify the tests accordingly. The reason I think this makes sense now, even though it wouldn't have been the best idea when those tests were first introduced, is detailed in the 6a8ed70 message. The latter is one of the changes listed in the "What is not done here?" section of #1745. Or it is part of that--perhaps some of the other tests, more directly concerning rmtree, can also be simplified, I'm not sure. (Right now I'm thinking that will become clearer if it is considered together with further progress toward #790 rather than beforehand.)
Open Graph Description: These are a couple changes to simplify and clarify the tests in test_util.py. Use Path.touch instead of Path.write_bytes(b"") in the tests. I guess I had formerly had the idea that pathl...
X Description: These are a couple changes to simplify and clarify the tests in test_util.py. Use Path.touch instead of Path.write_bytes(b"") in the tests. I guess I had formerly had the idea th...
Opengraph URL: https://github.com/gitpython-developers/GitPython/pull/1774
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:411b7b1a-3a26-cc1d-fec3-9cd63f369d27 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | A37E:2C8CA4:12DEF9B:1A29629:6968AFC3 |
| html-safe-nonce | 8b29c8515c07162c5d1b4ba831d0a0c23d9b7f3511145aaef38e3858d0a734ce |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMzdFOjJDOENBNDoxMkRFRjlCOjFBMjk2Mjk6Njk2OEFGQzMiLCJ2aXNpdG9yX2lkIjoiNzU3OTE1NTQwMTE4OTkyODg5OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 705b2252bc498f9ba213612a8a63d50f75b645df0ca4f0510f34bbed28ea46fd |
| hovercard-subject-tag | pull_request:1649586365 |
| 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/gitpython-developers/GitPython/pull/1774/checks |
| twitter:image | https://avatars.githubusercontent.com/u/1771172?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1771172?s=400&v=4 |
| og:image:alt | These are a couple changes to simplify and clarify the tests in test_util.py. Use Path.touch instead of Path.write_bytes(b"") in the tests. I guess I had formerly had the idea that pathl... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | fdc7c66bd36a6c12eb8e771e806db863266e573fc299e77f27505a768d4f8a98 |
| turbo-cache-control | no-preview |
| go-import | github.com/gitpython-developers/GitPython git https://github.com/gitpython-developers/GitPython.git |
| octolytics-dimension-user_id | 503709 |
| octolytics-dimension-user_login | gitpython-developers |
| octolytics-dimension-repository_id | 1126087 |
| octolytics-dimension-repository_nwo | gitpython-developers/GitPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1126087 |
| octolytics-dimension-repository_network_root_nwo | gitpython-developers/GitPython |
| 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 | 3223a6503d318917691422cdadfbe16cd8fb21e5 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width