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
1 changed files with 3 additions and 6 deletions

View File

@ -2,7 +2,7 @@
, buildPythonPackage
, fetchFromGitHub
, isPy27
, pytest
, pytestCheckHook
, pytestcov
, jinja2
, pyyaml
@ -26,14 +26,11 @@ buildPythonPackage rec {
];
checkInputs = [
pytest
pytestCheckHook
pytestcov
];
# for some reason jinja2 not picking up forms directory (1% of tests)
checkPhase = ''
pytest --ignore=tests/test_forms.py
'';
disabledTests = [ "test_to_json_schema_complex_regular_expression" ];
meta = with lib; {
description = "A type system library for Python";