mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Skip test if WSGIServerHttpProtocol isn't available
This commit is contained in:
parent
68260c6883
commit
70947bb96a
@ -5,10 +5,9 @@
|
||||
|
||||
import unittest
|
||||
import pytest
|
||||
|
||||
aiohttp = pytest.importorskip("aiohttp")
|
||||
|
||||
|
||||
from aiohttp.wsgi import WSGIServerHttpProtocol
|
||||
WSGIServerHttpProtocol = pytest.importorskip("aiohttp.wsgi.WSGIServerHttpProtocol")
|
||||
|
||||
import asyncio
|
||||
from gunicorn.workers import gaiohttp
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user