diff --git a/tests/__init__.py b/tests/__init__.py index f62c6cb..ffd6aa7 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -1,4 +1,5 @@ from __future__ import annotations +from typing import Union from pathlib import Path, PurePath from os import PathLike @@ -13,7 +14,7 @@ WILDCARD_GLOB: str = '*' -PathTypes = PathLike | str +PathTypes = Union[PathLike, str] Paths = tuple[Path, AsyncPath]