Skip to content

Commit 00df385

Browse files
committed
Use a generator
1 parent 63faacc commit 00df385

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pytest_pyodide/hook.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ def pytest_collection_modifyitems(items: list[Any]) -> None:
299299
def _get_item_position(item):
300300
counter[0] += 1
301301
if any(
302-
[re.match(r"^safari[\-$]?", el) for el in item.keywords._markers.keys()]
302+
re.match(r"^safari[\-$]?", el) for el in item.keywords._markers.keys()
303303
) and _has_standalone_fixture(item):
304304
return counter[0] - OFFSET
305305
return counter[0]

0 commit comments

Comments
 (0)