Don't treat DeprecationWarnings as an error during tests
This commit is contained in:
parent
6eece4eaca
commit
2ede8341e5
1 changed files with 3 additions and 0 deletions
|
|
@ -54,6 +54,9 @@ BuildRequires: python3-sphinx-issues
|
|||
# Fix for https://github.com/pallets/jinja/issues/1758
|
||||
sed -i "s/def teardown/def teardown_method/" tests/test_loader.py
|
||||
|
||||
# Don't treat DeprecationWarnings as an error during tests
|
||||
sed -zi 's/filterwarnings = \n\terror/filterwarnings = \n\tdefault/' setup.cfg
|
||||
|
||||
%generate_buildrequires
|
||||
%pyproject_buildrequires -x i18n
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue