Merge pull request #107659 from rmcgibbo/typesystem

python3Packages.typesystem: fix on python3.8 and python3.9
This commit is contained in:
Sandro 2021-02-08 17:52:26 +01:00 committed by GitHub
commit 50a96ec245
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,7 +30,15 @@ buildPythonPackage rec {
pytestcov
];
disabledTests = [ "test_to_json_schema_complex_regular_expression" ];
disabledTests = [
# https://github.com/encode/typesystem/issues/102. cosmetic issue where python3.8 changed
# the default string formatting of regular expression flags which breaks test assertion
"test_to_json_schema_complex_regular_expression"
];
disabledTestFiles = [
# for some reason jinja2 not picking up forms directory (1% of tests)
"tests/test_forms.py"
];
meta = with lib; {
description = "A type system library for Python";