mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-21 16:11:22 +00:00
python3Packages.datadiff: enable tests
This commit is contained in:
@@ -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/";
|
||||
|
||||
Reference in New Issue
Block a user