python3Packages.hyperion-py: fix pytest-asyncio compatibility

This commit is contained in:
Martin Weinelt 2022-01-17 03:29:41 +01:00
parent ebcfdb4d62
commit e02cea2d69

View File

@ -36,6 +36,11 @@ buildPythonPackage rec {
pytestCheckHook
];
pytestFlagsArray = [
# pytest-asyncio 0.17.0 compat
"--asyncio-mode=auto"
];
postPatch = ''
substituteInPlace pyproject.toml \
--replace " --timeout=9 --cov=hyperion" ""