python3Packages.hypercorn: test in asyncio legacy mode

This commit is contained in:
Martin Weinelt 2022-07-21 13:32:52 +02:00
parent b27ce7e2c5
commit a3547dd5a2

View file

@ -44,6 +44,10 @@ buildPythonPackage rec {
pytestCheckHook pytestCheckHook
] ++ lib.optionals (pythonOlder "3.8") [ mock ]; ] ++ lib.optionals (pythonOlder "3.8") [ mock ];
pytestFlagsArray = [
"--asyncio-mode=legacy"
];
pythonImportsCheck = [ "hypercorn" ]; pythonImportsCheck = [ "hypercorn" ];
meta = with lib; { meta = with lib; {