From 8b9883ab520a1b242d67d561eceb7b33d089a76e Mon Sep 17 00:00:00 2001 From: Robert Scott Date: Mon, 6 May 2019 23:10:26 +0100 Subject: [PATCH] pythonPackages.lark-parser: enable majority of tests --- pkgs/development/python-modules/lark-parser/default.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/lark-parser/default.nix b/pkgs/development/python-modules/lark-parser/default.nix index 5d114fcab9c..33965221cec 100644 --- a/pkgs/development/python-modules/lark-parser/default.nix +++ b/pkgs/development/python-modules/lark-parser/default.nix @@ -15,12 +15,11 @@ buildPythonPackage rec { sha256 = "1zynj09w361yvbxr4hir681dfnlq1hzniws9dzgmlkvd6jnhjgx3"; }; - checkPhase = '' - ${python.interpreter} -m unittest + # tests of Nearley support require js2py + preCheck = '' + rm -r tests/test_nearley ''; - doCheck = false; # Requires js2py - meta = { description = "A modern parsing library for Python, implementing Earley & LALR(1) and an easy interface"; homepage = https://github.com/lark-parser/lark;