diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2025-03-30 17:54:15 +0200 |
|---|---|---|
| committer | Natalia <124304+nessita@users.noreply.github.com> | 2025-04-23 09:37:33 -0300 |
| commit | 0aa0224107f09c02fbb30bdf6bbc4be49df8c0bf (patch) | |
| tree | 4f476e3cbddb03ac324a222e2984d584364e352b /tests | |
| parent | 3215e2a232c7afebd09c7adfc5d972e71512c4d2 (diff) | |
[5.1.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 658e9d853e..c54e721fc4 100644 --- a/tests/asgi/tests.py +++ b/tests/asgi/tests.py @@ -485,7 +485,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) |
