Skip to content

Commit 77eb190

Browse files
committed
Format
1 parent 60bd077 commit 77eb190

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

tests/worker/test_workflow.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8849,9 +8849,9 @@ async def test_workflow_uncancel_shield_activity(client: Client):
88498849

88508850
# Verify no spurious "exception in shielded future" error logs
88518851
shielded_err = log_capturer.find_log("exception in shielded future")
8852-
assert (
8853-
shielded_err is None
8854-
), f"Unexpected 'exception in shielded future' log: {shielded_err}"
8852+
assert shielded_err is None, (
8853+
f"Unexpected 'exception in shielded future' log: {shielded_err}"
8854+
)
88558855

88568856

88578857
@workflow.defn
@@ -8935,9 +8935,9 @@ async def test_workflow_uncancel_shield_child_workflow(client: Client):
89358935

89368936
# Verify no spurious "exception in shielded future" error logs
89378937
shielded_err = log_capturer.find_log("exception in shielded future")
8938-
assert (
8939-
shielded_err is None
8940-
), f"Unexpected 'exception in shielded future' log: {shielded_err}"
8938+
assert shielded_err is None, (
8939+
f"Unexpected 'exception in shielded future' log: {shielded_err}"
8940+
)
89418941

89428942

89438943
@workflow.defn
@@ -9003,6 +9003,6 @@ async def test_workflow_uncancel_shield_signal_external(client: Client):
90039003

90049004
# Verify no spurious error logs
90059005
shielded_err = log_capturer.find_log("exception in shielded future")
9006-
assert (
9007-
shielded_err is None
9008-
), f"Unexpected 'exception in shielded future' log: {shielded_err}"
9006+
assert shielded_err is None, (
9007+
f"Unexpected 'exception in shielded future' log: {shielded_err}"
9008+
)

0 commit comments

Comments
 (0)