From 8b4983cfd429e17c8092f4ff775915327effa6fa Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Thu, 10 Jun 2021 13:25:05 +0200 Subject: [PATCH] Fixed typo in tests/test_runner/test_discover_runner.py. --- tests/test_runner/test_discover_runner.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_runner/test_discover_runner.py b/tests/test_runner/test_discover_runner.py index 3f840ee049..82c0ac3947 100644 --- a/tests/test_runner/test_discover_runner.py +++ b/tests/test_runner/test_discover_runner.py @@ -355,7 +355,7 @@ class DiscoverRunnerTests(SimpleTestCase): self.assertEqual(suite.processes, len(suite.subsuites)) def test_buffer_mode_test_pass(self): - runner = DiscoverRunner(buffer=True, verbose=0) + runner = DiscoverRunner(buffer=True, verbosity=0) with captured_stdout() as stdout, captured_stderr() as stderr: suite = runner.build_suite([ 'test_runner_apps.buffer.tests_buffer.WriteToStdoutStderrTestCase.test_pass', @@ -365,7 +365,7 @@ class DiscoverRunnerTests(SimpleTestCase): self.assertNotIn('Write to stdout.', stdout.getvalue()) def test_buffer_mode_test_fail(self): - runner = DiscoverRunner(buffer=True, verbose=0) + runner = DiscoverRunner(buffer=True, verbosity=0) with captured_stdout() as stdout, captured_stderr() as stderr: suite = runner.build_suite([ 'test_runner_apps.buffer.tests_buffer.WriteToStdoutStderrTestCase.test_fail',