We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 39b3891 commit 799b6eaCopy full SHA for 799b6ea
README.md
@@ -41,7 +41,7 @@ $ git clone https://github.com/HEPData/hepdata-cli.git
41
$ cd hepdata-cli
42
$ python3 -m venv ~/venv/hepdata-cli
43
$ source ~/venv/hepdata-cli/bin/activate
44
-(hepdata-cli) $ pip install -e .[tests]
+(hepdata-cli) $ pip install -e '.[tests]'
45
(hepdata-cli) $ hepdata-cli --help
46
(hepdata-cli) $ pytest --cov=hepdata_cli
47
```
tests/test_resilient_requests.py
@@ -12,5 +12,5 @@ def test_timeout():
12
adapter = TimeoutHTTPAdapter(max_retries=retry_strategy, timeout=0.0001)
13
with requests.Session() as session:
14
session.mount("https://", adapter)
15
- with pytest.raises(requests.exceptions.ConnectTimeout):
+ with pytest.raises(requests.exceptions.ConnectionError):
16
session.get(SITE_URL + '/ping')
0 commit comments