diff options
author | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2021-01-04 04:00:49 +0100 |
---|---|---|
committer | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2021-01-07 10:42:14 +0100 |
commit | e141a444e964bef061e135324d20811a4bf30cb3 (patch) | |
tree | e47eb85b90ff40c38cf26e57ee97ca2b0ac07244 /pkgs/development/python-modules/typesystem | |
parent | 02611868a47575d084602fa01e32b539c003ba3c (diff) |
pythonPackages.typesystem: Use pytestCheckHook
Diffstat (limited to 'pkgs/development/python-modules/typesystem')
-rw-r--r-- | pkgs/development/python-modules/typesystem/default.nix | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/pkgs/development/python-modules/typesystem/default.nix b/pkgs/development/python-modules/typesystem/default.nix index bfaed58b13fb2..e993363769a80 100644 --- a/pkgs/development/python-modules/typesystem/default.nix +++ b/pkgs/development/python-modules/typesystem/default.nix @@ -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"; |