python310Packages.asyncpg: use pytestCheckHook

This commit is contained in:
Sandro Jäckel
2023-03-26 22:27:38 +02:00
parent 0fc009e24c
commit e4277a6cf1
@@ -4,6 +4,8 @@
, uvloop
, postgresql
, pythonOlder
, pytest-xdist
, pytestCheckHook
}:
buildPythonPackage rec {
@@ -24,8 +26,14 @@ buildPythonPackage rec {
nativeCheckInputs = [
uvloop
postgresql
pytest-xdist
pytestCheckHook
];
preCheck = ''
rm -rf asyncpg/
'';
pythonImportsCheck = [
"asyncpg"
];