diff --git a/CHANGES.rst b/CHANGES.rst index 82e545b9ed5..d1640a92bb3 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -18,7 +18,8 @@ Changes - Use CIMultiDict for ClientRequest.skip_auto_headers #1970 -- +- Fix wrong startup sequence: test server doesn't raise + `DeprecationWarning` now #1947 - diff --git a/aiohttp/test_utils.py b/aiohttp/test_utils.py index 4791cde88a3..21f89362d03 100644 --- a/aiohttp/test_utils.py +++ b/aiohttp/test_utils.py @@ -148,8 +148,8 @@ def __init__(self, app, *, @asyncio.coroutine def _make_factory(self, **kwargs): - self.handler = self.app.make_handler(loop=self._loop, **kwargs) yield from self.app.startup() + self.handler = self.app.make_handler(loop=self._loop, **kwargs) return self.handler @asyncio.coroutine