memtree: Replace custom checkPhase
with pytestCheckHook
This commit is contained in:
parent
5d66497260
commit
1b46ab02fd
@ -18,6 +18,7 @@ python3Packages.buildPythonApplication {
|
||||
|
||||
nativeBuildInputs = with python3Packages; [
|
||||
poetry-core
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
@ -29,12 +30,7 @@ python3Packages.buildPythonApplication {
|
||||
pytest
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
python -m pytest -v
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
pytestFlagsArray = [ "-v" ];
|
||||
pythonImportChecks = [ "memtree" ];
|
||||
|
||||
passthru.updateScript = nix-update-script {
|
||||
|
Loading…
Reference in New Issue
Block a user