This is an automated email from the ASF dual-hosted git repository. gcruz pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/allura.git
commit 474a799786c077fd2a4bfacb00eb2eb806a7e3ae Author: Dillon Walls <[email protected]> AuthorDate: Wed Mar 8 02:31:01 2023 +0000 [#8503] pytest - update configuration of which warnings to ignore --- pytest.ini | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pytest.ini b/pytest.ini index df269e9ad..1ad2b5ecf 100644 --- a/pytest.ini +++ b/pytest.ini @@ -20,7 +20,13 @@ # https://docs.python.org/3/using/cmdline.html#cmdoption-w # https://docs.pytest.org/en/6.2.x/reference.html#ini-options-ref filterwarnings = - ignore::DeprecationWarning + ignore::DeprecationWarning:html5lib.filters.sanitizer + # https://bizxinfo.atlassian.net/browse/SF-6067 + ignore::DeprecationWarning:ming + # not sure why timermiddleware is surfacing pymongo warnings, but it does: + ignore:insert is deprecated. Use insert_one or insert_many instead.:DeprecationWarning:timermiddleware + ignore:update is deprecated. Use replace_one, update_one or update_many instead.:DeprecationWarning:timermiddleware + ignore:remove is deprecated. Use delete_one or delete_many instead.:DeprecationWarning:timermiddleware addopts = --pyargs -p no:flaky
