diff --git a/pkgs/development/python-modules/markdown2/default.nix b/pkgs/development/python-modules/markdown2/default.nix index 832a20c670fd..01fa47856207 100644 --- a/pkgs/development/python-modules/markdown2/default.nix +++ b/pkgs/development/python-modules/markdown2/default.nix @@ -4,7 +4,7 @@ fetchFromGitHub, latex2mathml, pygments, - pytestCheckHook, + pytest7CheckHook, pythonOlder, setuptools, wavedrom, @@ -28,7 +28,7 @@ buildPythonPackage rec { pythonImportsCheck = [ "markdown2" ]; - nativeCheckInputs = [ pytestCheckHook ]; + nativeCheckInputs = [ pytest7CheckHook ]; optional-dependencies = { code_syntax_highlighting = [ pygments ];