From 406eb43112055b16a1ec5018fc454969dc192773 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Mon, 7 Dec 2020 01:08:27 -0500 Subject: [PATCH] Removed unused variable in runtests.py. Unused since 1e72b1c5c11d1d2dc3ce3660a1eb6b775dcca5a5. --- tests/runtests.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/tests/runtests.py b/tests/runtests.py index db1fd65dd2..fa933306cd 100755 --- a/tests/runtests.py +++ b/tests/runtests.py @@ -293,13 +293,10 @@ def django_tests(verbosity, interactive, failfast, keepdb, reverse, test_name_patterns, start_at, start_after, pdb, buffer, timing): state = setup(verbosity, test_labels, parallel, start_at, start_after) - extra_tests = [] - # Run the test suite, including the extra validation tests. if not hasattr(settings, 'TEST_RUNNER'): settings.TEST_RUNNER = 'django.test.runner.DiscoverRunner' TestRunner = get_runner(settings) - test_runner = TestRunner( verbosity=verbosity, interactive=interactive, @@ -315,10 +312,7 @@ def django_tests(verbosity, interactive, failfast, keepdb, reverse, buffer=buffer, timing=timing, ) - failures = test_runner.run_tests( - test_labels or get_installed(), - extra_tests=extra_tests, - ) + failures = test_runner.run_tests(test_labels or get_installed()) teardown(state) return failures