diff --git a/tests/test_examples.py b/tests/test_examples.py index 6f5464e39..51a5c52db 100644 --- a/tests/test_examples.py +++ b/tests/test_examples.py @@ -100,7 +100,7 @@ async def test_desktop(monkeypatch: pytest.MonkeyPatch): assert "/fake/path/file2.txt" in content.text -@pytest.mark.parametrize("example", find_examples("README.md"), ids=str) +@pytest.mark.parametrize("example", list(find_examples("README.md")), ids=str) def test_docs_examples(example: CodeExample, eval_example: EvalExample): ruff_ignore: list[str] = ["F841", "I001", "F821"] # F821: undefined names (snippets lack imports)