summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2025-03-30 17:54:15 +0200
committerGitHub <noreply@github.com>2025-03-30 17:54:15 +0200
commit281910ff8e9ae98fa78ee5d26ae3f0b713ccf418 (patch)
tree04f9a772a206aa4f3a2071a52489956277142d23 /tests
parentc1a4fccf53437e480c42648f67277fb7e63ed4ab (diff)
Fixed warnings per flake8 7.2.0.
https://github.com/PyCQA/flake8/releases/tag/7.2.0
Diffstat (limited to 'tests')
-rw-r--r--tests/asgi/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/asgi/tests.py b/tests/asgi/tests.py
index 66ec4369d9..0b1d3cd608 100644
--- a/tests/asgi/tests.py
+++ b/tests/asgi/tests.py
@@ -487,7 +487,7 @@ class ASGITest(SimpleTestCase):
# A view that will listen for the cancelled error.
async def view(request):
- nonlocal view_started, view_did_cancel
+ nonlocal view_did_cancel
view_started.set()
try:
await asyncio.sleep(0.1)