From 26501c52687e2a33260bc7b6acf1ef51db76a984 Mon Sep 17 00:00:00 2001 From: Robert Scott Date: Mon, 29 Aug 2022 11:48:55 +0100 Subject: [PATCH] python3Packages.markdown2: fix tests to actually run --- pkgs/development/python-modules/markdown2/default.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/markdown2/default.nix b/pkgs/development/python-modules/markdown2/default.nix index 8b9fa1181452..5793f6336d4f 100644 --- a/pkgs/development/python-modules/markdown2/default.nix +++ b/pkgs/development/python-modules/markdown2/default.nix @@ -15,7 +15,13 @@ buildPythonPackage rec { checkInputs = [ pygments ]; checkPhase = '' - ${python.interpreter} ./test/test.py + runHook preCheck + + pushd test + ${python.interpreter} ./test.py -- -knownfailure + popd # test + + runHook postCheck ''; meta = with lib; {