1
0
python-pytest-benchmark/ignore-deprecationwarning.patch
2023-03-20 05:14:18 +00:00

13 lines
513 B
Diff

Index: pytest-benchmark-4.0.0/pytest.ini
===================================================================
--- pytest-benchmark-4.0.0.orig/pytest.ini
+++ pytest-benchmark-4.0.0/pytest.ini
@@ -32,6 +32,7 @@ testpaths =
# Idea from: https://til.simonwillison.net/pytest/treat-warnings-as-errors
filterwarnings =
error
+ ignore::DeprecationWarning
# You can add exclusions, some examples:
# ignore:'pytest_benchmark' defines default_app_config:PendingDeprecationWarning::
# ignore:The {{% if:::