Unverified Commit 03d53aca authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #211184 from ivan/no-parsimonious-benchmarks

python3Packages.parsimonious: disable benchmark tests that may fail
parents 4635079f e31dea3d
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -26,6 +26,14 @@ buildPythonPackage rec {
    pytestCheckHook
  ];

  disabledTests = [
    # test_benchmarks.py tests are actually benchmarks and may fail due to
    # something being unexpectedly slow on a heavily loaded build machine
    "test_lists_vs_dicts"
    "test_call_vs_inline"
    "test_startswith_vs_regex"
  ];

  postPatch = ''
    substituteInPlace setup.py \
      --replace "regex>=2022.3.15" "regex"