Skip to content

Commit

Permalink
Show the version in the header.
Browse files Browse the repository at this point in the history
  • Loading branch information
ionelmc committed Oct 20, 2015
1 parent 0827ee2 commit 9a06b29
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/pytest_benchmark/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ class PerformanceRegression(pytest.UsageError):
pass


def pytest_report_header(config):
return "benchmark: %s" % __version__


def pytest_addoption(parser):
group = parser.getgroup("benchmark")
group.addoption(
Expand Down

0 comments on commit 9a06b29

Please sign in to comment.