Skip to content

Commit

Permalink
fixup! Bugfix: QA: test_node: Ensure debug.log exists at start of ass…
Browse files Browse the repository at this point in the history
…ert_debug_log
  • Loading branch information
luke-jr committed Feb 24, 2025
1 parent b75fd04 commit 5c3c387
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/functional/test_framework/test_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ def assert_debug_log(self, expected_msgs, unexpected_msgs=None, timeout=2):
if not self.debug_log_path.exists():
# File must exist for this to work
os.makedirs(self.debug_log_path.parent, exist_ok=True)
with open(self.debug_log_path, mode='a') as f:
with open(self.debug_log_path, mode='a', encoding='utf-8'):
pass

time_end = time.time() + timeout * self.timeout_factor
Expand Down

0 comments on commit 5c3c387

Please sign in to comment.