python310Packages.asyncpg: use pytestCheckHook
This commit is contained in:
@@ -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"
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user