forked from pool/python-fastapi
- disable PendingDeprecatingWarning
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fastapi?expand=0&rev=80
This commit is contained in:
@@ -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>
|
||||
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user