about summary refs log tree commit diff
diff options
context:
space:
mode:
authornatsukium <tomoya.otabi@gmail.com>2024-03-23 11:30:37 +0900
committernatsukium <tomoya.otabi@gmail.com>2024-03-23 12:09:43 +0900
commit4672e2915e5dba1b5df62659b9fbe7215a644910 (patch)
treebfb8577d9711c02927beec26c84c26265a3e611c
parent97c86a7a0ca86b228816e9c60f6e305b531baeef (diff)
python39Packages.hypothesis: disable failing tests
-rw-r--r--pkgs/development/python-modules/hypothesis/default.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/hypothesis/default.nix b/pkgs/development/python-modules/hypothesis/default.nix
index 998510ec81621..2c99b43f94877 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"
   ];