Potential fix for pull request finding 'Empty except'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
This commit is contained in:
Tynwink
2026-09-09 14:39:49 +08:00
committed by GitHub
parent d90253cc77
commit 3a82aa5fcc
+1
View File
@@ -375,6 +375,7 @@ class TestTaskWrapper:
try:
await wrapper.task
except ValueError:
# Expected failure: task must complete in failed state for public serialization checks.
pass
result = wrapper.to_public_dict()