forked from pool/python-pytest-benchmark
- Convert to libalternatives on SLE-16-based and newer systems
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-benchmark?expand=0&rev=34
This commit is contained in:
12
ignore-deprecationwarning.patch
Normal file
12
ignore-deprecationwarning.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
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:::
|
||||
Reference in New Issue
Block a user