Skip to content

Commit

Permalink
Fix assertion.
Browse files Browse the repository at this point in the history
  • Loading branch information
ionelmc committed Jan 5, 2016
1 parent 564e047 commit 17fae31
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions tests/test_benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -803,20 +803,15 @@ def result():
"*====== FAILURES ======*",
"*______ test_bad ______*",

"benchmark = <pytest_benchmark.plugin.BenchmarkFixture object at *>",
"benchmark = <pytest_benchmark.*.BenchmarkFixture object at *>",

" def test_bad(benchmark):",
"> @benchmark",
" def result():",

"test_abort_broken.py:*",
"_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _*",
"*pytest_benchmark/plugin.py:*: in __call__",
" duration, iterations, loops_range = self._calibrate_timer(runner)",
"*pytest_benchmark/plugin.py:*: in _calibrate_timer",
" duration = runner(loops_range)",
"*pytest_benchmark/plugin.py:*: in runner",
" *",
"*",
"_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _*",

" @benchmark",
Expand All @@ -827,7 +822,7 @@ def result():
"test_abort_broken.py:11: Exception",
"*______ test_bad2 ______*",

"benchmark = <pytest_benchmark.plugin.BenchmarkFixture object at *>",
"benchmark = <pytest_benchmark.*.BenchmarkFixture object at *>",

" def test_bad2(benchmark):",
" @benchmark",
Expand Down

0 comments on commit 17fae31

Please sign in to comment.