From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Fri, 8 Sep 2023 13:22:19 +0000 (-0700) Subject: [3.12] gh-103186: Remove debug print in test_sys_settrace (GH-109077) (#109084) X-Git-Tag: v3.12.0rc3~59 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=02e51f86d8fcb283e47f67cfd613cc923571c2db;p=thirdparty%2FPython%2Fcpython.git [3.12] gh-103186: Remove debug print in test_sys_settrace (GH-109077) (#109084) gh-103186: Remove debug print in test_sys_settrace (GH-109077) (cherry picked from commit e4bb0026b9a21d066e7a5c4716ea4d755b95d2d5) Co-authored-by: Serhiy Storchaka --- diff --git a/Lib/test/test_sys_settrace.py b/Lib/test/test_sys_settrace.py index 568c16044afe..6fb9099bd36f 100644 --- a/Lib/test/test_sys_settrace.py +++ b/Lib/test/test_sys_settrace.py @@ -1632,7 +1632,6 @@ class TraceTestCase(unittest.TestCase): except Exception as ex: count = 0 tb = ex.__traceback__ - print(tb) while tb: if tb.tb_frame.f_code.co_name == "test_settrace_error": count += 1