You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2023/05/19 20:04:56 UTC
[allura] 02/02: pytest: ignore other package's namespace warnings
This is an automated email from the ASF dual-hosted git repository.
brondsem pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/allura.git
commit 857bc2e5a7bfd8cbaffbd22b8670b667964b22c5
Author: Dave Brondsema <db...@slashdotmedia.com>
AuthorDate: Fri May 19 20:02:25 2023 +0000
pytest: ignore other package's namespace warnings
---
pytest.ini | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/pytest.ini b/pytest.ini
index 9ed74938b..c689fada9 100644
--- a/pytest.ini
+++ b/pytest.ini
@@ -27,6 +27,8 @@ filterwarnings =
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
+ # other packages' issues:
+ ignore:Deprecated call to `pkg_resources.declare_namespace:DeprecationWarning:pkg_resources
addopts = --pyargs -p no:flaky --tb=short
@@ -37,4 +39,4 @@ norecursedirs = templates_responsive resources images js data docs public *.egg-
#junit_family = legacy
# no|log|system-out|system-err|out-err|all
-junit_logging = all
\ No newline at end of file
+junit_logging = all