From: Irit Katriel Date: Sun, 4 Apr 2021 15:04:53 +0000 (+0100) Subject: bpo-24160: Fix test_pdb refleaks failure (GH-25182) X-Git-Tag: v3.10.0a7~7 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=aadd4e10fda87b64ea527667238503da326a06e7;p=thirdparty%2FPython%2Fcpython.git bpo-24160: Fix test_pdb refleaks failure (GH-25182) --- diff --git a/Lib/test/test_pdb.py b/Lib/test/test_pdb.py index 98e2b937d133..fb3941780b72 100644 --- a/Lib/test/test_pdb.py +++ b/Lib/test/test_pdb.py @@ -335,7 +335,7 @@ def test_pdb_breakpoints_preserved_across_interactive_sessions(): ... 'continue', ... ]): ... pdb.run('print()') - > (1)() + > (1)()... (Pdb) import test.test_pdb (Pdb) break test.test_pdb.do_something Breakpoint 1 at ...test_pdb.py:... @@ -355,7 +355,7 @@ def test_pdb_breakpoints_preserved_across_interactive_sessions(): ... 'continue', ... ]): ... pdb.run('print()') - > (1)() + > (1)()... (Pdb) break Num Type Disp Enb Where 1 breakpoint keep yes at ...test_pdb.py:... @@ -378,7 +378,7 @@ def test_pdb_breakpoints_preserved_across_interactive_sessions(): ... 'continue', ... ]): ... pdb.run('print()') - > (1)() + > (1)()... (Pdb) break Num Type Disp Enb Where 2 breakpoint keep yes at ...test_pdb.py:...