Repository: scikit-hep/pyhf

Issue:
Remove dependency on HEPData from docstring tests
### Summary

With PRs #1697, #1704, and #1711 there have been attempts to remove any dependency on HEPData infrastructure for testing. There is still a dependency in the [`pyhf.contrib.utils.download` docs](https://pyhf.readthedocs.io/en/v0.6.3/_generated/pyhf.contrib.utils.download.html) as it demos downloading from HEPData in the docstring example. This can fail with 

```pytb
____________________ [doctest] pyhf.contrib.utils.download _____________________
028         directory at the path given.
029 
030         Example:
031 
032             >>> from pyhf.contrib.utils import download
033             >>> download("https://doi.org/10.17182/hepdata.90607.v3/r3", "1Lbb-likelihoods")
034             >>> import os
035             >>> sorted(os.listdir("1Lbb-likelihoods"))
036             ['BkgOnly.json', 'README.md', 'patchset.json']
037             >>> download("https://doi.org/10.17182/hepdata.90607.v3/r3", "1Lbb-likelihoods.tar.gz", compress=True)
UNEXPECTED EXCEPTION: InvalidArchive('https://doi.org/10.17182/hepdata.90607.v3/r3 gives a response code of 500.\nThere is either something temporarily wrong with the archive host or https://doi.org/10.17182/hepdata.90607.v3/r3 is an invalid URL.')
Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.9.9/x64/lib/python3.9/doctest.py", line 1334, in __run
    exec(compile(example.source, filename, "single",
  File "<doctest pyhf.contrib.utils.download[4]>", line 1, in <module>
  File "/home/runner/work/pyhf/pyhf/src/pyhf/contrib/utils.py", line 73, in download
    raise exceptions.InvalidArchive(
pyhf.exceptions.InvalidArchive: https://doi.org/10.17182/hepdata.90607.v3/r3 gives a response code of 500.
There is either something temporarily wrong with the archive host or https://doi.org/10.17182/hepdata.90607.v3/r3 is an invalid URL.
/home/runner/work/pyhf/pyhf/src/pyhf/contrib/utils.py:37: UnexpectedException
```

### OS / Environment

```console
All platforms
```


### Steps to Reproduce

Run the CI and get unlucky

### File Upload (optional)

_No response_

### Expected Results

The CI to run the doctests without error and to be able to not have dependencies on HEPData uptime.

### Actual Results

```pytb
____________________ [doctest] pyhf.contrib.utils.download _____________________
028         directory at the path given.
029 
030         Example:
031 
032             >>> from pyhf.contrib.utils import download
033             >>> download("https://doi.org/10.17182/hepdata.90607.v3/r3", "1Lbb-likelihoods")
034             >>> import os
035             >>> sorted(os.listdir("1Lbb-likelihoods"))
036             ['BkgOnly.json', 'README.md', 'patchset.json']
037             >>> download("https://doi.org/10.17182/hepdata.90607.v3/r3", "1Lbb-likelihoods.tar.gz", compress=True)
UNEXPECTED EXCEPTION: InvalidArchive('https://doi.org/10.17182/hepdata.90607.v3/r3 gives a response code of 500.\nThere is either something temporarily wrong with the archive host or https://doi.org/10.17182/hepdata.90607.v3/r3 is an invalid URL.')
Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.9.9/x64/lib/python3.9/doctest.py", line 1334, in __run
    exec(compile(example.source, filename, "single",
  File "<doctest pyhf.contrib.utils.download[4]>", line 1, in <module>
  File "/home/runner/work/pyhf/pyhf/src/pyhf/contrib/utils.py", line 73, in download
    raise exceptions.InvalidArchive(
pyhf.exceptions.InvalidArchive: https://doi.org/10.17182/hepdata.90607.v3/r3 gives a response code of 500.
There is either something temporarily wrong with the archive host or https://doi.org/10.17182/hepdata.90607.v3/r3 is an invalid URL.
/home/runner/work/pyhf/pyhf/src/pyhf/contrib/utils.py:37: UnexpectedException
```


### pyhf Version

```console
pyhf, version 0.6.3
```


### Code of Conduct

- [X] I agree to follow the Code of Conduct


Discussion:

Resolving patch:
diff --git a/src/pyhf/contrib/utils.py b/src/pyhf/contrib/utils.py
--- 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:


Test patch: