From 53cd4459c7297595bc86890ddc0033c5ff7a1d64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Wed, 8 Mar 2023 02:35:41 +0100 Subject: [PATCH] python310Packages.oslo-i18n: disable failing test --- pkgs/development/python-modules/oslo-i18n/default.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/oslo-i18n/default.nix b/pkgs/development/python-modules/oslo-i18n/default.nix index 9736e7ce0db..bfa60844814 100644 --- a/pkgs/development/python-modules/oslo-i18n/default.nix +++ b/pkgs/development/python-modules/oslo-i18n/default.nix @@ -32,7 +32,14 @@ buildPythonPackage rec { ]; checkPhase = '' - stestr run + runHook preCheck + + stestr run -e <(echo " + # test counts warnings which no longer matches in python 3.11 + oslo_i18n.tests.test_message.MessageTestCase.test_translate_message_bad_translation + ") + + runHook postCheck ''; pythonImportsCheck = [ "oslo_i18n" ];