Skip to content

Commit 3e77acd

Browse files
committed
Do not run benchmarks via pytest
1 parent 13b4349 commit 3e77acd

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

benchmarks/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def _skip_slow():
2222
2323
>>> from . import _skip_slow
2424
>>> def time_something_slow():
25-
pass
25+
... pass
2626
>>> time_something.setup = _skip_slow
2727
"""
2828
if os.environ.get("ASV_SKIP_SLOW", "0") == "1":

pyproject.toml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -185,10 +185,7 @@ minversion = "6.0"
185185
addopts = "-ra --strict-config --strict-markers"
186186
log_cli_level = "INFO"
187187
xfail_strict = true
188-
testpaths = ["tests", "benchmarks"]
189-
python_files = ["benchmark_*.py", "test_*.py"]
190-
python_classes = ["Test*", "*Suite"]
191-
python_functions = ["time_*", "test_*", "peakmem_*"]
188+
testpaths = ["tests"]
192189
filterwarnings = [
193190
"error",
194191
"ignore:.*use `imageio` or other I/O packages directly.*:FutureWarning:skimage",

0 commit comments

Comments
 (0)