diff --git a/tests/test_gaiohttp.py b/tests/test_gaiohttp.py index 54405561..6a08c413 100644 --- a/tests/test_gaiohttp.py +++ b/tests/test_gaiohttp.py @@ -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