We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent baeeaf6 commit 1f60bccCopy full SHA for 1f60bcc
tests/test_quart.py
@@ -2,8 +2,8 @@
2
3
import pytest
4
5
-# Quart only supports Python 3.6 or later
6
-if sys.version_info < (3, 6):
+# Quart only supports Python 3.7 or later
+if sys.version_info < (3, 7):
7
raise pytest.skip(allow_module_level=True)
8
9
import json
@@ -181,7 +181,7 @@ async def _websocket_request(ws, req: dict) -> dict:
181
182
async def _test_websocket(app):
183
test_client = app.test_client()
184
- with test_client.websocket('/ws') as ws:
+ async with test_client.websocket('/ws') as ws:
185
for method in '01234':
186
response = await _websocket_request(
187
ws, {'action': 'get', 'id': 1, 'method': method})
0 commit comments