Skip to content

Commit

Permalink
fixture shell to remove zoutpu
Browse files Browse the repository at this point in the history
  • Loading branch information
smilesun committed Dec 11, 2024
1 parent 39f9a0d commit 2a9f862
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pytest pytest-cov pytest-shell
pip install pytest pytest-cov pytest-shell pytest-shell-utilities
python setup.py install
- name: Install Python Poetry
run: |
Expand Down
2 changes: 2 additions & 0 deletions tests/utils_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ def utils_test_algo(argsstr="--help"):
del exp
torch.cuda.empty_cache()
gc.collect()
ret = shell.run("rm", "-rf zoutput")
assert ret.returncode == 0


def assert_frame_not_equal(*args, **kwargs):
Expand Down

0 comments on commit 2a9f862

Please sign in to comment.