Merge pull request #211184 from ivan/no-parsimonious-benchmarks
python3Packages.parsimonious: disable benchmark tests that may fail
This commit is contained in:
commit
03d53acaf3
1 changed files with 8 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue