python39Packages.flit: switch to pytestCheckHook
This commit is contained in:
parent
0dc9824089
commit
e34303895e
@ -3,7 +3,7 @@
|
|||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, docutils
|
, docutils
|
||||||
, requests
|
, requests
|
||||||
, pytest
|
, pytestCheckHook
|
||||||
, testpath
|
, testpath
|
||||||
, responses
|
, responses
|
||||||
, flit-core
|
, flit-core
|
||||||
@ -40,13 +40,12 @@ buildPythonPackage rec {
|
|||||||
tomli-w
|
tomli-w
|
||||||
];
|
];
|
||||||
|
|
||||||
checkInputs = [ pytest testpath responses ];
|
checkInputs = [ pytestCheckHook testpath responses ];
|
||||||
|
|
||||||
# Disable test that needs some ini file.
|
disabledTests = [
|
||||||
# Disable test that wants hg
|
# needs some ini file.
|
||||||
checkPhase = ''
|
"test_invalid_classifier"
|
||||||
HOME=$(mktemp -d) pytest -k "not test_invalid_classifier and not test_build_sdist"
|
];
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A simple packaging tool for simple packages";
|
description = "A simple packaging tool for simple packages";
|
||||||
|
Loading…
Reference in New Issue
Block a user