From 8c65ebbddf7a3929b82848efa8f404d8ea56200a Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Mon, 7 Feb 2022 19:24:18 +0100 Subject: fix typing mistake i tests --- src/test/test_hydrilla_builder.py | 4 ++-- 1 file 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 -- cgit v1.2.3