diff --git a/tests/utils/test_cropzoom.py b/tests/utils/test_cropzoom.py index 4d525fb5..ac5ba752 100644 --- a/tests/utils/test_cropzoom.py +++ b/tests/utils/test_cropzoom.py @@ -4,6 +4,7 @@ import shutil import zipfile from pathlib import Path +from typing import Union import pandas as pd import requests @@ -13,7 +14,7 @@ # TODO: Move to utils. -def compare_directories(dir1: Path, dir2: Path) -> int | dict: +def compare_directories(dir1: Path, dir2: Path) -> Union[int, dict]: """ Compares files in two directories recursively.