Skip to content

Commit

Permalink
Fix typo in variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
ionelmc committed Jun 2, 2018
1 parent ca13fbf commit 13d94a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pytest_benchmark/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,8 +271,8 @@ def pytest_benchmark_compare_machine_info(config, benchmarksession, machine_info
@_hookwrapper
def pytest_runtest_call(item):
bs = item.config._benchmarksession
fixure = hasattr(item, "funcargs") and item.funcargs.get("benchmark")
if isinstance(fixure, BenchmarkFixture):
fixture = hasattr(item, "funcargs") and item.funcargs.get("benchmark")
if isinstance(fixture, BenchmarkFixture):
if bs.skip:
pytest.skip("Skipping benchmark (--benchmark-skip active).")
else:
Expand Down

0 comments on commit 13d94a3

Please sign in to comment.