aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2022-02-07 19:24:18 +0100
committerWojtek Kosior <koszko@koszko.org>2022-02-07 19:24:18 +0100
commit8c65ebbddf7a3929b82848efa8f404d8ea56200a (patch)
tree1a20642ba91318e07b2adecdf3f1cf03e48937b7
parentad4331a4bd8b29fe1f91b048c6d606e515659cf4 (diff)
downloadhydrilla-builder-8c65ebbddf7a3929b82848efa8f404d8ea56200a.tar.gz
hydrilla-builder-8c65ebbddf7a3929b82848efa8f404d8ea56200a.zip
fix typing mistake i tests
-rw-r--r--src/test/test_hydrilla_builder.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/test_hydrilla_builder.py b/src/test/test_hydrilla_builder.py
index 410b7a1..605dc31 100644
--- a/src/test/test_hydrilla_builder.py
+++ b/src/test/test_hydrilla_builder.py
@@ -12,7 +12,7 @@ from tempfile import TemporaryDirectory
from pathlib import Path
from hashlib import sha256, sha1
from zipfile import ZipFile
-from typing import Callable, Optional
+from typing import Callable, Optional, Iterable
from jsonschema import ValidationError
@@ -211,7 +211,7 @@ def prepare_modified(tmpdir: Path, modify_cb: ModifyCb) -> CaseSettings:
return settings
@pytest.fixture()
-def tmpdir() -> str:
+def tmpdir() -> Iterable[str]:
with TemporaryDirectory() as tmpdir:
yield tmpdir