Skip to content

Commit cd3a753

Browse files
committed
Skip warmup tests with pytest-benchmark
1 parent 1f12956 commit cd3a753

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/test_pytest_plugin.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,7 @@ def test_my_stuff(benchmark, i):
349349

350350

351351
@skip_without_valgrind
352+
@skip_with_pytest_benchmark
352353
def test_benchmark_marker_tmp_path(pytester: pytest.Pytester, codspeed_env) -> None:
353354
pytester.makepyfile(
354355
"""
@@ -365,6 +366,7 @@ def test_tmp_path(tmp_path):
365366

366367

367368
@skip_without_valgrind
369+
@skip_with_pytest_benchmark
368370
def test_benchmark_fixture_tmp_path(pytester: pytest.Pytester, codspeed_env) -> None:
369371
pytester.makepyfile(
370372
"""
@@ -382,6 +384,7 @@ def _():
382384

383385

384386
@skip_without_valgrind
387+
@skip_with_pytest_benchmark
385388
def test_benchmark_fixture_warmup(pytester: pytest.Pytester, codspeed_env) -> None:
386389
pytester.makepyfile(
387390
"""

0 commit comments

Comments
 (0)