From 178f51f4c2424740ce1a2ba0ca3b90d958dc701c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Jonglez?= <clement@jonglez.space> Date: Tue, 12 Mar 2024 10:55:57 +0100 Subject: [PATCH] pytest.ini: disable the annoying DeprecationWarnings in pytest due to jcc Example: <frozen importlib._bootstrap>:488: DeprecationWarning: builtin type __JArray_string_iterator has no __module__ attribute --- python_files/test/pytest.ini | 2 ++ 1 file changed, 2 insertions(+) diff --git a/python_files/test/pytest.ini b/python_files/test/pytest.ini index e0bdf3d..384f471 100644 --- a/python_files/test/pytest.ini +++ b/python_files/test/pytest.ini @@ -4,3 +4,5 @@ [pytest] python_files=*.py +filterwarnings = + ignore::DeprecationWarning -- GitLab