Merge pull request #61062 from risicle/ris-lark-parser-enable-tests

pythonPackages.lark-parser: enable majority of tests
This commit is contained in:
Renaud 2019-05-11 23:02:32 +02:00 committed by GitHub
commit 1a262d01ba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;