python313Packages.holoviews: fix tests (#380961)

This commit is contained in:
Robert Schütz
2025-02-10 15:43:15 -08:00
committed by GitHub
@@ -18,7 +18,7 @@
# tests
pytestCheckHook,
pytest-cov,
pytest-asyncio,
flaky,
}:
@@ -34,6 +34,11 @@ buildPythonPackage rec {
hash = "sha256-KdGDBF+vo9hG3tqZnZaHuZuKvcGowGcS5Ur6V2uwKz4=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace '"ignore:No data was collected:coverage.exceptions.CoverageWarning",' ""
'';
build-system = [
hatch-vcs
hatchling
@@ -50,7 +55,7 @@ buildPythonPackage rec {
nativeCheckInputs = [
pytestCheckHook
pytest-cov
pytest-asyncio
flaky
];