diff --git a/src/pyhf/contrib/utils.py b/src/pyhf/contrib/utils.py index b8d3d11023..3f369ac678 100644 --- a/src/pyhf/contrib/utils.py +++ b/src/pyhf/contrib/utils.py @@ -30,13 +30,13 @@ def download(archive_url, output_directory, force=False, compress=False): Example: >>> from pyhf.contrib.utils import download - >>> download("https://doi.org/10.17182/hepdata.90607.v3/r3", "1Lbb-likelihoods") + >>> download("https://doi.org/10.17182/hepdata.90607.v3/r3", "1Lbb-likelihoods") # doctest: +SKIP >>> import os - >>> sorted(os.listdir("1Lbb-likelihoods")) + >>> sorted(os.listdir("1Lbb-likelihoods")) # doctest: +SKIP ['BkgOnly.json', 'README.md', 'patchset.json'] - >>> download("https://doi.org/10.17182/hepdata.90607.v3/r3", "1Lbb-likelihoods.tar.gz", compress=True) + >>> download("https://doi.org/10.17182/hepdata.90607.v3/r3", "1Lbb-likelihoods.tar.gz", compress=True) # doctest: +SKIP >>> import glob - >>> glob.glob("1Lbb-likelihoods.tar.gz") + >>> glob.glob("1Lbb-likelihoods.tar.gz") # doctest: +SKIP ['1Lbb-likelihoods.tar.gz'] Args: