Skip to content

Commit 1628fbe

Browse files
committed
Update the REPL test :-)))
1 parent aba5c1a commit 1628fbe

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎Lib/test/test_repl.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -440,8 +440,8 @@ def f():
440440
traceback_lines = output.splitlines()[-4:-1]
441441
expected_lines = [
442442
' return yield 42',
443-
' ^^^^^',
444-
'SyntaxError: invalid syntax'
443+
' ^^^^^^^^',
444+
'SyntaxError: yield expression must be parenthesized'
445445
]
446446
self.assertEqual(traceback_lines, expected_lines)
447447

0 commit comments

Comments
 (0)