Skip to content

Commit 10cb05f

Browse files
committed
Revert changes
1 parent 784b3ec commit 10cb05f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/integrations/asgi/test_asgi.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,8 @@ async def app(scope, receive, send):
4848

4949
@pytest.fixture
5050
def asgi3_app_with_error():
51-
async def error_send(msg):
52-
1 / 0
53-
5451
async def app(scope, receive, send):
55-
await error_send(
52+
await send(
5653
{
5754
"type": "http.response.start",
5855
"status": 200,
@@ -61,7 +58,10 @@ async def app(scope, receive, send):
6158
],
6259
}
6360
)
64-
await error_send(
61+
62+
1 / 0
63+
64+
await send(
6565
{
6666
"type": "http.response.body",
6767
"body": b"Hello, world!",

0 commit comments

Comments
 (0)