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): ...@@ -49,6 +49,7 @@ class BuildBackendCaller(BuildBackendBase):
@contextmanager @contextmanager
def enter_directory(dir, val=None): def enter_directory(dir, val=None):
while True:
original_dir = os.getcwd() original_dir = os.getcwd()
os.chdir(dir) os.chdir(dir)
yield val 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