Install hypothesis in selftests on Python 3.12+
This commit is contained in:
parent
e959438be8
commit
d3681dff6f
1 changed files with 4 additions and 0 deletions
|
|
@ -29,5 +29,9 @@ export OPENSSL_CONF=/non-existing-file
|
|||
# We only do this if stdlib distutils actually exists
|
||||
$PYTHON -c 'import distutils' 2>/dev/null && export SETUPTOOLS_USE_DISTUTILS=stdlib || true
|
||||
|
||||
# Python 3.12+ uses hypotheis in zoneinfo tests when available
|
||||
$PYTHON -m ensurepip --user
|
||||
$PYTHON -m pip install --user "hypothesis;python_version>='3.12'"
|
||||
|
||||
$PYTHON -m test.pythoninfo
|
||||
$PYTHON -m test -wW -j$JOBS $X
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue