Skip to content
Myr

Tidy up import (#3020)

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

authored by Tom Christie · committed by GitHub · parent 1a66014 · Browse files · 1 file+1 added−2 removed
This commit

State

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

Trailers

  • Co-authored-by: Kar Petrosyan <92274156+karpetrosyan@users.noreply.github.com>

Diff stats

1 file+1 added−2 removed

  • tests:+1 added−2 removed

1 file+1 added−2 removed

modified:tests/test_asgi.py+1 added-2 removed
1 unmodified line
23import pytest45import httpx6from httpx import ASGITransport678async def hello_world(scope, receive, send):9 status = 200
197 unmodified lines
207208209@pytest.mark.anyio210async def test_asgi_exc_no_raise():212 transport = ASGITransport(app=raise_exc, raise_app_exceptions=False)211 transport = httpx.ASGITransport(app=raise_exc, raise_app_exceptions=False)212 async with httpx.AsyncClient(transport=transport) as client:213 response = await client.get("http://www.example.org/")214215 assert response.status_code == 500