FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Add logging message to notify user of skipped benchmarks by bclodius · Pull Request #316 · python/pyperformance · GitHub

Repository navigation

Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .py  (1) All 1 file type selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
3 changes: 3 additions & 0 deletions pyperformance/cli.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,9 @@ def parse_entry(o, s):
# Filter out any benchmarks that can't be run on the Python version we're running
if this_python_version in bench.python:
selected.append(bench)
else:
logging.warning("Benchmark: %s is being skipped because Python version required is %s but found %s",
bench.spec.name, bench.python, this_python_version)

return selected

Expand Down

Back | FazBrowse Home | New Git URL