python3Packages.xmltodict: disable incompatible expat tests

This commit is contained in:
Jonathan Ringer 2022-02-26 08:52:53 -08:00
parent f704d6a6a8
commit 0451c289d3
No known key found for this signature in database
GPG key ID: 5C841D3CFDFEC4E0

View file

@ -2,7 +2,7 @@
, buildPythonPackage
, fetchPypi
, coverage
, nose
, pytestCheckHook
}:
buildPythonPackage rec {
@ -14,11 +14,13 @@ buildPythonPackage rec {
sha256 = "50d8c638ed7ecb88d90561beedbf720c9b4e851a9fa6c47ebd64e99d166d8a21";
};
checkInputs = [ coverage nose ];
checkInputs = [ coverage pytestCheckHook ];
checkPhase = ''
nosetests
'';
disabledTests = [
# incompatibilities with security fixes: https://github.com/martinblech/xmltodict/issues/289
"test_namespace_collapse"
"test_namespace_support"
];
meta = {
description = "Makes working with XML feel like you are working with JSON";