diff options
-rwxr-xr-x | test/functional/interface_usdt_net.py | 1 | ||||
-rwxr-xr-x | test/functional/interface_usdt_validation.py | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/test/functional/interface_usdt_net.py b/test/functional/interface_usdt_net.py index 921af71aa9..e15ac3c1f2 100755 --- a/test/functional/interface_usdt_net.py +++ b/test/functional/interface_usdt_net.py @@ -139,7 +139,6 @@ class NetTracepointTest(BitcoinTestFramework): checked_outbound_version_msg += 1 def handle_inbound(_, data, __): - nonlocal events event = ctypes.cast(data, ctypes.POINTER(P2PMessage)).contents events.append((event, True)) diff --git a/test/functional/interface_usdt_validation.py b/test/functional/interface_usdt_validation.py index f32d83a50c..e29b2c46eb 100755 --- a/test/functional/interface_usdt_validation.py +++ b/test/functional/interface_usdt_validation.py @@ -97,7 +97,6 @@ class ValidationTracepointTest(BitcoinTestFramework): usdt_contexts=[ctx], debug=0) def handle_blockconnected(_, data, __): - nonlocal events event = ctypes.cast(data, ctypes.POINTER(Block)).contents self.log.info(f"handle_blockconnected(): {event}") events.append(event) |