diff options
author | Pablo Galindo <Pablogsal@gmail.com> | 2021-01-19 23:59:33 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-19 23:59:33 (GMT) |
commit | d6d6371447357c9c69b093657bbbb3977a3e60f2 (patch) | |
tree | a7676cfcf08746f0ca890f3b7d820a379e58f310 /Lib/test/test_pdb.py | |
parent | 66f77caca39ba39ebe1e4a95dba6d19b20d51951 (diff) | |
download | cpython-d6d6371447357c9c69b093657bbbb3977a3e60f2.zip cpython-d6d6371447357c9c69b093657bbbb3977a3e60f2.tar.gz cpython-d6d6371447357c9c69b093657bbbb3977a3e60f2.tar.bz2 |
bpo-42864: Improve error messages regarding unclosed parentheses (GH-24161)
Diffstat (limited to 'Lib/test/test_pdb.py')
-rw-r--r-- | Lib/test/test_pdb.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_pdb.py b/Lib/test/test_pdb.py index 4bb574f..93b61dc 100644 --- a/Lib/test/test_pdb.py +++ b/Lib/test/test_pdb.py @@ -1649,10 +1649,10 @@ def bœr(): self.assertEqual(stdout.splitlines()[1:], [ '-> pass', - '(Pdb) *** SyntaxError: unexpected EOF while parsing', + '(Pdb) *** SyntaxError: \'(\' was never closed', '(Pdb) ENTERING RECURSIVE DEBUGGER', - '*** SyntaxError: unexpected EOF while parsing', + '*** SyntaxError: \'(\' was never closed', 'LEAVING RECURSIVE DEBUGGER', '(Pdb) ENTERING RECURSIVE DEBUGGER', |