summaryrefslogtreecommitdiffhomepage
path: root/test/python/threading
diff options
context:
space:
mode:
Diffstat (limited to 'test/python/threading')
-rw-r--r--test/python/threading/asgi.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/python/threading/asgi.py b/test/python/threading/asgi.py
index 3c978e50..c4169a24 100644
--- a/test/python/threading/asgi.py
+++ b/test/python/threading/asgi.py
@@ -33,10 +33,10 @@ async def application(scope, receive, send):
Foo(Foo.num).start()
Foo.num += 10
- await send({
- 'type': 'http.response.start',
- 'status': 200,
- 'headers': [
- (b'content-length', b'0'),
- ]
- })
+ await send(
+ {
+ 'type': 'http.response.start',
+ 'status': 200,
+ 'headers': [(b'content-length', b'0')],
+ }
+ )