python310Packages.oslo-i18n: disable failing test

This commit is contained in:
Sandro Jäckel 2023-03-08 02:35:41 +01:00
parent d4187810f9
commit 53cd4459c7
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -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" ];