Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove pathlib.Path use as a contextmanager
Path as a contextmanager is deprecated from 3.11 onwards, and was a no-op since Python 3.9. Also this functionality was never documented. See [cpython/Lib/pathlib.py#L810-L816][1], python/cpython#83863 and, python/cpython#90714. [1]: https://github.com/python/cpython/blob/120b4ab2b68aebf96ce0de243eab89a25fc2d282/Lib/pathlib.py#L810-L816
- Loading branch information