summaryrefslogtreecommitdiffhomepage
path: root/test/python/threads
diff options
context:
space:
mode:
authorAndrei Zeliankou <zelenkov@nginx.com>2021-10-18 01:10:11 +0100
committerAndrei Zeliankou <zelenkov@nginx.com>2021-10-18 01:10:11 +0100
commit39adb292d54403d17f86f6852e87b0bda1d49946 (patch)
tree7fa2af8711216ed81bbf60531d990acd3a6f1013 /test/python/threads
parent78a4063063b8f810a616d74a358ef150faff96db (diff)
downloadunit-39adb292d54403d17f86f6852e87b0bda1d49946.tar.gz
unit-39adb292d54403d17f86f6852e87b0bda1d49946.tar.bz2
Tests: style.
Diffstat (limited to 'test/python/threads')
-rw-r--r--test/python/threads/asgi.py3
-rw-r--r--test/python/threads/wsgi.py2
2 files changed, 2 insertions, 3 deletions
diff --git a/test/python/threads/asgi.py b/test/python/threads/asgi.py
index ff4e52ad..0537f59b 100644
--- a/test/python/threads/asgi.py
+++ b/test/python/threads/asgi.py
@@ -1,6 +1,5 @@
-import asyncio
-import time
import threading
+import time
async def application(scope, receive, send):
diff --git a/test/python/threads/wsgi.py b/test/python/threads/wsgi.py
index cc283cfe..35db2d07 100644
--- a/test/python/threads/wsgi.py
+++ b/test/python/threads/wsgi.py
@@ -1,5 +1,5 @@
-import time
import threading
+import time
def application(environ, start_response):