Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32.4k
Closed
Description
A number of tests usepathlib.Path
to test that the code supports path-like objects. They should use a special object that only implements the path protocol instead. This will avoid unintentional dependency on otherpathlib.Path
methods and attributes and allow to test path-like objects with the bytes path.
Linked PRs
- gh-119064: Use os_helper.FakePath instead of pathlib.Path in tests #119065
- [3.13] gh-119064: Use os_helper.FakePath instead of pathlib.Path in tests (GH-119065) #119087
- [3.12] gh-119064: Use os_helper.FakePath instead of pathlib.Path in tests (GH-119065) #119088
- [3.11] gh-119064: Use os_helper.FakePath instead of pathlib.Path in tests (GH-119065) #119089