pythonPackages.typesystem: Use pytestCheckHook

This commit is contained in:
Sandro Jäckel 2021-01-04 04:00:49 +01:00
parent 02611868a4
commit e141a444e9
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -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";