python311Packages.asn1tools: add pytest-xdist

This speeds up the tests from 33.5 sec to 8.5 sec.
This commit is contained in:
Sandro Jäckel 2024-01-16 11:58:08 +01:00 committed by Fabian Affolter
parent 92bb0e55e7
commit ed829b9ed8

View File

@ -5,6 +5,7 @@
, fetchFromGitHub , fetchFromGitHub
, prompt-toolkit , prompt-toolkit
, pyparsing , pyparsing
, pytest-xdist
, pytestCheckHook , pytestCheckHook
, pythonOlder , pythonOlder
, setuptools , setuptools
@ -43,6 +44,7 @@ buildPythonPackage rec {
}; };
nativeCheckInputs = [ nativeCheckInputs = [
pytest-xdist
pytestCheckHook pytestCheckHook
] ++ lib.flatten (builtins.attrValues passthru.optional-depdendencies); ] ++ lib.flatten (builtins.attrValues passthru.optional-depdendencies);