diff options
Diffstat (limited to 'pkgs/development/python-modules/dataclasses-json/default.nix')
-rw-r--r-- | pkgs/development/python-modules/dataclasses-json/default.nix | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/dataclasses-json/default.nix b/pkgs/development/python-modules/dataclasses-json/default.nix index fea33d9d9ba0c..661e77703bc05 100644 --- a/pkgs/development/python-modules/dataclasses-json/default.nix +++ b/pkgs/development/python-modules/dataclasses-json/default.nix @@ -4,7 +4,6 @@ , typing-inspect , marshmallow-enum , hypothesis -, mypy , pytestCheckHook }: @@ -26,14 +25,14 @@ buildPythonPackage rec { nativeCheckInputs = [ hypothesis - mypy pytestCheckHook ]; - disabledTests = [ + disabledTestPaths = [ + # fails with the following error and avoid dependency on mypy # mypy_main(None, text_io, text_io, [__file__], clean_exit=True) # TypeError: main() takes at most 4 arguments (5 given) - "test_type_hints" + "tests/test_annotations.py" ]; pythonImportsCheck = [ "dataclasses_json" ]; |