diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2025-03-30 17:54:15 +0200 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2025-03-30 17:56:41 +0200 |
| commit | 9bf66655106bb8970a4db743d9f7a550270b855e (patch) | |
| tree | db4a3175d1fc013f64ff3c57d0a7a47345153118 /tests | |
| parent | da8fed601625466889849bd6383a2a78d1c17809 (diff) | |
[5.2.x] Fixed warnings per flake8 7.2.0.
https://github.com/PyCQA/flake8/releases/tag/7.2.0
Backport of 281910ff8e9ae98fa78ee5d26ae3f0b713ccf418 from main
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/asgi/tests.py | 2 |
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) |
