mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-08-27 04:51:33 +02:00
test: Remove incorrect and unused try-block in assert_debug_log
This commit is contained in:
@@ -313,9 +313,9 @@ class TestNode():
|
|||||||
with open(debug_log, encoding='utf-8') as dl:
|
with open(debug_log, encoding='utf-8') as dl:
|
||||||
dl.seek(0, 2)
|
dl.seek(0, 2)
|
||||||
prev_size = dl.tell()
|
prev_size = dl.tell()
|
||||||
try:
|
|
||||||
yield
|
yield
|
||||||
finally:
|
|
||||||
while True:
|
while True:
|
||||||
found = True
|
found = True
|
||||||
with open(debug_log, encoding='utf-8') as dl:
|
with open(debug_log, encoding='utf-8') as dl:
|
||||||
|
Reference in New Issue
Block a user