From efa2eef77100b8a8d0207c79cd10b15d0ed231b7 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 7 Aug 2025 15:58:58 +0200 Subject: [PATCH] python3Packages.markdown: downgrade pytest test/test_markdown2.py - Failed: 'yield' keyword is allowed in fixtures, but not in tests (test_cases) --- pkgs/development/python-modules/markdown2/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ];