python3Packages.pytest-icudiff: init at 0.5-unstable-2024-09-04
This commit is contained in:
@@ -0,0 +1,52 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
icdiff,
|
||||
pprintpp,
|
||||
pytest,
|
||||
pytestCheckHook,
|
||||
writableTmpDirAsHomeHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pytest-icdiff";
|
||||
version = "0.5-unstable-2024-09-04";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hjwp";
|
||||
repo = "pytest-icdiff";
|
||||
rev = "6e2fb8de35e37428a9f7a268c8abb57e9ee285e5";
|
||||
hash = "sha256-kSeGz5IExldgi955XOEkQnc8uqxkbyvuDOdz9y3AFIY=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
pytest
|
||||
icdiff
|
||||
pprintpp
|
||||
];
|
||||
|
||||
# These are failing on the main branch; disable for now
|
||||
disabledTests = [
|
||||
"test_long_dict"
|
||||
"test_mutliline_strings_have_no_escaped_newlines"
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
writableTmpDirAsHomeHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "pytest_icdiff" ];
|
||||
|
||||
meta = {
|
||||
description = "Better error messages in pytest assertions using icdiff";
|
||||
homepage = "https://github.com/hjwp/pytest-icdiff";
|
||||
license = lib.licenses.unlicense;
|
||||
maintainers = with lib.maintainers; [ philiptaron ];
|
||||
};
|
||||
}
|
||||
@@ -13865,6 +13865,8 @@ self: super: with self; {
|
||||
|
||||
pytest-httpx = callPackage ../development/python-modules/pytest-httpx { };
|
||||
|
||||
pytest-icdiff = callPackage ../development/python-modules/pytest-icdiff { };
|
||||
|
||||
pytest-image-diff = callPackage ../development/python-modules/pytest-image-diff { };
|
||||
|
||||
pytest-instafail = callPackage ../development/python-modules/pytest-instafail { };
|
||||
|
||||
Reference in New Issue
Block a user