From e7325a34bdbc2d2beb520401878410a340e77d65 Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Thu, 23 Jun 2022 22:08:14 -0400 Subject: [PATCH] python3-hypothesis: use python3-pytest-xdist for fast checks --- srcpkgs/python3-hypothesis/template | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/srcpkgs/python3-hypothesis/template b/srcpkgs/python3-hypothesis/template index 5125d71a8f2..002e920d9b6 100644 --- a/srcpkgs/python3-hypothesis/template +++ b/srcpkgs/python3-hypothesis/template @@ -7,8 +7,8 @@ build_wrksrc=hypothesis-python build_style=python3-module hostmakedepends="python3-setuptools" depends="python3-attrs python3-sortedcontainers" -checkdepends="python3-pytest black python3-typing_extensions python3-pytz - python3-numpy python3-pexpect python3-dateutil $depends" +checkdepends="python3-pytest-xdist black python3-typing_extensions + python3-pytz python3-numpy python3-pexpect python3-dateutil $depends" short_desc="Python3 library for property based testing" maintainer="Andrew J. Hesford " license="MPL-2.0" @@ -26,7 +26,7 @@ do_check() { # # The test_subTest_no_self function tries to run a separate # interpreter, which will not see the local PYTHONPATH here. - PYTHONPATH=src python3 -m pytest \ + PYTHONPATH=src python3 -m pytest -n $XBPS_MAKEJOBS \ -k 'not test_settings_alone and not test_subTest_no_self' \ --ignore=tests/ghostwriter/test_ghostwriter_cli.py \ tests/{cover,datetime,typing_extensions,ghostwriter}