From ff23b19e01dd7bcdea59844155e684506471e95a Mon Sep 17 00:00:00 2001 From: FliegendeWurst Date: Sun, 2 Feb 2025 11:26:58 +0100 Subject: [PATCH] python313Packages.inform: fix tests --- pkgs/development/python-modules/inform/default.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/inform/default.nix b/pkgs/development/python-modules/inform/default.nix index d69941e15a85..ba25c90f66db 100644 --- a/pkgs/development/python-modules/inform/default.nix +++ b/pkgs/development/python-modules/inform/default.nix @@ -9,6 +9,7 @@ num2words, pytestCheckHook, pythonOlder, + pythonAtLeast, }: buildPythonPackage rec { @@ -38,7 +39,12 @@ buildPythonPackage rec { hypothesis ]; - disabledTests = [ "test_prostrate" ]; + disabledTests = + [ "test_prostrate" ] + ++ lib.optionals (pythonAtLeast "3.13") [ + # doctest runs one more test than expected + "test_inform" + ]; meta = with lib; { description = "Print and logging utilities";