Accepting request 1222081 from devel:languages:python

- disable PendingDeprecatingWarning

OBS-URL: https://build.opensuse.org/request/show/1222081
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fastapi?expand=0&rev=36
This commit is contained in:
Ana Guerrero 2024-11-08 10:56:16 +00:00 committed by Git OBS Bridge
commit 61e3dc8711
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Nov 7 09:16:23 UTC 2024 - Nico Krapp <nico.krapp@suse.com>
- disable PendingDeprecatingWarning
-------------------------------------------------------------------
Fri Oct 18 03:23:50 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>

View File

@ -120,7 +120,7 @@ ignorefiles="$ignorefiles --ignore tests/test_tutorial/test_response_model/test_
donttest="$donttest or test_orjson_response_class"
donttest="$donttest or (test_tutorial001 and test_get_custom_response)"
%endif
%pytest -W ignore::DeprecationWarning -W ignore::ResourceWarning $ignorefiles -k "not ($donttest)" tests
%pytest -W ignore::DeprecationWarning -W ignore::PendingDeprecationWarning -W ignore::ResourceWarning $ignorefiles -k "not ($donttest)" tests
%post
%python_install_alternative fastapi