1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00
django/tests/test_runner
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
models.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
runner.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
test_debug_sql.py Fixed #34111 -- Made test runner with --debug-sql format SQL queries. 2022-10-24 08:11:30 +02:00
test_discover_runner.py Fixed #31169 -- Adapted the parallel test runner to use spawn. 2022-03-15 16:23:55 +01:00
test_parallel.py Refs #33173 -- Fixed test_runner/test_utils tests on Python 3.11+. 2022-04-07 07:02:21 +02:00
test_shuffler.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