Skip to content

Commit

Permalink
Move chdir out
Browse files Browse the repository at this point in the history
  • Loading branch information
romain-intel committed Aug 14, 2024
1 parent 94225d4 commit 8196fb8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_env_create.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ def test_resolve_and_check_env(capsys, python_version, file_type, file_name, ali
_truncate_exc=False,
)
finally:
os.chdir(cwd)
# Runners run out of space so clear out all the packages and environments we created/downloaded
shutil.rmtree(
os.path.join(
Expand All @@ -141,3 +140,5 @@ def test_resolve_and_check_env(capsys, python_version, file_type, file_name, ali
)
shutil.rmtree(env_dict["CONDA_ENVS_DIRS"])
shutil.rmtree(env_dict["CONDA_PKGS_DIRS"])

os.chdir(cwd)

0 comments on commit 8196fb8

Please sign in to comment.