test: Ignore swig 4.3 deprecation warnings in pytest
This commit is contained in:
parent
7fd0e65453
commit
15606b293f
1 changed files with 8 additions and 0 deletions
|
|
@ -62,3 +62,11 @@ build-backend = "hatchling.build"
|
|||
|
||||
[tool.pyright]
|
||||
typeCheckingMode = "strict"
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
filterwarnings = [
|
||||
# see https://github.com/swig/swig/issues/2881#issuecomment-2877988848
|
||||
# should hopefully be redundant with swig-4.4
|
||||
"ignore:.*builtin type SwigPy\\w* has no __module__ attribute.*:DeprecationWarning",
|
||||
"ignore:.*builtin type swigvarlink has no __module__ attribute.*:DeprecationWarning"
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue