From 35d25515fbaf40ebeaec8c311e57f8feb12e312d Mon Sep 17 00:00:00 2001 From: Roland Date: Mon, 19 Feb 2024 15:08:47 -0700 Subject: [PATCH] Removing feature not in Python 3.8. --- wrolpi/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wrolpi/conftest.py b/wrolpi/conftest.py index 0e226ff3..a6d869d7 100644 --- a/wrolpi/conftest.py +++ b/wrolpi/conftest.py @@ -389,7 +389,7 @@ def example_mobi(test_directory) -> pathlib.Path: @pytest.fixture -def make_files_structure(test_directory) -> Callable[[Union[list[Union[pathlib.Path, str]], dict]], List[pathlib.Path]]: +def make_files_structure(test_directory) -> Callable[[Union[List[Union[pathlib.Path, str]], dict]], List[pathlib.Path]]: """ A fixture which creates test files passed to it. If a list is provided, empty files will be created at those locations. If a dict is provided, files will be created containing the value of the dict item.