skip async tests if asgiref isn't installed
This commit is contained in:
parent
00f5a3e55c
commit
61fbae8664
1 changed files with 2 additions and 0 deletions
|
|
@ -8,6 +8,8 @@ from flask import Flask
|
|||
from flask import request
|
||||
from flask.helpers import run_async
|
||||
|
||||
pytest.importorskip("asgiref")
|
||||
|
||||
|
||||
class AppError(Exception):
|
||||
pass
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue