python3Packages.simanneal: use pytestCheckHook

This commit is contained in:
Harinn
2026-07-14 15:36:13 +07:00
parent eaa544a9f9
commit c69eb2e658
@@ -3,7 +3,7 @@
fetchFromGitHub,
buildPythonPackage,
setuptools,
pytest,
pytestCheckHook,
}:
buildPythonPackage (finalAttrs: {
@@ -22,8 +22,7 @@ buildPythonPackage (finalAttrs: {
build-system = [ setuptools ];
nativeCheckInputs = [ pytest ];
checkPhase = "pytest tests";
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "simanneal" ];