summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/sure/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/sure/default.nix')
-rw-r--r--pkgs/development/python-modules/sure/default.nix8
1 files changed, 6 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/sure/default.nix b/pkgs/development/python-modules/sure/default.nix
index f4ca02501d00..77b9e2f463c2 100644
--- a/pkgs/development/python-modules/sure/default.nix
+++ b/pkgs/development/python-modules/sure/default.nix
@@ -14,8 +14,6 @@ buildPythonPackage rec {
version = "2.0.1";
pyproject = true;
- disabled = isPyPy;
-
src = fetchPypi {
inherit pname version;
hash = "sha256-yPxvq8Dn9phO6ruUJUDkVkblvvC7mf5Z4C2mNOTUuco=";
@@ -43,6 +41,12 @@ buildPythonPackage rec {
"tests/test_old_api.py" # require nose
];
+ disabledTests = lib.optionals (isPyPy) [
+ # test extension of 'dict' object is broken
+ "test_should_compare_dict_with_non_orderable_key_types"
+ "test_should_compare_dict_with_enum_keys"
+ ];
+
pythonImportsCheck = [ "sure" ];
meta = {