From ae5dc5f0706ac47c486075faf46a606ca1a1f916 Mon Sep 17 00:00:00 2001 From: Bruno Alla Date: Tue, 14 Oct 2025 08:24:41 +0200 Subject: [PATCH] Supress new flake8 error --- tests/test_lazy_hyperlinks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_lazy_hyperlinks.py b/tests/test_lazy_hyperlinks.py index 716d02d2a..db1de3567 100644 --- a/tests/test_lazy_hyperlinks.py +++ b/tests/test_lazy_hyperlinks.py @@ -39,7 +39,7 @@ class TestLazyHyperlinkNames(TestCase): self.example = Example.objects.create(text='foo') def test_lazy_hyperlink_names(self): - global str_called + global str_called # noqa: F824 context = {'request': None} serializer = ExampleSerializer(self.example, context=context) JSONRenderer().render(serializer.data)