nixpkgs/pkgs/development/python-modules/pytest-asyncio/tests.nix
Martin Weinelt 2742ea65c6 python3Packages.pytest-asyncio: extract tests into passthru
Necessary to escape infinite recursion with hypothesis.
2022-07-21 22:33:35 +02:00

29 lines
406 B
Nix

{ buildPythonPackage
, flaky
, hypothesis
, pytest-asyncio
, pytest-trio
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "pytest-asyncio-tests";
inherit (pytest-asyncio) version;
src = pytest-asyncio.testout;
dontBuild = true;
dontInstall = true;
propagatedBuildInputs = [
pytest-asyncio
];
checkInputs = [
flaky
hypothesis
pytest-trio
pytestCheckHook
];
}