Skip to content

Commit

Permalink
make cropzoom tests compatible with python 3.8 (#229)
Browse files Browse the repository at this point in the history
  • Loading branch information
themattinthehatt authored Dec 8, 2024
1 parent 6cdee63 commit 0802f17
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/utils/test_cropzoom.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import shutil
import zipfile
from pathlib import Path
from typing import Union

import pandas as pd
import requests
Expand All @@ -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.
Expand Down

0 comments on commit 0802f17

Please sign in to comment.