From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Thu, 7 Sep 2023 14:13:42 +0000 (-0700) Subject: [3.11] gh-103186: Remove debug print in test_sys_settrace (GH-109077) (GH-109085) X-Git-Tag: v3.11.6~123 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=12f40a43408ddd58f8f6c81d68a17461ea7b0c84;p=thirdparty%2FPython%2Fcpython.git [3.11] gh-103186: Remove debug print in test_sys_settrace (GH-109077) (GH-109085) (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 14781bbb8622..2f9e7b8bc43f 100644 --- a/Lib/test/test_sys_settrace.py +++ b/Lib/test/test_sys_settrace.py @@ -1588,7 +1588,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