Skip to content

Commit

Permalink
Ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
carmocca committed May 6, 2024
1 parent 5f3d4ef commit 399d4c1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Empty file added tests/__init__.py
Empty file.
4 changes: 4 additions & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
from lightning_utilities.core.imports import RequirementCache


# Ignore cleanup warnings from pytest (rarely happens due to a race condition when executing pytest in parallel)
warnings.filterwarnings("ignore", category=pytest.PytestWarning, message=r".*\(rm_rf\) error removing.*")


@pytest.fixture()
def fake_checkpoint_dir(tmp_path):
os.chdir(tmp_path)
Expand Down

0 comments on commit 399d4c1

Please sign in to comment.