Skip to content

Commit a2ae7ce

Browse files
committed
update
1 parent 0a8cb95 commit a2ae7ce

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tests/tests_fabric/conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,8 +221,8 @@ def leave_no_artifacts_behind():
221221
yield
222222
files_after = {p for p in tests_root.rglob("*") if "__pycache__" not in p.parts}
223223
difference = files_after - files_before
224-
# ignore files ending with .lock (lightning port files)
225-
difference = {f for f in difference if not f.name.endswith(".lock")}
224+
# ignore lightning port files
225+
difference = {f for f in difference if not f.name.startswith("lightning_ports.lock")}
226226
difference = {str(f.relative_to(tests_root)) for f in difference}
227227
# ignore the .coverage files
228228
difference = {f for f in difference if not f.endswith(".coverage")}

tests/tests_pytorch/conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -349,8 +349,8 @@ def leave_no_artifacts_behind():
349349
yield
350350
files_after = {p for p in tests_root.rglob("*") if "__pycache__" not in p.parts}
351351
difference = files_after - files_before
352-
# ignore files ending with .lock (lightning port files)
353-
difference = {f for f in difference if not f.name.endswith(".lock")}
352+
# ignore lightning port files
353+
difference = {f for f in difference if not f.name.startswith("lightning_ports.lock")}
354354
difference = {str(f.relative_to(tests_root)) for f in difference}
355355
# ignore the .coverage files
356356
difference = {f for f in difference if not f.endswith(".coverage")}

0 commit comments

Comments
 (0)