From 3ca99a8532c86211b84c451a0a33c245d56f685a Mon Sep 17 00:00:00 2001 From: FliegendeWurst Date: Mon, 3 Feb 2025 13:05:58 +0100 Subject: [PATCH] pypy310Packages.sure: enable and fix tests --- pkgs/development/python-modules/sure/default.nix | 8 ++++++-- 1 file 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 = {