python3Packages.atv: fix pytest-asyncio compatibility

This commit is contained in:
Martin Weinelt 2022-01-17 13:53:21 +01:00
parent 0c89c2a4bf
commit 910fec8199

View File

@ -52,6 +52,10 @@ buildPythonPackage rec {
pytestCheckHook
];
pytestFlagsArray = [
"--asyncio-mode=auto"
];
postPatch = ''
substituteInPlace setup.py \
--replace "pytest-runner" ""