mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-25 05:23:54 +00:00
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:
parent
ceae9248ea
commit
6f0c856b91
@ -35,6 +35,10 @@ buildPythonPackage rec {
|
||||
trio
|
||||
];
|
||||
|
||||
pytestFlagsArray = [
|
||||
"--asyncio-mode=legacy"
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
sed -i "/--cov/d" setup.cfg
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user