python3Packages.datadiff: enable tests

This commit is contained in:
Sigmanificient
2026-07-20 01:32:40 +02:00
parent 88e634779e
commit 2e3b53b3a8

View File

@@ -3,6 +3,8 @@
buildPythonPackage,
fetchPypi,
setuptools,
pytestCheckHook,
six,
}:
buildPythonPackage (finalAttrs: {
@@ -17,11 +19,18 @@ buildPythonPackage (finalAttrs: {
build-system = [ setuptools ];
# Tests are not part of the PyPI releases
doCheck = false;
nativeCheckInputs = [
pytestCheckHook
six
];
pythonImportsCheck = [ "datadiff" ];
disabledTests = [
# slice is an hashable type in recent python versions
"test_unhashable_type"
];
meta = {
description = "Library to provide human-readable diffs of Python data structures";
homepage = "https://sourceforge.net/projects/datadiff/";