python311Packages.pegen: disable failing test on Python 3.11

This commit is contained in:
Fabian Affolter 2023-05-16 11:40:53 +02:00
parent 9318364586
commit 191f7010aa

View File

@ -2,6 +2,7 @@
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonAtLeast
, pythonOlder
, setuptools
, setuptools-scm
@ -36,6 +37,11 @@ buildPythonPackage rec {
"pegen"
];
disabledTests = lib.optionals (pythonAtLeast "3.11") [
# https://github.com/we-like-parsers/pegen/issues/89
"test_invalid_def_stmt"
];
meta = with lib; {
description = "Library to generate PEG parsers";
homepage = "https://github.com/we-like-parsers/pegen";