Skip to content

Commit 3c003fc

Browse files
authored
python313Packages.holoviews: fix tests (#380961)
2 parents ba4ca7f + e963732 commit 3c003fc

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

pkgs/development/python-modules/holoviews/default.nix

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
# tests
2020
pytestCheckHook,
21-
pytest-cov,
21+
pytest-asyncio,
2222
flaky,
2323
}:
2424

@@ -34,6 +34,11 @@ buildPythonPackage rec {
3434
hash = "sha256-KdGDBF+vo9hG3tqZnZaHuZuKvcGowGcS5Ur6V2uwKz4=";
3535
};
3636

37+
postPatch = ''
38+
substituteInPlace pyproject.toml \
39+
--replace '"ignore:No data was collected:coverage.exceptions.CoverageWarning",' ""
40+
'';
41+
3742
build-system = [
3843
hatch-vcs
3944
hatchling
@@ -50,7 +55,7 @@ buildPythonPackage rec {
5055

5156
nativeCheckInputs = [
5257
pytestCheckHook
53-
pytest-cov
58+
pytest-asyncio
5459
flaky
5560
];
5661

0 commit comments

Comments
 (0)