django/tests/middleware
Nick Pope 2bc47d7fe9 Avoided assignment followed by immediate return.
Identified using the following command:

$ pcre2grep --line-number --multiline --recursive \
    "(?s)(\n +)(\w+) = [^\n]+\1return \2;?$" \
    django docs extras js_tests scripts tests
2022-10-31 12:31:13 +01:00
..
__init__.py Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
cond_get_urls.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
extra_urls.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
test_security.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
tests.py Avoided assignment followed by immediate return. 2022-10-31 12:31:13 +01:00
urls.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
views.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00