Skip to content

Commit 03dd693

Browse files
committed
update
1 parent 772d50c commit 03dd693

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/tests_fabric/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ def caplog(caplog):
213213

214214

215215
@pytest.fixture(autouse=True)
216-
def leave_no_artifacts_behind():
216+
def leave_no_artifacts_behind(cleanup_lightning_ports):
217217
"""Checks that no artifacts are left behind after the test."""
218218
tests_root = Path(__file__).parent.parent
219219
# Ignore the __pycache__ directories

tests/tests_pytorch/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ def single_process_pg():
341341

342342

343343
@pytest.fixture(autouse=True)
344-
def leave_no_artifacts_behind():
344+
def leave_no_artifacts_behind(cleanup_lightning_ports):
345345
"""Checks that no artifacts are left behind after the test."""
346346
tests_root = Path(__file__).parent.parent
347347
# Ignore the __pycache__ directories

0 commit comments

Comments
 (0)