From f9e9e8955256a004c44f43e2c3ccc7375012ef4c Mon Sep 17 00:00:00 2001 From: Sigmanificient Date: Sun, 19 Jul 2026 23:57:31 +0200 Subject: [PATCH] python3Packages.css-parser: enable tests --- pkgs/development/python-modules/css-parser/default.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/css-parser/default.nix b/pkgs/development/python-modules/css-parser/default.nix index e06881f1a144..98e111a9a59a 100644 --- a/pkgs/development/python-modules/css-parser/default.nix +++ b/pkgs/development/python-modules/css-parser/default.nix @@ -2,6 +2,7 @@ lib, buildPythonPackage, fetchPypi, + pytestCheckHook, }: buildPythonPackage rec { @@ -14,9 +15,7 @@ buildPythonPackage rec { hash = "sha256-vx6XKtMzROkyBpZPtM2QjZ3e+fzQwB+pPg1zRnU5Q2M="; }; - # Test suite not included in tarball yet - # See https://github.com/ebook-utils/css-parser/pull/2 - doCheck = false; + nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "css_parser" ];