summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOTABI Tomoya <tomoya.otabi@gmail.com>2024-03-23 15:57:18 +0900
committerGitHub <noreply@github.com>2024-03-23 15:57:18 +0900
commitc7f7cec4cb4f2edda2bfb6a1715b6b47fbbb2e87 (patch)
tree4708e5b8412e98f57cfc68c7f9db35a4e3b562a5
parente94ef3d0543fa039b177767c9824ed5847470453 (diff)
parent4672e2915e5dba1b5df62659b9fbe7215a644910 (diff)
Merge pull request #298260 from natsukium/hypothesis/fix/python39
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 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"
];