SIGN IN SIGN UP

bpo-25625: add contextlib.chdir (GH-28271)

Added non parallel-safe :func:`~contextlib.chdir` context manager to change
the current working directory and then restore it on exit. Simple wrapper
around :func:`~os.chdir`.

Signed-off-by: Filipe Laíns <lains@riseup.net>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
F
Filipe Laíns committed
3592980f9122ab0d9ed93711347742d110b749c2
Parent: ad6d162
Committed by GitHub <noreply@github.com> on 10/19/2021, 10:19:27 PM