python3Packages.respx: run tests in legacy asyncio-mode

Since pytest-asyncio==0.19.0 the strict mode has become the default. The
respx module has not been upgraded with that in mind, so let's rollback
that change to fix the tests.
This commit is contained in:
Martin Weinelt
2022-07-21 22:35:27 +02:00
parent ceae9248ea
commit 6f0c856b91
@@ -35,6 +35,10 @@ buildPythonPackage rec {
trio
];
pytestFlagsArray = [
"--asyncio-mode=legacy"
];
postPatch = ''
sed -i "/--cov/d" setup.cfg
'';