diff --git a/tests/utils/conda_package_helper.py b/tests/utils/conda_package_helper.py index 631181b637..b0c2a26a99 100644 --- a/tests/utils/conda_package_helper.py +++ b/tests/utils/conda_package_helper.py @@ -124,7 +124,7 @@ def semantic_cmp(version_string: str) -> tuple[int, ...]: def my_split(string: str) -> list[list[str]]: def version_substrs(x: str) -> list[str]: - return re.findall(r"([A-z]+|\d+)", x) + return re.findall(r"([A-Za-z]+|\d+)", x) return list(chain(map(version_substrs, string.split("."))))