From 4672e2915e5dba1b5df62659b9fbe7215a644910 Mon Sep 17 00:00:00 2001 From: natsukium Date: Sat, 23 Mar 2024 11:30:37 +0900 Subject: [PATCH] python39Packages.hypothesis: disable failing tests --- pkgs/development/python-modules/hypothesis/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/development/python-modules/hypothesis/default.nix b/pkgs/development/python-modules/hypothesis/default.nix index 998510ec8162..2c99b43f9487 100644 --- a/pkgs/development/python-modules/hypothesis/default.nix +++ b/pkgs/development/python-modules/hypothesis/default.nix @@ -79,6 +79,14 @@ buildPythonPackage rec { "tests/cover" ]; + disabledTests = if (pythonOlder "3.10") then [ + # not sure why these tests fail with only 3.9 + # FileNotFoundError: [Errno 2] No such file or directory: 'git' + "test_observability" + "test_assume_has_status_reason" + "test_observability_captures_stateful_reprs" + ] else null; + pythonImportsCheck = [ "hypothesis" ];