<commit_before>import aiohttp
import aiohttp_jinja2
import jinja2
from aiohttp import web
from aiohttp_debugtoolbar import middleware, setup as tbsetup


def test_handler_is_native_coroutine(loop, create_server):
    async def handler(request):
        resp = web.Response(body=b'native coroutine', status=200,
                            content_type='text/plain')
        return resp

    async def go():
        app, url = await create_server()
        app.router.add_route('GET', '/', handler)
        resp = await aiohttp.request('GET', url+'/', loop=loop)
        assert 200 == resp.status

        body = await resp.read()
        assert b'native coroutine' == body<commit_msg>fix await tests after rebase<commit_after>import aiohttp
from aiohttp import web


def test_handler_is_native_coroutine(loop, create_server):
    async def handler(request):
        resp = web.Response(body=b'native coroutine', status=200,
                            content_type='text/plain')
        return resp

    async def go():
        app, url = await create_server()
        app.router.add_route('GET', '/', handler)
        resp = await aiohttp.request('GET', url+'/', loop=loop)
        assert 200 == resp.status

        body = await resp.read()
        assert b'native coroutine' == body

    loop.run_until_complete(go())
{'fraction_non_alphanumeric': 0.10454545454545454, 'fraction_numerical': 0.010606060606060607, 'mean_word_length': 2.8069164265129682, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7558928', 'n_tokens_mistral': 395, 'n_tokens_neox': 381, 'n_words': 101}