python3Packages.trio-asyncio: Ignore TrioDeprecationWarning

This commit is contained in:
Martin Weinelt
2023-01-05 13:20:47 +01:00
parent b36007dd92
commit 3262365f47
@@ -40,8 +40,9 @@ buildPythonPackage rec {
pytestFlagsArray = [
# https://github.com/python-trio/trio-asyncio/issues/112
"-W"
"ignore::DeprecationWarning"
"-W" "ignore::DeprecationWarning"
# trio.MultiError is deprecated since Trio 0.22.0; use BaseExceptionGroup (on Python 3.11 and later) or exceptiongroup.BaseExceptionGroup (earlier versions) instead (https://github.com/python-trio/trio/issues/2211)
"-W" "ignore::trio.TrioDeprecationWarning"
];
disabledTestPaths = [