We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49a0283 commit f25923bCopy full SHA for f25923b
benchmarks/asv_delegated.py
@@ -97,12 +97,12 @@ class Mode(enum.Enum):
97
lockfile_dir = req_dir / "ci" / "nox.lock"
98
99
if not lockfile_dir.is_dir():
100
- message = "No lockfile directory found in the expected locations."
+ message = f"No lockfile directory found in the expected locations, got {lockfile_dir}."
101
raise FileNotFoundError(message)
102
103
def py_ver_from_lockfiles(lockfile: Path) -> str:
104
pattern = re.compile(r"py(\d+)-")
105
- search = pattern.search(lockfile.name)
+ search = pattern.search(lockfile.name
106
assert search is not None
107
version = search.group(1)
108
return f"{version[0]}.{version[1:]}"
0 commit comments