mirror of
https://github.com/certbot/certbot.git
synced 2026-05-28 04:34:11 -04:00
Work around bug for Python 3.3
This commit is contained in:
parent
467d474957
commit
d5fab935bd
1 changed files with 4 additions and 0 deletions
|
|
@ -16,6 +16,10 @@ for requirement in "$@" ; do
|
|||
pkg=$(echo $requirement | cut -f1 -d\[) # remove any extras such as [dev]
|
||||
if [ $pkg = "." ]; then
|
||||
pkg="certbot"
|
||||
else
|
||||
# Work around a bug in pytest/importlib for the deprecated Python 3.3.
|
||||
# See https://travis-ci.org/certbot/certbot/jobs/308774157#L1333.
|
||||
pkg=$(echo "$pkg" | tr - _)
|
||||
fi
|
||||
pytest --numprocesses auto --quiet --pyargs $pkg
|
||||
done
|
||||
|
|
|
|||
Loading…
Reference in a new issue