diff --git a/pkgs/development/python-modules/pybtex/default.nix b/pkgs/development/python-modules/pybtex/default.nix index 68c98f91a0b5..f2eb9539e1d9 100644 --- a/pkgs/development/python-modules/pybtex/default.nix +++ b/pkgs/development/python-modules/pybtex/default.nix @@ -9,6 +9,9 @@ # dependencies latexcodec, pyyaml, + + # tests + pytestCheckHook, }: buildPythonPackage rec { @@ -32,7 +35,9 @@ buildPythonPackage rec { pythonImportsCheck = [ "pybtex" ]; - doCheck = false; + nativeCheckInputs = [ + pytestCheckHook + ]; meta = { homepage = "https://pybtex.org/";