Skip to content

Commit 4ae8516

Browse files
authored
Merge pull request #299 from binance/v3.6.0-update
Update
2 parents c094234 + 9bfdc14 commit 4ae8516

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

.github/workflows/pythonpackage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
flake8 . --statistics
4444
- name: Test with pytest
4545
run: |
46-
pytest tests/
46+
python -m pytest tests/
4747
- name: Test document build
4848
run: |
4949
python -m pip install sphinx sphinx-rtd-theme

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ ws_client = WebsocketClient(stream_url='wss://testnet.binance.vision')
396396
# In case packages are not installed yet
397397
pip install -r requirements/requirements-test.txt
398398

399-
pytest
399+
python -m pytest tests/
400400
```
401401

402402
## Limitation

binance/lib/utils.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,9 @@ def parse_proxies(proxies: dict):
126126
return {
127127
"http_proxy_host": parsed.hostname,
128128
"http_proxy_port": parsed.port,
129-
"http_proxy_auth": (parsed.username, parsed.password)
130-
if parsed.username and parsed.password
131-
else None,
129+
"http_proxy_auth": (
130+
(parsed.username, parsed.password)
131+
if parsed.username and parsed.password
132+
else None
133+
),
132134
}

0 commit comments

Comments
 (0)