diff --git a/tests/utils/conda_package_helper.py b/tests/utils/conda_package_helper.py index 631181b6..b0c2a26a 100644 --- a/tests/utils/conda_package_helper.py +++ b/tests/utils/conda_package_helper.py @@ -124,7 +124,7 @@ class CondaPackageHelper: 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("."))))