python310Packages.et_xmlfile: move to pytestCheckHook

This commit is contained in:
Fabian Affolter 2023-04-09 09:47:31 +02:00
parent b5f5ba93d6
commit 429aff6055

View File

@ -2,7 +2,7 @@
, buildPythonPackage
, fetchPypi
, lxml
, pytest
, pytestCheckHook
, pythonOlder
}:
@ -21,13 +21,9 @@ buildPythonPackage rec {
nativeCheckInputs = [
lxml
pytest
pytestCheckHook
];
checkPhase = ''
py.test $out
'';
pythonImportsCheck = [
"et_xmlfile"
];