diff options
author | Chris Jerdonek <chris.jerdonek@gmail.com> | 2021-06-02 03:53:09 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-02 12:53:09 +0200 |
commit | 1b4d1675b230cd6d47c2ffce41893d1881bf447b (patch) | |
tree | 47d90458a56a426e7adf89e55932f8da6d8f1c54 /django/test/runner.py | |
parent | ec2727efef605437eb572d51ca9afbb3a60eda40 (diff) | |
download | django-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.py | 2 |
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: |