diff --git a/Lib/test/test_cmd_line.py b/Lib/test/test_cmd_line.py index 2724360d37363f..5988e4d055e290 100644 --- a/Lib/test/test_cmd_line.py +++ b/Lib/test/test_cmd_line.py @@ -347,10 +347,10 @@ def test_non_interactive_output_buffering(self): """) args = [sys.executable, '-c', code] proc = subprocess.run(args, stdout=subprocess.PIPE, - stderr=subprocess.PIPE, text=True, check=True) + stderr=subprocess.PIPE, text=True, check=True) self.assertEqual(proc.stdout, - 'False False False\n' - 'False False True\n') + 'False False False\n' + 'False False True\n') def test_unbuffered_output(self): # Test expected operation of the '-u' switch