summaryrefslogtreecommitdiff
path: root/django/test/runner.py
diff options
context:
space:
mode:
authorChris Jerdonek <chris.jerdonek@gmail.com>2021-06-02 03:53:09 -0700
committerGitHub <noreply@github.com>2021-06-02 12:53:09 +0200
commit1b4d1675b230cd6d47c2ffce41893d1881bf447b (patch)
tree47d90458a56a426e7adf89e55932f8da6d8f1c54 /django/test/runner.py
parentec2727efef605437eb572d51ca9afbb3a60eda40 (diff)
downloaddjango-1b4d1675b230cd6d47c2ffce41893d1881bf447b.tar.gz
Refs #32641 -- Made DiscoverRunner's "Found X tests" message work for finding one test.
This also removes passing level to log() as logging.INFO is the default.
Diffstat (limited to 'django/test/runner.py')
-rw-r--r--django/test/runner.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/test/runner.py b/django/test/runner.py
index dea3703d89..39900435e7 100644
--- a/django/test/runner.py
+++ b/django/test/runner.py
@@ -669,7 +669,7 @@ class DiscoverRunner:
# found or that couldn't be loaded due to syntax errors.
test_types = (unittest.loader._FailedTest, *self.reorder_by)
all_tests = list(reorder_tests(all_tests, test_types, self.reverse))
- self.log('Found %d tests.' % len(all_tests), level=logging.INFO)
+ self.log('Found %d test(s).' % len(all_tests))
suite = self.test_suite(all_tests)
if self.parallel > 1: