Skip to content

Commit

Permalink
Fix bug in asv_runner.benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
elac-safran authored Oct 3, 2024
1 parent 9b7a26f commit a9deb81
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions asv_runner/benchmarks/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,8 @@
name for _, name, _ in pkgutil.iter_modules(pkgpath) if "_" not in name
]
asv_modules = [
dist.metadata["Name"]
for dist in distributions()
if dist.metadata["Name"].startswith("asv_bench")
name for dist in distributions()
if isinstance(name := dist.metadata.get("Name", None), str) and name.startswith("asv_bench")
]
benchmark_types = []

Expand Down

0 comments on commit a9deb81

Please sign in to comment.