Commit d72a5a7c authored by xoviat's avatar xoviat Committed by GitHub

tests: pep517: fix enter_directory

parent a2d62dd2
......@@ -49,6 +49,7 @@ class BuildBackendCaller(BuildBackendBase):
@contextmanager
def enter_directory(dir, val=None):
while True:
original_dir = os.getcwd()
os.chdir(dir)
yield val
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment