Skip to content

Commit f25923b

Browse files
committed
Update asv_delegated.py
1 parent 49a0283 commit f25923b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

benchmarks/asv_delegated.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,12 +97,12 @@ class Mode(enum.Enum):
9797
lockfile_dir = req_dir / "ci" / "nox.lock"
9898

9999
if not lockfile_dir.is_dir():
100-
message = "No lockfile directory found in the expected locations."
100+
message = f"No lockfile directory found in the expected locations, got {lockfile_dir}."
101101
raise FileNotFoundError(message)
102102

103103
def py_ver_from_lockfiles(lockfile: Path) -> str:
104104
pattern = re.compile(r"py(\d+)-")
105-
search = pattern.search(lockfile.name)
105+
search = pattern.search(lockfile.name
106106
assert search is not None
107107
version = search.group(1)
108108
return f"{version[0]}.{version[1:]}"

0 commit comments

Comments
 (0)