Skip to content

Commit 3bc3aa4

Browse files
authored
Add pytest-benchmark to development requirements (#7937)
Disable execution of benchmarks by default. Related to #7796
1 parent 4c28746 commit 3bc3aa4

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

dev_tools/requirements/deps/pytest.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
pytest
44
pytest-asyncio
5+
pytest-benchmark
56
pytest-cov
67
pytest-randomly
78
coverage~=7.4

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ ignore_missing_imports = true
126126

127127

128128
[tool.pytest.ini_options]
129+
addopts = ["--benchmark-disable"]
129130
filterwarnings = [
130131
"ignore:Matplotlib is currently using agg:UserWarning",
131132
"ignore:FigureCanvasAgg is non-interactive.*cannot be shown:UserWarning",

0 commit comments

Comments
 (0)