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
] ++ lib.optionals (pythonOlder "3.8") [ mock ];
pytestFlagsArray = [
"--asyncio-mode=legacy"
];
pythonImportsCheck = [ "hypercorn" ];
meta = with lib; {