Skip to content

Commit b004839

Browse files
committed
More meaningful line breaks
1 parent df6dfd8 commit b004839

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Lib/test/test_repl.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -392,9 +392,12 @@ def test_pythonstartup_success(self):
392392
kill_python(p)
393393
output_lines = p.stderr.read().splitlines()
394394
p.stderr.close()
395+
395396
self.assertEqual(output_lines[3], 'notice from pythonstartup in asyncio repl')
397+
396398
tb_start_lines = output_lines[4:6]
397399
tb_final_lines = output_lines[13:]
400+
398401
expected_lines = [
399402
'>>> import asyncio',
400403
'Traceback (most recent call last):',
@@ -405,6 +408,7 @@ def test_pythonstartup_success(self):
405408
'',
406409
'exiting asyncio REPL...',
407410
]
411+
408412
self.assertEqual(tb_start_lines + tb_final_lines, expected_lines)
409413

410414
def test_pythonstartup_failure(self):
@@ -415,6 +419,7 @@ def test_pythonstartup_failure(self):
415419
kill_python(p)
416420
output = p.stderr.read()
417421
p.stderr.close()
422+
418423
tb_start_lines = output.splitlines()[3:5]
419424
tb_final_lines = output.splitlines()[12:]
420425

@@ -431,6 +436,7 @@ def test_pythonstartup_failure(self):
431436
'',
432437
'exiting asyncio REPL...',
433438
]
439+
434440
self.assertEqual(tb_start_lines + tb_final_lines, expected_lines)
435441

436442

0 commit comments

Comments
 (0)