mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-09-09 19:47:15 +00:00
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:
@@ -375,6 +375,7 @@ class TestTaskWrapper:
|
|||||||
try:
|
try:
|
||||||
await wrapper.task
|
await wrapper.task
|
||||||
except ValueError:
|
except ValueError:
|
||||||
|
# Expected failure: task must complete in failed state for public serialization checks.
|
||||||
pass
|
pass
|
||||||
|
|
||||||
result = wrapper.to_public_dict()
|
result = wrapper.to_public_dict()
|
||||||
|
|||||||
Reference in New Issue
Block a user