]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.11] gh-103186: Remove debug print in test_sys_settrace (GH-109077) (GH-109085)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 7 Sep 2023 14:13:42 +0000 (07:13 -0700)
committerGitHub <noreply@github.com>
Thu, 7 Sep 2023 14:13:42 +0000 (14:13 +0000)
(cherry picked from commit e4bb0026b9a21d066e7a5c4716ea4d755b95d2d5)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Lib/test/test_sys_settrace.py

index 14781bbb8622fa85d466f7f3a98ac9c9dfc91275..2f9e7b8bc43f18458b9e68ea0e02025ee7ac9b78 100644 (file)
@@ -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