pythonPackages.typesystem: Use pytestCheckHook
This commit is contained in:
parent
02611868a4
commit
e141a444e9
@ -2,7 +2,7 @@
|
|||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, isPy27
|
, isPy27
|
||||||
, pytest
|
, pytestCheckHook
|
||||||
, pytestcov
|
, pytestcov
|
||||||
, jinja2
|
, jinja2
|
||||||
, pyyaml
|
, pyyaml
|
||||||
@ -26,14 +26,11 @@ buildPythonPackage rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
pytest
|
pytestCheckHook
|
||||||
pytestcov
|
pytestcov
|
||||||
];
|
];
|
||||||
|
|
||||||
# for some reason jinja2 not picking up forms directory (1% of tests)
|
disabledTests = [ "test_to_json_schema_complex_regular_expression" ];
|
||||||
checkPhase = ''
|
|
||||||
pytest --ignore=tests/test_forms.py
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A type system library for Python";
|
description = "A type system library for Python";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user