Skip to content
Myr

skip async tests if asgiref isn't installed

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Lord · committed by David Lord · parent 00f5a3e · Browse files · 1 file+2 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−0 removed

  • tests:+2 added−0 removed

1 file+2 added−0 removed

modified:tests/test_async.py+2 added
6 unmodified lines
7from flask import Flask8from flask import request9from flask.helpers import run_async1011pytest.importorskip("asgiref")121314class AppError(Exception):15 pass1617
122 unmodified lines