log: Ignore deprecation warning from new SIP
See https://riverbankcomputing.com/news/SIP_v6.7.12_Released
This commit is contained in:
parent
4c6b34ea05
commit
a8355674da
|
|
@ -209,6 +209,16 @@ def _init_py_warnings() -> None:
|
|||
message=r"Using or importing the ABCs from "
|
||||
r"'collections' instead of from 'collections.abc' "
|
||||
r"is deprecated.*")
|
||||
# PyQt 5.15/6.2/6.3/6.4:
|
||||
# https://riverbankcomputing.com/news/SIP_v6.7.12_Released
|
||||
warnings.filterwarnings(
|
||||
'ignore',
|
||||
category=DeprecationWarning,
|
||||
message=(
|
||||
r"sipPyTypeDict\(\) is deprecated, the extension module should use "
|
||||
r"sipPyTypeDictRef\(\) instead"
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
@contextlib.contextmanager
|
||||
|
|
|
|||
Loading…
Reference in New Issue