We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 556f9a9 commit 06c6632Copy full SHA for 06c6632
source/tests/conftest.py
@@ -1,4 +1,5 @@
1
import pytest
2
+from typing import Iterable
3
from pathlib import Path
4
5
from mkdocstrings_python_generator.files_generator import FilesGenerator
@@ -10,7 +11,7 @@ def example_files() -> Path:
10
11
12
13
@pytest.fixture()
-def files_generator(tmp_path: Path) -> FilesGenerator:
14
+def files_generator(tmp_path: Path) -> Iterable[FilesGenerator]:
15
generator = FilesGenerator(str(tmp_path / "destination"), use_directory_urls=True)
16
yield generator
17
generator.cleanup()
0 commit comments