Skip to content

Commit 05bd036

Browse files
authored
Merge pull request #411 from fantix/pyup-update-quart-0.6.10-to-0.7.0
Update quart to 0.7.0
2 parents 5dd1084 + 723551a commit 05bd036

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

requirements_dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ sanic==0.8.3 # pyup: update minor
99
aiohttp==3.4.4 # pyup: update minor
1010
tornado==5.1.1 # pyup: update minor
1111
async_generator==1.10 # pyup: update minor
12-
quart==0.6.10;python_version>="3.6" # pyup: update minor
12+
quart==0.7.0;python_version>="3.7" # pyup: update minor
1313

1414
# tests
1515
coverage==4.5.1 # pyup: update minor

tests/test_quart.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
import pytest
44

5-
# Quart only supports Python 3.6 or later
6-
if sys.version_info < (3, 6):
5+
# Quart only supports Python 3.7 or later
6+
if sys.version_info < (3, 7):
77
raise pytest.skip(allow_module_level=True)
88

99
import json
@@ -181,7 +181,7 @@ async def _websocket_request(ws, req: dict) -> dict:
181181

182182
async def _test_websocket(app):
183183
test_client = app.test_client()
184-
with test_client.websocket('/ws') as ws:
184+
async with test_client.websocket('/ws') as ws:
185185
for method in '01234':
186186
response = await _websocket_request(
187187
ws, {'action': 'get', 'id': 1, 'method': method})

0 commit comments

Comments
 (0)