From 30d60379c154831e796d80aa81e3f083c482bb9b Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Fri, 7 Jun 2024 22:35:59 -0400 Subject: [PATCH] Drop thread logging to make `log.pdb()` patts match in test --- examples/debugging/sync_bp.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/examples/debugging/sync_bp.py b/examples/debugging/sync_bp.py index e265df4..137710f 100644 --- a/examples/debugging/sync_bp.py +++ b/examples/debugging/sync_bp.py @@ -1,6 +1,5 @@ from functools import partial import time -from threading import current_thread import trio import tractor @@ -16,17 +15,9 @@ def sync_pause( time.sleep(pre_sleep) if use_builtin: - print( - f'Entering `breakpoint()` from\n' - f'{current_thread()}\n' - ) breakpoint(hide_tb=hide_tb) else: - print( - f'Entering `tractor.pause_from_sync()` from\n' - f'{current_thread()}@{tractor.current_actor().uid}\n' - ) tractor.pause_from_sync() if error: