From d5fab935bdc62fcdf479416a2b271f22b24f67b9 Mon Sep 17 00:00:00 2001 From: Brad Warren Date: Wed, 29 Nov 2017 09:02:49 -0800 Subject: [PATCH] Work around bug for Python 3.3 --- tools/install_and_test.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/install_and_test.sh b/tools/install_and_test.sh index badc46c50..0edb41c53 100755 --- a/tools/install_and_test.sh +++ b/tools/install_and_test.sh @@ -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